28 #ifndef CASA_AIPSDEF_H
29 #define CASA_AIPSDEF_H
31 #include <casacore/casa/aipstype.h>
37 #if defined(__STDC__) || defined(__ANSI_CPP__) || defined(__hpux)
38 #define aips_name2(a,b) a##b
40 #define aips_name2(a,b) ab
56 #if !defined(AIPS_DEBUG)
57 #define aips_debug (0)
62 #define aips_debug aips_debug_on
71 #if !defined(AIPS_KAICC) && !defined(AIPS_INTELCC)
72 #if !defined(restrict)
78 #define CASACORE_STRINGIFY(x) CASACORE_STRINGIFY_HELPER(x)
79 #define CASACORE_STRINGIFY_HELPER(x) #x
83 #if __cplusplus >= 201703L
84 #define CASACORE_FALLTHROUGH [[fallthrough]]
85 #elif defined(__GNUC__) && __GNUC__ >= 7
86 #define CASACORE_FALLTHROUGH [[gnu::fallthrough]]
87 #elif defined(__clang__)
88 #define CASACORE_FALLTHROUGH [[clang::fallthrough]]
90 #define CASACORE_FALLTHROUGH
this file contains all the compiler specific defines
bool Bool
Define the standard types used by Casacore.
Bool aips_debug_on
If AIPS_DEBUG is not defined, then the symbol expands to (0) which in an if should be removed by the ...