Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(55)

Issue 490002: Building fails with gcc 4.1 due to unsupported -Werror= switch

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by davi.arnaut
Modified:
12 years, 1 month ago
CC:
Lei Zhang (chromium), google-breakpad-dev_googlegroups.com
Base URL:
http://google-breakpad.googlecode.com/svn/trunk/
Visibility:
Public.

Description

GCC 4.2 and below do not support the -Werror switch that takes a value. Also,
ensure that compilation tests use a C++ compiler.

Patch Set 1 #

Total comments: 4
Unified diffs Side-by-side diffs Delta from patch set Stats Patch
Makefile.am View 1 chunk +1 line, -1 line 0 comments Download
Makefile.in View 3 chunks +8 lines, -7 lines 2 comments Download
configure View 27 chunks +269 lines, -46 lines 0 comments Download
configure.ac View 2 chunks +10 lines, -0 lines 2 comments Download

Messages

Total messages: 5
davi.arnaut
12 years, 1 month ago #1
Lei Zhang (chromium)
My autoconf-fu is pretty weak. http://breakpad.appspot.com/490002/diff/1/Makefile.in File Makefile.in (right): http://breakpad.appspot.com/490002/diff/1/Makefile.in#newcode151 Makefile.in:151: @ANDROID_HOST_TRUE@@LINUX_HOST_TRUE@ -llog -lm Is ...
12 years, 1 month ago #2
Ted Mielczarek
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 ...
12 years, 1 month ago #3
Ted Mielczarek
12 years, 1 month ago #4
davi.arnaut
12 years, 1 month ago #5
https://breakpad.appspot.com/490002/diff/1/Makefile.in
File Makefile.in (right):

https://breakpad.appspot.com/490002/diff/1/Makefile.in#newcode151
Makefile.in:151: @ANDROID_HOST_TRUE@@LINUX_HOST_TRUE@	-llog -lm
On 2012/10/26 18:57:06, thestig wrote:
> Is this needed?
No idea, that's generated. It is unrelated, but looks right.

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"
It should be fine if the flag being tested was the most recently supported.
Anyway, we can also check the flags one by one.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld 1004:630ec63f810e-tainted