mirror of
https://github.com/boostorg/config.git
synced 2025-07-30 04:17:16 +02:00
Suppress GCC warnings from this header when compiled with -pedantic and certain GCC-4.x versions (probably 4.5.0 specific).
[SVN r65146]
This commit is contained in:
@ -25,6 +25,14 @@
|
||||
#ifndef BOOST_CONFIG_SUFFIX_HPP
|
||||
#define BOOST_CONFIG_SUFFIX_HPP
|
||||
|
||||
#if defined(__GNUC__) && (__GNUC__ >= 4)
|
||||
//
|
||||
// Some GCC-4.x versions issue warnings even when __extension__ is used,
|
||||
// so use this as a workaround:
|
||||
//
|
||||
#pragma GCC system_header
|
||||
#endif
|
||||
|
||||
//
|
||||
// ensure that visibility macros are always defined, thus symplifying use
|
||||
//
|
||||
|
Reference in New Issue
Block a user