Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
MATH_EXCEPTION.cpp
Go to the documentation of this file.
1// checking for struct exception in <math.h>
2
3
25#ifdef __osf__
26 // preemptive strike in case _OSF_SOURCE is #defined
27# define _OSF_SOURCE
28#endif // __osf__
29
30
31#include <math.h>
32
33#undef exception
34
35void foo ()
36{
37 // some systems (e.g., AIX) define struct exception in <math.h>
38 // without guarding it for C++ to prevent potential collisions
40 (void)&e;
41}
#define e
Definition 17.names.cpp:118
void foo()