[En-Nut-Discussion] Warnings when compiling NutOS unix emulationwith gcc 4.0.1

유 영동 uc at techiz.com
Tue Jul 12 16:15:32 CEST 2005


Hi, Ole! 
I am now porting Nut/OS on the ARM Board using GNUARM 4.00.
Can you use option "-Wno-pointer-sign" ?

Regards

Yoo, Young Dong	at www.techiz.com

-----Original Message-----
From: en-nut-discussion-bounces at egnite.de [mailto:en-nut-discussion-
bounces at egnite.de] On Behalf Of Ole Reinhardt
Sent: Tuesday, July 12, 2005 8:56 PM
To: btnode; Ethernut User Chat (English)
Subject: [En-Nut-Discussion] Warnings when compiling NutOS unix
emulationwith gcc 4.0.1

Hi all,

I get a lot of warnings when compiling the unix emulation with gcc
version 4.0.1. Those would also appear when compiling with avr-gcc 4.x

These warnings are like the following:

bt_hci_transport_uart.c:161: warning: pointer targets in passing
argument 1 of 'NUT_fopen' differ in signedness

They always appear if we pass a u_char argument to a function expecting
a char argument.

I would likt to propose to change all variables that hold text
characters to char.

What's your opinion to solve this problem? (beside of using gcc 3.3.6)

Regards,

Ole Reinhardt

-- 
kernel concepts    Tel: +49-271-771091-14
Dreisbachstr. 24   Fax: +49-271-771091-19
D-57250 Netphen    E+ : +49-177-7420433
--


_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list