Boost logo

Boost Users :

Subject: [Boost-users] -Wundef warnings
From: Yang Zhang (yanghatespam_at_[hidden])
Date: 2008-12-01 04:55:42


When using the -Wundef flag with gcc, I get warnings like the following:

   error: "BOOST_MSVC" is not defined

At least once before this was brought up on the lists:

   http://lists.boost.org/boost-users/2006/10/22819.php

The suggested solution is to disable this warning. However, it seems to
make more sense to just fix this in Boost (using #if defined(...) or
#ifdef). Why not make this fix in Boost?

-- 
Yang Zhang
http://www.mit.edu/~y_z/

Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net