CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: amcelroy

Search: Search took 0.03 seconds.

  1. Replies
    30
    Views
    12,865

    Re: try/catch don't work under release version???

    This is all pretty interesting, the finer points of C++ compilers. I'm just trying to be as responsible as possible in catching errors. I've tried to contain the damage the user can do, but there...
  2. Replies
    30
    Views
    12,865

    Re: try/catch don't work under release version???

    Argh!!! :) I'll just turn optimization off, 100% of the heavy lifting through OpenCL and I would rather do the error handling and reporting to shutdown OpenCL gracefully then let the programmer...
  3. Replies
    30
    Views
    12,865

    Re: try/catch don't work under release version???

    Well, in this example I pass a NULL pointer, but the user might pass anything, I've no idea what the user is going to do. I can't check for all possible invalid combinations. If I pass a NULL...
  4. Replies
    30
    Views
    12,865

    Re: try/catch don't work under release version???

    My particular piece of code is to catch an error if the user passes a pointer to a class that isn't valid.
    d is a custom class that is linked to an OpenCL device and has a bunch of stuff in it. ...
  5. Replies
    30
    Views
    12,865

    Re: try/catch don't work under release version???

    Sorry to revive a dead thread, but I had this same problem. Try Catch works under debug but not release for x64 compiler using VS2010. The issues seems to be that Try Catch aren't implemented if...
Results 1 to 5 of 5





Click Here to Expand Forum to Full Width

Featured