[Top][All Lists]
[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.
- Re: More patch 2.5.9 hacking, (continued)
- Re: [Mingw-users] More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/23
- Re: [Mingw-users] More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/24
- Re: More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/24
- Re: More patch 2.5.9 hacking, Eli Zaretskii, 2003/10/24
- Re: More patch 2.5.9 hacking, Paul Eggert, 2003/10/24
- Re: More patch 2.5.9 hacking, Benjamin Riefenstahl, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking,
Eli Zaretskii <=
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Paul Eggert, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/26
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Manu, 2003/10/25
- Re: [Mingw-users] Re: More patch 2.5.9 hacking, Earnie Boyd, 2003/10/25