JeVois  1.0
JeVois Smart Embedded Machine Vision Toolkit
Miscellaneous preprocessor utilities related to controlling compilation

Collaboration diagram for Miscellaneous preprocessor utilities related to controlling compilation:

Macros

#define JEVOIS_BEGIN_UNCHECKED_INCLUDES
 
#define JEVOIS_END_UNCHECKED_INCLUDES   JEVOIS_PRAGMA(diagnostic pop)
 

Macro Definition Documentation

#define JEVOIS_BEGIN_UNCHECKED_INCLUDES
Value:
JEVOIS_PRAGMA(diagnostic push) \
JEVOIS_PRAGMA(diagnostic ignored "-Wpragmas") \
JEVOIS_PRAGMA(diagnostic ignored "-Wunknown-pragmas") \
JEVOIS_PRAGMA(diagnostic ignored "-Wunused-local-typedefs") \
JEVOIS_PRAGMA(diagnostic ignored "-Wattributes") \
JEVOIS_PRAGMA(diagnostic ignored "-Wconstant-conversion") \
JEVOIS_PRAGMA(diagnostic ignored "-Wenum-compare") \
JEVOIS_PRAGMA(diagnostic ignored "-Wunknown-attributes") \
JEVOIS_PRAGMA(diagnostic ignored "-Wunused-but-set-variable") \
JEVOIS_PRAGMA(diagnostic ignored "-Wreorder") \
JEVOIS_PRAGMA(diagnostic ignored "-Wall")
#define JEVOIS_PRAGMA(x)
Definition: CompilerUtil.H:75

A series of preprocessor directives that turns off specific warnings as errors until the matching JEVOIS_END_UNCHECKED_INCLUDES. This is useful for libraries that are written with code that won't compile under -Wall.

Must be followed by a matching JEVOIS_END_UNCHECKED_INCLUDES

Definition at line 84 of file CompilerUtil.H.

#define JEVOIS_END_UNCHECKED_INCLUDES   JEVOIS_PRAGMA(diagnostic pop)

Turns back on all warnings that were in effect prior to an JEVOIS_BEGIN_UNCHECKED_INCLUDES.

Definition at line 99 of file CompilerUtil.H.