Please upgrade your mingw version to 3.7. This has been released today and
contains the following fix below, they removed all defines which are just
there to fool people. Your problems with MinGW should be gone now.
2005-01-13 Earnie Boyd <email@example.com>
* include/sys/stat.h (_S_IFLNK, S_IFLNK, _S_ISLNK, S_ISLNK, _lstat,
* include/errno.h (ELOOP): Ditto.
* include/_mingw.h: Increment version to 3.7.
* Makefile.in: Ditto.
> -----Original Message-----
> From: firstname.lastname@example.org
> [mailto:email@example.com] On Behalf Of Johnny Willemsen
> Sent: maandag 10 januari 2005 19:11
> To: firstname.lastname@example.org
> Cc: email@example.com
> Subject: Re: [ace-users] Re: [ace] compile error in mingw
> 3.2-rc1 (or w32api-3.2)
> > oh. sorry. I just use ACE at studying. so I don't interested in
> > commercial support. (bad english. sorry. -_-)
> No problem with the English. Good that you are looking at
> ACE, it is very
> powerful, only the bad thing is you are using a new MinGW
> version that cause
> > furthermore, I found cause about this error. it's placed in new
> > w32api's sys/stat.h. it define lstat as stat, so this make all
> > "lstat"s in ACE sources replace "stat". -_-a
> > I tryed two modification (sorry for handy patch..)
> > 1. ace/config-win32-mingw.h, line 85 : insert below code
> > #define ACE_LACKS_LSTAT
> That is not a nice solution.
> > 2. ace/os_include/sys/os_stat.h, line 44 : insert below code
> > #if defined (__MINGW__) && (__MINGW32_MAJOR_VERSION >= 3) &&
> > (__MINGW32_MINOR_VERSION >= 6)
> > #undef lstat
> > #undef _lstat
> > #endif
> > it's okey. except ace/Name_Space.cpp, all code is compiled
> > successfully. ^_^ check this please.
> Ok. This should do the trick. But I have taken first another
> step, I have
> send an e-mail to the MinGW users mailing list to ask if the
> MinGW people
> can change this. They should make a normal function for lstat
> and handle the
> redirection to stat internally. Until the time being, you can use the
> workaround. What is the problem in ace/Name_Space.cpp?