My Project
Unused.hpp File Reference

Provides the OPM_UNUSED macro. More...

Go to the source code of this file.

Macros

#define OPM_UNUSED
 
#define OPM_DEBUG_UNUSED   OPM_UNUSED
 
#define OPM_OPTIM_UNUSED
 
#define OPM_UNUSED_NOMPI   OPM_UNUSED
 

Detailed Description

Provides the OPM_UNUSED macro.

This macro can be used to mark variables as "potentially unused" which suppresses some bogus compiler warnings. If the compiler does not support this, the macro is a no-op.