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

Kai Tietz
2013-03-25T09:15:25Z

2013/3/25 Eli Zaretskii <eliz@gnu.org>:
>> 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.

Be welcome. Sorry, but I want to insist on such apparent things. I
am wondering about your arguments, due you should know better.