This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> Date: Mon, 25 Mar 2013 14:30:15 +0100
> From: Kai Tietz <ktietz70@googlemail.com>
> Cc: asmwarrior@gmail.com, tromey@redhat.com, yao@codesourcery.com, 	gdb-patches@sourceware.org
> 
> >> The header io.h isn't a POSIX one, and therefore you should just
> >> expect what actual is documented by vendor (in msdn) for it and not
> >> what one implementation mightz does.
> >
> > MinGW's unistd.h includes io.h, and thus gets both mkdir and _mkdir.
> Yeah, and that's an implementation detail and IMHO even a bug, because
> msdn is documenting it differently ... but well that is in this case
> just nit-picking.
> > One could perhaps argue that this is or isn't a mistake, but given the
> > precedence, having a different arrangement in MinGW64 is unfortunate,
> > since it will mean more #ifdef'ing in the projects that want to
> > support both.
> 
> Yeah, therefore don't rely on implementation details.

MinGW was the only Free Software environment for Windows for many
years.  So its implementation details have already spread to many
projects.  That alone should make its implementation a kind of
de-facto standard, breaking which needs a very good reason.

But I feel that you disagree.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]