JeVois  1.20
JeVois Smart Embedded Machine Vision Toolkit
Share this page:
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

◆ JEVOIS_BEGIN_UNCHECKED_INCLUDES

#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")

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.

◆ JEVOIS_END_UNCHECKED_INCLUDES

#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.

JEVOIS_PRAGMA
#define JEVOIS_PRAGMA(x)
Definition: CompilerUtil.H:75