Red Hat Bugzilla – Bug 77981
Bad source code
Last modified: 2007-04-18 12:48:30 EDT
Description of Problem:
I just tried to compile package tripwire-2.3.1-14 from Redhat 8.0.
Here are some of the compiler messages.
twlocale.cpp:315: warning: `%c' yields only last 2 digits of year in some locales
I have no fix for the above problem.
signature.cpp:521: warning: long unsigned int format, int arg (arg 3)
signature.cpp:622: warning: unsigned int format, long unsigned int arg (arg 3)
On some machines, longs & ints are different sizes.
twutil.cpp:675: warning: cannot pass objects of non-POD type `const class cFileHeaderID' through `...'
twutil.cpp:778: warning: cannot pass objects of non-POD type `const class cFileHeaderID' through `...'
Again, I have no fix, but this needs fixing.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Fixed (by commenting out the debug messages)