PDA

View Full Version : GCC 4 weirdness


websavages
3rd June 2005, 10:40 AM
Well during my travels in installing horde and imp i've noticed that gcc 4 spits out a lot of warnings about pointer signedness.

anyone have anything to say about the situation. is this a bug, issue, old code running on a new compiler or my machine being pathetic?

Cheers ws

RahulSundaram
3rd June 2005, 11:10 AM
Hi

That depends on the code. GCC4 is now more standards compliant and fixes several bugs that might expose problems with the code you are trying to compile. http://gcc.gnu.org for details

Rahul
Red Hat Inc

SlowJet
3rd June 2005, 12:05 PM

It's usually a sign of lasy coding techniques.
And sometimes a sign of old C in a C++ world.
Or it could be a sign of some code tryinmg to be where is shouldn't be or trying to put data where it shouldn't go.

You aint seen nothin' yet. hang on. :)

SJ

websavages
4th June 2005, 01:50 AM
notable packages that spit out pointer warnings are

libmcrypt, imap-2004 (from WU), mcrypt, mhash and php??

running fc4t3 on ppc

Cheers ws