Quantcast
Channel: Intel® C++ Compiler
Viewing all articles
Browse latest Browse all 1616

try ... catch problem

$
0
0

Dear all,

I have the following C++ code that are called by Fortran program:

            try

            {

                 mycalculation();

           }

           catch(...)

           {

              return -1;

          }

          return 0;

 

However, it seems that the code can't catch the crash at 'mycalculation'. The crash has the following message displayed:

forrtl: severe (157): Program Exception - access violation

 

Could anyone help me to take a look at it?

 

Thanks,

Zhanghong Tang


Viewing all articles
Browse latest Browse all 1616

Trending Articles