This is Unofficial EPICS BASE Doxygen Site
compilerSpecific.h
Go to the documentation of this file.
1 /*************************************************************************\
2 * Copyright (c) 2008 UChicago Argonne LLC, as Operator of Argonne
3 * National Laboratory.
4 * Copyright (c) 2002 The Regents of the University of California, as
5 * Operator of Los Alamos National Laboratory.
6 * EPICS BASE is distributed subject to a Software License Agreement found
7 * in file LICENSE that is included with this distribution.
8 \*************************************************************************/
9 
10 /*
11  * Author:
12  * Jeffrey O. Hill
13  * johill@lanl.gov
14  */
15 
16 #ifndef compilerSpecific_h
17 #define compilerSpecific_h
18 
19 #if !defined(__SUNPRO_C) && !defined (__SUNPRO_CC)
20 # error Not Solaris Studio
21 #endif
22 
23 #if (defined(__SUNPRO_C) && __SUNPRO_C < 0x590) || \
24  (defined(__SUNPRO_CC) && __SUNPRO_CC < 0x590)
25 # define EPICS_ALWAYS_INLINE inline
26 #else
27 # define EPICS_ALWAYS_INLINE inline __attribute__((always_inline))
28 #endif
29 
30 #ifdef __cplusplus
31 
32 /*
33  * CXX_PLACEMENT_DELETE - defined if compiler supports placement delete
34  * CXX_THROW_SPECIFICATION - defined if compiler supports throw specification
35  *
36  * (our default guess is that the compiler implements the C++ 97 standard)
37  */
38 #define CXX_THROW_SPECIFICATION
39 #define CXX_PLACEMENT_DELETE
40 
41 #endif /* __cplusplus */
42 
43 
44 #endif /* ifndef compilerSpecific_h */