
./boost/spirit/home/classic/core/scanner/scanner.hpp:132: warning: dereferencing pointer 'val' does break strict-aliasing rules
Again, this is normally a bug once optimizations are turned on.
It's the first time I'm seeing this problem in Spirit. We need to investigate this more closely as the warning comes from a template function (and 'val' is a template parameter), so I assume the issue is in the code using Spirit. What file produces this diagnostic?
It's from the serialization build:
[snipped warnings] Will investigate.
Note that this warning only shows up in release mode.
Harmut, while I have your attention, maybe the largest slew of warnings (in terms of lines of output) are coming from wave, the first one reads:
gcc.compile.c++
[snipped warnings]
I'm not going to attempt to post the rest as there are 100's of K of them :-(
Hmm, I'm not seeing these warnings (Windows, gcc 4.4.1, MingW) while compiling with -O3. What other command line options do I need to specify? Thanks! Regards Hartmut ------------------- Meet me at BoostCon http://boostcon.com