Re: [Mingw-w64-public] winbase.h issue

2013-09-26 Thread JonY
On 9/26/2013 21:16, JonY wrote: > On 9/26/2013 21:07, JonY wrote: >> On 9/26/2013 18:47, Noboru Uchida wrote: >>> When I try the following: >>> >>> $ echo "#include " >foo.cc && c++ -c foo.cc >>> >>> I get tons of redefinition errors on Interlocked functions in winbase.h. >>> >> >> Looks like it ha

Re: [Mingw-w64-public] winbase.h issue

2013-09-26 Thread JonY
On 9/26/2013 21:07, JonY wrote: > On 9/26/2013 18:47, Noboru Uchida wrote: >> When I try the following: >> >> $ echo "#include " >foo.cc && c++ -c foo.cc >> >> I get tons of redefinition errors on Interlocked functions in winbase.h. >> > > Looks like it happens only in C++ mode. > Adding mingw-w