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 #ifndef _MSC_VER
20 # error compiler/msvc/compilerSpecific.h is only for use with the Microsoft compiler
21 #endif
22 
23 #define EPICS_ALWAYS_INLINE __forceinline
24 
25 /* Expands to a 'const char*' which describes the name of the current function scope */
26 #define EPICS_FUNCTION __FUNCTION__
27 
28 #ifdef __cplusplus
29 
30 /*
31  * in general we dont like ifdefs but they do allow us to check the
32  * compiler version and make the optimistic assumption that
33  * standards incompliance issues will be fixed by future compiler
34  * releases
35  */
36 
37 /*
38  * CXX_PLACEMENT_DELETE - defined if compiler supports placement delete
39  * CXX_THROW_SPECIFICATION - defined if compiler supports throw specification
40  */
41 #define CXX_PLACEMENT_DELETE
42 #define CXX_THROW_SPECIFICATION
43 
44 #endif /* __cplusplus */
45 
46 
47 #endif /* ifndef compilerSpecific_h */