[Boost-bugs] [Boost C++ Libraries] #2454: Fusion - MSVC level 1 warnings

Subject: [Boost-bugs] [Boost C++ Libraries] #2454: Fusion - MSVC level 1 warnings
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2008-10-31 16:00:26


#2454: Fusion - MSVC level 1 warnings
-----------------------------+----------------------------------------------
 Reporter: pbristow | Owner: djowel
     Type: Patches | Status: new
Milestone: Boost 1.37.0 | Component: fusion
  Version: Boost 1.36.0 | Severity: Cosmetic
 Keywords: fusion warnings |
-----------------------------+----------------------------------------------
 I am seeing a far number of what MS regard as level 1 (most severe)
 warnings from various fusion files, for example:

 i:\trunk\boost/fusion/iterator/next.hpp(60) : warning C4180: qualifier
 applied to function type has no meaning; ignored
 i:\trunk\boost/fusion/sequence/intrinsic/begin.hpp(64) : warning C4180:
 qualifier applied to function type has no meaning; ignored
 i:\trunk\boost/fusion/sequence/intrinsic/begin.hpp(71) : warning C4180:
 qualifier applied to function type has no meaning; ignored
 i:\trunk\boost/fusion/sequence/intrinsic/end.hpp(64) : warning C4180:
 qualifier applied to function type has no meaning; ignored
 i:\trunk\boost/fusion/sequence/intrinsic/end.hpp(71) : warning C4180:
 qualifier applied to function type has no meaning; ignored
 i:\trunk\boost/fusion/iterator/prior.hpp(60) : warning C4180: qualifier
 applied to function type has no meaning; ignored

 I doubt if it is worth changing/correcting the code, but users will be
 justifiably alarmed, especially if, as in my case, I am not explicitly
 using Fusion!

 However I am unclear how best to suppress these warnings, short of a lot
 of push'n'pop pragmas into a lot of files. Is this not a problem on gcc?

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/2454>
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