bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ping on a small patch...


From: Alfred M. Szmidt
Subject: Re: Ping on a small patch...
Date: Wed, 09 Jul 2003 05:06:38 +0200

   > sometime ago (Apr 26) I sent an patch that fixes two compiler
   > errors (conflicting types) in the current CVS tree.  Anyone wants
   > to apply it?

   Errors or warnings? I compiled the Hurd from CVS without problems a
   week ago... How is this problem triggered? (using which gcc
   version, etc.).

Hard loving errors from gcc (both in native and cross-compile, note
that this is a plain gcc 3.3; maybe Debian's gcc screws something up.

Here is one example (the one for ufs-fsck is exactly the same):

~/src/hurd-cross.obj/term $ make
i386-unknown-gnu0.3-gcc -std=gnu99 -Wall -g -O3 -g -O2 -I. -I../../hurd/term 
-I.. -I../../hurd -I../include -I../../hurd/include -D_GNU_SOURCE 
-D_IO_MTSAFE_IO -D_FILE_OFFSET_BITS=64  -DPACKAGE_NAME=\"\" 
-DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" 
-DPACKAGE_BUGREPORT=\"\" -DHAVE_MIG_RETCODE=1 -DHAVE_GETGROUPLIST=1 
-DHAVE_USELOCALE=1   -c -o main.o ../../hurd/term/main.c
../../hurd/term/main.c:59: error: conflicting types for `rdev'
../../hurd/term/term.h:332: error: previous declaration of `rdev'
make: *** [main.o] Error 1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]