Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6139: error: "BOOST_CLANG" is not defined
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-19 20:53:26
#6139: error: "BOOST_CLANG" is not defined
------------------------------------------+---------------------------------
Reporter: Ivo Raisr <ivosh@â¦> | Owner: danieljames
Type: Bugs | Status: assigned
Milestone: Boost 1.49.0 | Component: None
Version: Boost 1.47.0 | Severity: Problem
Resolution: | Keywords:
------------------------------------------+---------------------------------
Comment (by jhunold):
clang issues a "-Wmismatched-tags" warning for struct/class mismatches.
This is C4099 in msvc as mentioned before.
To be compatible with the msvc-settings, we have -Werror=mismatched-tags
to reduce the noise in our sources.
The proper way seems to be do "struct complex;" for all and be happy.
If all standard libraries do it that way, of course.
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6139#comment:5> 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:07 UTC