compiling fails with gcc-4.1.2 and CODELEVEL>=1 due to -W-no-strict-overflow

Bug #306969 reported by wrtlprnft
2
Affects Status Importance Assigned to Milestone
Armagetron Advanced
Fix Committed
Medium
Manuel Moos

Bug Description

Apparently that option is only supported in newer gcc versions.

Probably needs a check (either comparing gcc versions or a test run with the option to see if it actually compiles stuff). I dug up http://autoconf-archive.cryp.to/ax_cflags_gcc_option.html which seems suited for that purpose but don't know autoconf well enough to mess around with that kind of stuff.

Related branches

Revision history for this message
Manuel Moos (z-man) wrote :

Integrated the linked stuff. (All one needs to to is copy/paste the code into acinclude.m4 and use the macro in configure.ac).

Changed in armagetronad:
importance: Undecided → Medium
milestone: none → 0.2.8.3
status: New → Fix Committed
Revision history for this message
wrtlprnft (wrtlprnft) wrote :

Thanks. Next time I'll do that :-)

Manuel Moos (z-man)
Changed in armagetronad:
assignee: nobody → z-man
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.