DragonFly BSD
DragonFly users List (threaded) for 2006-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: errno contain 672964768


From: "Jeremy C. Reed" <reed@xxxxxxxxxxxxx>
Date: Fri, 10 Mar 2006 07:32:35 -0800 (PST)

On Thu, 9 Mar 2006, Matthew Dillon wrote:

>     Yup.  That's &errno instead of errno.  I would expect that to occur
>     if 'errno' is #define'd more then once since sys/errno.h basically
>     depends on errno not already being defined.  When it is multiply
>     defined the trick sys/errno.h uses breaks down and you wind up with
>     a mess.
> 
>     I'll bet something in the program is trying to manually #define errno.

I am trying to track it down. I first just ran the cc line by adding -E to 
it. But it didn't show it redefined, but I may have overlooked something.

http://pilchuck.reedmedia.net/jeremy/tmp-kuhcy847/WaitFor.c-preprocessor-output

(141951 bytes)

Jump down to "selecterr = ".

I built above by using same gcc command line as output duing a regular 
make. I added the -E.

gcc -E -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I../include 
-I../include -I../include -I../include -I../include -I../include 
-DHAVE_DIX_CONFIG_H -DXFree86Server -DXFree86LOADER -Wall -Wpointer-arith 
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations 
-Wnested-externs -fno-strict-aliasing -D_BSD_SOURCE -DHAS_FCHOWN 
-DHAS_STICKY_DIR_BIT -I/home/reed/xorg/include -I../include -I../include 
-I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi 
-I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -g -O2 
-MT WaitFor.lo -MD -MP -MF .deps/WaitFor.Tpo -E WaitFor.c

 Jeremy C. Reed

echo ':6DB6=88>?;@69876tA=AC8BB5tA6487><' | tr '4-F' 'wu rofIn.lkigemca'



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