Re: [Boost-bugs] [Boost C++ Libraries] #2760: A problem with serialization libraries when compilin on vc9 with /Za

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2760: A problem with serialization libraries when compilin on vc9 with /Za
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-19 20:27:34


#2760: A problem with serialization libraries when compilin on vc9 with /Za
----------------------------------------------------+-----------------------
  Reporter: Greg Ravikovich <grisharav_at_[hidden]> | Owner: ramey
      Type: Bugs | Status: new
 Milestone: Boost 1.39.0 | Component: serialization
   Version: Boost 1.38.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------------------------+-----------------------

Comment(by Greg Ravikovich <grisharav_at_[hidden]>):

 I have played around with this and found out the following:
 The code:
 #include <boost/static_warning.hpp>

 void ShouldCompile()
 {
         BOOST_STATIC_WARNING(true);
 }
 Doesn't compile with /Za

 If I change the line # 163 from just a bracket to "} a" The code compiles
 fine.
 This is not a solution since there are lots of different implementations
 depending on the compiler, the writer of BOOST_STATIC_WARNING should check
 this.

 Greg

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2760#comment:2>
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:49:59 UTC