bug-gnu-utils
[Top][All Lists]
Advanced

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

Re: [Mingw-users] Re: More patch 2.5.9 hacking


From: Eli Zaretskii
Subject: Re: [Mingw-users] Re: More patch 2.5.9 hacking
Date: Sat, 25 Oct 2003 19:15:38 +0200

> From: "Manu" <address@hidden>
> Date: Sat, 25 Oct 2003 17:29:00 +0200
> 
> I experimentally added "#define mkdir fixed_mkdir" in config.h.
> Then:
> util.c: In function `makedirs':
> util.c:885: too many arguments to function `fixed_mkdir'
> make: *** [util.o] Error 1

This seems to indicate that some header where you have a prototype of
mkdir (which on your system takes 1 argument) was seen by the
compiler _after_ config.h, and thus it was processed as the prototype
of fixed_mkdir.

You need to "#define mkdir fixed_mkdir" after all the header files are
included.  Thus, config.h is not a good place for it.




reply via email to

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