Subject: [Boost-bugs] [Boost C++ Libraries] #3568: integer.hpp fails to compile with /Za switch
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-10-27 13:26:48
#3568: integer.hpp fails to compile with /Za switch
--------------------------------+-------------------------------------------
Reporter: muckjail@⦠| Owner: dlwalker
Type: Bugs | Status: new
Milestone: Boost 1.41.0 | Component: integer
Version: Boost 1.40.0 | Severity: Problem
Keywords: |
--------------------------------+-------------------------------------------
This little snippet complies fine with the /Ze switch which enables
Microsoft extensions
#include <boost/integer.hpp>
int main(){
return 0;
}
But if you disable microsoft extensions with the /Za switch then you get
the following errors mess of errors.
1>c:\boost\include\boost-1_40\boost\integer_fwd.hpp(70) : error C2039:
'long_long_type' : is not a member of 'boost'
1>c:\boost\include\boost-1_40\boost\integer_fwd.hpp(70) : error C2065:
'long_long_type' : undeclared identifier
1>c:\boost\include\boost-1_40\boost\integer_fwd.hpp(70) : error C2913:
explicit specialization; 'boost::integer_traits' is not a specialization
of a class template
1>c:\boost\include\boost-1_40\boost\integer_fwd.hpp(73) : error C2913:
explicit specialization; 'boost::integer_traits' is not a specialization
of a class template
1>c:\boost\include\boost-1_40\boost\integer_traits.hpp(67) : error C2913:
explicit specialization; 'boost::integer_traits' is not a specialization
of a class template
1>c:\boost\include\boost-1_40\boost\integer_traits.hpp(73) : error C2913:
explicit specialization; 'boost::integer_traits' is not a specialization
of a class template
1>c:\boost\include\boost-1_40\boost\integer_traits.hpp(79) : error C2913:
explicit specialization; 'boost::integer_traits' is not a specialization
of a class template
more...
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/3568> 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:01 UTC