IMP logo
IMP Reference Guide  2.17.0
The Integrative Modeling Platform
compiler_macros.h File Reference

Various compiler workarounds. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IMP_C_CLOSE   close
 
#define IMP_C_OPEN   open
 platform independent C open() method More...
 
#define IMP_C_OPEN_BINARY   0
 
#define IMP_C_OPEN_FLAG(x)   x
 platform independent C flag for open() method More...
 
#define IMP_CLANG_PRAGMA(x)
 
#define IMP_COMPILER_DISABLE_WARNINGS
 
#define IMP_COMPILER_ENABLE_WARNINGS
 
#define IMP_CURRENT_FUNCTION   __func__
 
#define IMP_CURRENT_PRETTY_FUNCTION   __PRETTY_FUNCTION__
 
#define IMP_CXX11_DEFAULT_COPY_CONSTRUCTOR(Name)
 
#define IMP_DEPRECATED_ATTRIBUTE
 
#define IMP_FINAL
 
#define IMP_FOREACH(v, r)   for (v : r)
 
#define IMP_GCC_PRAGMA(x)
 
#define IMP_HAS_NOEXCEPT   0
 
#define IMP_HELPER_MACRO_POP_WARNINGS
 
#define IMP_HELPER_MACRO_PUSH_WARNINGS
 
#define IMP_LIKELY(x)   x
 
#define IMP_NO_SIDEEFFECTS
 Use this to label a function with no side effects. More...
 
#define IMP_NOEXCEPT   throw()
 
#define IMP_OVERRIDE
 
#define IMP_PRAGMA(x)
 
#define IMP_RESTRICT
 restrict means that a variable is not aliased with this function More...
 
#define IMP_STRINGIFY(x)   #x
 
#define IMP_SWIG_FINAL
 Have the compiler report an error if anything overrides this method. More...
 
#define IMP_UNLIKELY(x)   x
 
#define IMP_UNUSED_FUNCTION
 Label a function that is never called. More...
 
#define IMP_VC_PRAGMA(x)
 
#define IMP_WARN_UNUSED_RESULT
 Use this to make the compiler (possibly) warn if the result is not used. More...
 

Detailed Description

Various compiler workarounds.

Copyright 2007-2022 IMP Inventors. All rights reserved.

Definition in file compiler_macros.h.

Macro Definition Documentation

#define IMP_C_OPEN   open

platform independent C open() method

Definition at line 246 of file compiler_macros.h.

#define IMP_C_OPEN_FLAG (   x)    x

platform independent C flag for open() method

Definition at line 249 of file compiler_macros.h.

#define IMP_NO_SIDEEFFECTS

Use this to label a function with no side effects.

Note
Familiarity with these methods is not required to use IMP.

Definition at line 45 of file compiler_macros.h.

#define IMP_RESTRICT

restrict means that a variable is not aliased with this function

Definition at line 53 of file compiler_macros.h.

#define IMP_SWIG_FINAL

Have the compiler report an error if anything overrides this method.

Definition at line 67 of file compiler_macros.h.

#define IMP_UNUSED_FUNCTION

Label a function that is never called.

Note
Familiarity with these methods is not required to use IMP.

Definition at line 51 of file compiler_macros.h.

#define IMP_WARN_UNUSED_RESULT

Use this to make the compiler (possibly) warn if the result is not used.

Note
Familiarity with these methods is not required to use IMP.

Definition at line 48 of file compiler_macros.h.