[Home]

Summary:ASTERISK-04697: Multiple compile warnings under GCC 4
Reporter:Paul Belanger (pabelanger)Labels:
Date Opened:2005-07-26 20:50:44Date Closed:2011-06-07 14:10:07
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) warnings.txt
Description:Decided to try asterisk on Fedora Core 4 tonight, ran into a ton of compile warnings.  See attached.

****** ADDITIONAL INFORMATION ******

# gcc --version
gcc (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Comments:By: Michael Jerris (mikej) 2005-07-26 21:00:48

we are happy to entertain patches.  Is gcc 4 even release code yet?

By: Paul Belanger (pabelanger) 2005-08-04 21:00:35

We could always pass CFLAGS+= -Wno-pointer-sign to silence the warnings.  I'll setup a patch, should we check for gcc 4 before append -Wno-pointer-sign?

By: Russell Bryant (russell) 2005-08-05 00:20:47

how about we just fix them?  :)

By: Michael Jerris (mikej) 2005-08-08 00:03:30

patches welcome on this and some of this has been fixed over the last few days.  If somone submits a patch, please re-open, otherwise, these are harmless warnings.