[asterisk-bugs] [Asterisk 0012179]: ' -fno-strict-overflow' unknown by gcc
noreply at bugs.digium.com
noreply at bugs.digium.com
Tue Mar 11 07:51:01 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=12179
======================================================================
Reported By: Netview
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 12179
Category: Core-General
Reproducibility: always
Severity: minor
Priority: normal
Status: new
Asterisk Version: 1.4.18
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 107352
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 03-11-2008 07:26 CDT
Last Modified: 03-11-2008 07:51 CDT
======================================================================
Summary: ' -fno-strict-overflow' unknown by gcc
Description:
Rev. 107352 patch to /main/Makefile
stdtime/localtime.o: ASTCFLAGS+=-fno-strict-overflow
This option is not supported with gcc < 4.2
My gcc-Version: 20061115 (prerelease) (Debian 4.1.1-21)
======================================================================
----------------------------------------------------------------------
Netview - 03-11-08 07:51
----------------------------------------------------------------------
I don't see -fno-strict-overflow listed at all in the manual for gcc 4.1.
So maybe it is better to use -fwrapv, which is defined thus:
`-fwrapv'
This option instructs the compiler to assume that signed arithmetic
overflow of addition, subtraction and multiplication wraps around
using twos-complement representation. This flag enables some
optimizations and disables others. This option is enabled by
default for the Java front-end, as required by the Java language
specification.
Issue History
Date Modified Username Field Change
======================================================================
03-11-08 07:51 Netview Note Added: 0083710
======================================================================
More information about the asterisk-bugs
mailing list