Re: [MinGW-w64]Build gdb/ctf.c failed

Eli Zaretskii
2013-03-25T08:40:54Z

> Date: Mon, 25 Mar 2013 09:30:40 +0100
> From: Kai Tietz <ktietz70@googlemail.com>
> Cc: asmwarrior@gmail.com, tromey@redhat.com, yao@codesourcery.com,
> gdb-patches@sourceware.org
>
> > Too bad. Gratuitous differences between the different MinGW variants
> > are likely to become maintenance headaches in the long run. Like in
> > this case.
> >
> >> It is a flaw to declare it there. The unistd.h header is a POSIX
> >> one. _mkdir is for sure no POSIX variant, so its declaration
> >> doesn't belong somewhere else.
> >
> > Posix header files can very well (and do) have non-Posix stuff, if
> > that stuff is guarded by suitable preprocessor conditionals that make
> > it disappear when compiled with the -std= compiler switch which
> > requires Posix without extensions. So I'm surprised this argument is
> > being brought up here.
>
> You are driveling ...

Very mature. Thanks a lot.