Boost logo

Boost Users :

Subject: [Boost-users] Fwd: [msm] compilation warning with boost-1.55.0
From: samriti katoch (angelic.sam_at_[hidden])
Date: 2014-04-24 21:46:36


Re-posting with more details:
compiler : g++-4.0 with -Wall and -Werror enabled.

I do not have the option to use GCC pragmas to disable specific warning
from these headers.
Also, I do not want to disable all warnings from boost by treating these as
system headers.

Any suggestions on what would be a good way to remove this particular
warning.

Thanks!

---------- Forwarded message ----------
From: samriti katoch <angelic.sam_at_[hidden]>
Date: Tue, Apr 22, 2014 at 4:38 PM
Subject: [msm] compilation warning with boost-1.55.0
To: boost-users_at_[hidden]

Hi,

With boost-1.55.0 I see this warning from msm code:
In file included from /build/boost/fusion/include/make_map.hpp:10,
                 from /build/boost/msm/front/euml/common.hpp:40,
                 from /build/boost/msm/front/euml/operator.hpp:15,
                 from /build/abc.cc:15:
cc1plus: warnings being treated as errors
/build/boost/msm/back/fold_to_list.hpp:35: warning:
'boost::msm::back::states_' defined but not used

What is a good way to remove this warning?

Thanks!
Samriti



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