https://breakpad.appspot.com/490002/diff/1/configure.ac File configure.ac (right): https://breakpad.appspot.com/490002/diff/1/configure.ac#newcode152 configure.ac:152: CXXFLAGS="-Werror=overloaded-virtual" Is this test really correct? You're testing that ...
https://breakpad.appspot.com/490002/diff/1/configure.ac
File configure.ac (right):
https://breakpad.appspot.com/490002/diff/1/configure.ac#newcode152
configure.ac:152: CXXFLAGS="-Werror=overloaded-virtual"
Is this test really correct? You're testing that the compiler accepts
-Werror=overloaded-virtual, but not that it accepts any of the other options we
set in Makefile.am. I think I'd prefer if you set an ERROR_CXXFLAGS here, test
that all of those options work, and then subst that and set CXXFLAGS +=
$(ERROR_CXXFLAGS). That way if we add more -Werror switches in the future they
won't cause breakage for compilers that don't support them.
Issue 490002: Building fails with gcc 4.1 due to unsupported -Werror= switch
Created 12 years, 1 month ago by davi.arnaut
Modified 12 years, 1 month ago
Reviewers: Mark Mentovai, Ted Mielczarek
Base URL: http://google-breakpad.googlecode.com/svn/trunk/
Comments: 4