Re: [Mingw-users] how can I remove the declaration of mkdir ?
On Sunday 23 March 2008 10:44, Vincent Torri wrote:
> I have a lot of conflicts (especially in io.h, but also in stdio.h,
> like:
>
> D:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/
> io.h:171:55: macro "mkdir" requires 2 arguments, but only 1 given
>
> or
>
> D:/msys/1.0/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/
> stdio.h:187: error: syntax error before '(' token
>
>
> any idea about what I should do ? defining NO_OLDNAMES and
> _NO_OLDNAMES before stdio.h ?
I never needed to define NO_OLDNAMES or _NO_OLDNAMES. Make sure you
include *all* required system headers *before* your local header which
redefines mkdir and friends as POSIX compliant macros.
Regards,
Keith.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
MinGW-users mailing list
MinGW-users@xxxxxxxxxxxxxxxxxxxxx
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users