Re: [Mingw-w64-public] EXTERNAL: Re: winpthreads-api and GetLastError/SetLastError

2012-05-04 Thread Davidson, Josh
I also had problems with GetLastError when I attempted to use a build of mingw-w32 configured with pthreads: http://www.mail-archive.com/mingw-w64-public@lists.sourceforge.net/msg04441.html -Original Message- From: Ozkan Sezer [mailto:seze...@gmail.com] Sent: Friday, May 04, 2012 10:30

Re: [Mingw-w64-public] winpthreads-api and GetLastError/SetLastError

2012-05-04 Thread Ozkan Sezer
On 5/4/12, niXman wrote: > Hi, > > This simple code change the last error which sometimes is not allowed: >> #include >> int main() { >> SetLastError(33); >> pthread_getspecific(0); >> return GetLastError(); >> } >> >> $ gcc test.c -otest >> $ ./test; echo $? >> $ 0 > > Tell me ple

[Mingw-w64-public] winpthreads-api and GetLastError/SetLastError

2012-05-04 Thread niXman
Hi, This simple code change the last error which sometimes is not allowed: > #include > int main() { > SetLastError(33); > pthread_getspecific(0); > return GetLastError(); > } > > $ gcc test.c -otest > $ ./test; echo $? > $ 0 Tell me please, have anyone faced with this problem?

Re: [Mingw-w64-public] rubenvb GCC 4.7.0 release build

2012-05-04 Thread Chris Sutcliffe
Hi Ruben, On 29 April 2012 16:16, Ruben Van Boxem wrote: > I am uploading 4.7.0 at the time of writing. I plan on building 4.6.3 as > well, and perhaps a 4.5.3. Unfortunately, I am still unable to build a > native ada compiler/library. As before, these are now built with > -mtune=corei7 and a bunc