[En-Nut-Discussion] Patch for SuSE 10.0 and gcc402

Matthias Ringwald mringwal at inf.ethz.ch
Thu Nov 24 11:16:07 CET 2005


Hi Harald, Torben

On 24.11.2005, at 11:03, Harald Kipp wrote:

>> 3. avr-gcc 4.0.2
>> a) differense in signedness -> adding "-Wno-pointer-sign" to the
>> compile-flags in Makedef.avr-gcc
>
> Unfortunately this flag is unknown to GCC 3 and results in
>
>   cc1.exe: error: unrecognized command line option "-Wno-pointer-sign"
>
> I have no idea for a quick solution.

Adding a "dont complain" compiler flag might fix the status quo, but the
real solution/improvement would be to do the tedious work and correct
all signedness differences.
I remember someone posting a patch to the sources a while ago

harald, you might just add a line to the documentation (
"if using gcc > 4.0" add... ) and start fixing the sources..

cheers,
matthias



More information about the En-Nut-Discussion mailing list