
On Sat, Dec 19, 2009 at 5:11 AM, Patrick Horgan <phorgan1@gmail.com> wrote:
And it's really frustrating too. I use optional from the trunk for simple things in a small test program, and get no warnings at all even in programs where I do stupid programming tricks to get gcc to winge about strict aliasing on other lines so that I know I have the compile options right. I can't get gcc to complain about optional in my program at all, even trying different values of -Wstrict-aliasing, but building boost-trunk I see it.
Are you using GCC 4.4.1? Because I'm pretty sure having -Wall turned on with GCC 4.4 on Boost.Trunk would yield the warning. -- Dean Michael Berris blog.cplusplus-soup.com | twitter.com/mikhailberis linkedin.com/in/mikhailberis | facebook.com/dean.berris | deanberris.com