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

Ole Reinhardt ole.reinhardt at kernelconcepts.de
Tue Jul 12 13:56:27 CEST 2005


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
--





More information about the En-Nut-Discussion mailing list