[Spirit] Failures on cw-9_3-darwin

It looks like CodeWarrior 9.3 on the Mac could use some extra type-casts to quiet it down, e.g., Warning : implicit arithmetic conversion from 'int' to 'bool' (included from: /Users/stephencarson/Development/boost/boost/boost/spirit/core/scanner/ skipper.hpp:16 /Users/stephencarson/Development/boost/boost/boost/spirit/core/ composite/impl/directives.ipp:16 /Users/stephencarson/Development/boost/boost/boost/spirit/core/ primitives/primitives.hpp:16 /Users/stephencarson/Development/boost/boost/boost/spirit/core.hpp:33 /Users/stephencarson/Development/boost/boost/boost/graph/detail/ read_graphviz_spirit.hpp:32 /Users/stephencarson/Development/boost/boost/boost/graph/graphviz.hpp: 754 /Users/stephencarson/Development/boost/boost/libs/graph/src/ read_graphviz_spirit.cpp:26) ../boost/spirit/core/primitives/impl/primitives.ipp line 181? return isalnum(to_int_type(c)); Here is one example failure: http://tinyurl.com/3t2er Anyone willing to tackle this? Doug

Its worse. various spirit tests fail. One of these tests (test_chset) pinpoints a failure that inhibits the serialization library for this compiler. This in turn results in all serialiization tests being marked fail for this platform. I believe that this is a new problem as 1.32 didn't manifest this behavior. I could be wrong though as I've simplified the spirit grammar to sneak it pass gcc/darwin. This has been this way for months. Robert Ramey Douglas Gregor wrote:
It looks like CodeWarrior 9.3 on the Mac could use some extra type-casts to quiet it down, e.g.,

Robert Ramey wrote:
Its worse.
various spirit tests fail. One of these tests (test_chset) pinpoints a failure that inhibits the serialization library for this compiler. This in turn results in all serialiization tests being marked fail for this platform. I believe that this is a new problem as 1.32 didn't manifest this behavior. I could be wrong though as I've simplified the spirit grammar to sneak it pass gcc/darwin.
This has been this way for months.
As soon as the fixes to remove the warnings will be propagated to the test sites I'll try to fix these. Currently the error messages aren't very descriptive, so I don't know what to do about them. Regards Hartmut

Douglas Gregor wrote:
It looks like CodeWarrior 9.3 on the Mac could use some extra type-casts to quiet it down, e.g.,
Warning : implicit arithmetic conversion from 'int' to 'bool' (included from:
[snip]
Here is one example failure:
Anyone willing to tackle this?
Should be fixed now (I have no way to test it on CW locally, so I'm crossing my fingers ;-) Regards Hartmut
participants (3)
-
Douglas Gregor
-
Hartmut Kaiser
-
Robert Ramey