This is Unofficial EPICS BASE Doxygen Site
compilerDependencies.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 
17 #ifndef compilerDependencies_h
18 #define compilerDependencies_h
19 
20 #include "compilerSpecific.h"
21 
22 #ifdef __cplusplus
23 
24 /*
25  * usage: epicsPlacementDeleteOperator (( void *, myMemoryManager & ))
26  */
27 #if defined ( CXX_PLACEMENT_DELETE )
28 # define epicsPlacementDeleteOperator(X) void operator delete X;
29 #else
30 # define epicsPlacementDeleteOperator(X)
31 #endif
32 
33 #endif /* __cplusplus */
34 
35 
36 #ifndef EPICS_PRINTF_STYLE
37 /*
38  * No format-string checking
39  */
40 # define EPICS_PRINTF_STYLE(f,a)
41 #endif
42 
43 #ifndef EPICS_DEPRECATED
44 /*
45  * No deprecation markers
46  */
47 #define EPICS_DEPRECATED
48 #endif
49 
50 #ifndef EPICS_UNUSED
51 # define EPICS_UNUSED
52 #endif
53 
54 #ifndef EPICS_FUNCTION
55 #if (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)) || (defined(__cplusplus) && __cplusplus>=201103L)
56 # define EPICS_FUNCTION __func__
57 #else
58 /* Expands to a 'const char*' which describes the name of the current function scope */
59 # define EPICS_FUNCTION ("<unknown function>")
60 #endif
61 #endif
62 
63 #endif /* ifndef compilerDependencies_h */