/[escript]/trunk/esysUtils/src/system_dep.h
ViewVC logotype

Diff of /trunk/esysUtils/src/system_dep.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2019 by phornby, Mon Nov 10 13:19:38 2008 UTC revision 2020 by phornby, Mon Nov 10 14:02:17 2008 UTC
# Line 45  Line 45 
45  //#      endif  //#      endif
46  //#   endif  //#   endif
47  #   define ESYSUTILS_DLL_API  #   define ESYSUTILS_DLL_API
48    
49    // This is because of the different declarations of std::exception mentods
50    // on windows.
51    // Also, putting a "throw" in any declaration on windows causes a warning!!!!!!
52    // If you wish to generate a throw() on other systems, please use
53    // THROW(NO_ARG). This is because windows generates warnings if you say
54    // THROW(), so the NO_ARG trick must be used to avoid the mass of warnings.
55    
56  #   define THROW(ARG)  #   define THROW(ARG)
 #   define THROW_ANY // Stupid windows compilers complain about THROW()  
57  #else  #else
58  #   define ESYSUTILS_DLL_API  #   define ESYSUTILS_DLL_API
59  #   define THROW(ARG) throw(ARG)  #   define THROW(ARG) throw(ARG)
 #   define THROW_ANY throw()  
60  #endif  #endif
61    
62  #define NO_ARG  #define NO_ARG

Legend:
Removed from v.2019  
changed lines
  Added in v.2020

  ViewVC Help
Powered by ViewVC 1.1.26