[Boost-bugs] [Boost C++ Libraries] #10689: static_assert.hpp: unrecognized #pragma GCC system_header

Subject: [Boost-bugs] [Boost C++ Libraries] #10689: static_assert.hpp: unrecognized #pragma GCC system_header
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2014-10-23 14:10:52


#10689: static_assert.hpp: unrecognized #pragma GCC system_header
--------------------------------------------+---------------------------
 Reporter: Wojciech Migda <wojtek.golf@…> | Owner: johnmaddock
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: static_assert
  Version: Boost 1.56.0 | Severity: Problem
 Keywords: |
--------------------------------------------+---------------------------
 I am using boost 1.55.0 within my code. Whenever boost's
 boost/static_assert.hpp is included the compiler complains about
 unrecognized pragma. The compiler in question is TI DSP for TMS3200C67x
 processor, invoked with the --gcc option. This option makes it to
 predefine the __GNUC__ macro, hence, due to conditional preprocessing
 "#pragma GCC system_header" line is being subjected to compilation. This
 pragma is not supported by the TI compiler causing it to emit a warning.

 The issue will be resolved once the same solution as for
 https://svn.boost.org/trac/boost/ticket/7094 is applied in the
 static_asssert.hpp file.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/10689>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC