Help - buried in compiler warnings.
- From: Charles Sullivan <cwsulliv@xxxxxxxxxxxx>
- Date: Wed, 22 Feb 2006 01:53:21 GMT
I have an app which compiles with no errors or warnings
on gcc 3.4.4 and earlier.
But a user reports that with gcc 4.0.2 (FC 4) there are pages
of compiler warnings, all apparently related to passing
pointers to unsigned char arrays as arguments to functions
whose prototype calls for pointers to signed char arrays.
E.g., "warning: pointer targets in passing argument 1 of strlen
differ in signedness."
The compiler options used are -g -O -Wall
Am I correct in believing that the compiler is being
overly picky? If so, is there a compiler option that
will revert to the warning level of gcc 3.4.4 ?
(I don't have gcc 4.0.2 on my system so am sort of
flying blind here.)
Regards,
Charles Sullivan
.
- Follow-Ups:
- Re: Help - buried in compiler warnings.
- From: Grant Edwards
- Re: Help - buried in compiler warnings.
- From: Binary
- Re: Help - buried in compiler warnings.
- Prev by Date: Re: Log file deletion help!
- Next by Date: Re: How to make daemon's printf appear in console
- Previous by thread: Log file deletion help!
- Next by thread: Re: Help - buried in compiler warnings.
- Index(es):
Relevant Pages
|