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 /* The 'inline' key work, possibily with compiler
20  * dependent flags to force inlineing where it would
21  * otherwise not be done.
22  *
23  * Warning: Second guessing the compiler may result in larger code size
24  */
25 #define EPICS_ALWAYS_INLINE inline
26 
27 #ifdef __cplusplus
28 
29 /*
30  * CXX_PLACEMENT_DELETE - defined if compiler supports placement delete
31  * CXX_THROW_SPECIFICATION - defined if compiler supports throw specification
32  *
33  * (our default guess is that the compiler implements the C++ 97 standard)
34  */
35 #define CXX_THROW_SPECIFICATION
36 #define CXX_PLACEMENT_DELETE
37 
38 #endif /* __cplusplus */
39 
40 
41 #endif /* ifndef compilerSpecific_h */