[Mingw-w64-public] incorrect syntax while building QT 4.8.3

2012-11-01 Thread CanisMajorWuff
Hello! I have troubles building QT 4.8.3. I configure QT using this command. configure -platform win32-g++ -opensource After that I execute mingw32-make As a result I get this D:/qt/4.8.3/bin/moc.exe -DQT_SHARED -DQT_THREAD_SUPPORT -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_BUILD_CORE_LIB -DQT _N

Re: [Mingw-w64-public] Error building python extension (DLL load failed: invalid access to memory location)

2012-11-01 Thread John E. / TDM
On 11/1/2012 4:11 PM, JonY wrote: > On 11/1/2012 22:13, Václav Šmilauer wrote: >> 3c) Move 32bit libs out of the way >> (http://gcc.gnu.org/ml/gcc-help/2012-07/msg00060.html suggests to use >> -static-libstdc++, but it is not recognized by gcc 4.7); I don't compile >> 32bit programs, so not having

Re: [Mingw-w64-public] Error building python extension (DLL load failed: invalid access to memory location)

2012-11-01 Thread JonY
On 11/1/2012 22:13, Václav Šmilauer wrote: > Hi everybody, > > I am fairly new to MinGW64 (and to windows) and this is my first post to > the list. I would like to thank to the authors of and contributors to > mingw64 in the first place. > > I am trying to build compiled python modules, which use

Re: [Mingw-w64-public] Error building python extension (DLL load failed: invalid access to memory location)

2012-11-01 Thread Алексей Павлов
Hi, Vaclav! Can you try to build python module with this toolchain? There are Python-2.7.3 in subdirectory "opt" compiled with this toolchain.

Re: [Mingw-w64-public] strerror_s problem

2012-11-01 Thread Earnie Boyd
On Thu, Nov 1, 2012 at 11:27 AM, Ruben Van Boxem wrote: > I get a compile-time error. Browsing the SVN data, try including strings.h instead of string.h. See http://mingw-w64.svn.sourceforge.net/viewvc/mingw-w64/trunk/mingw-w64-headers/crt/string.h?revision=1520&view=markup&sortby=rev&pathrev=509

Re: [Mingw-w64-public] strerror_s problem

2012-11-01 Thread Ruben Van Boxem
2012/11/1 Earnie Boyd > On Thu, Nov 1, 2012 at 11:02 AM, Ruben Van Boxem wrote: > > > > The first I don't know, the second is obviously yes; the compiler takes > care > > of that. > > Compilers are programs that can contain bugs. > > > I don't think declarations are influences by extern "C" thoug

Re: [Mingw-w64-public] strerror_s problem

2012-11-01 Thread Václav Šmilauer
> when compiled as C++, gives the error of no strerror_s declared, but > when compiled as C, works fine. You could compare preprocessed source with both compilers: echo "#include" | gcc -E - echo "#include" | g++ -E - Cheers, Vaclav

Re: [Mingw-w64-public] strerror_s problem

2012-11-01 Thread Earnie Boyd
On Thu, Nov 1, 2012 at 11:02 AM, Ruben Van Boxem wrote: > > The first I don't know, the second is obviously yes; the compiler takes care > of that. Compilers are programs that can contain bugs. > I don't think declarations are influences by extern "C" though. Yes it matters. The name mangling i

Re: [Mingw-w64-public] strerror_s problem

2012-11-01 Thread Ruben Van Boxem
2012/11/1 Earnie Boyd > On Thu, Nov 1, 2012 at 10:38 AM, Ruben Van Boxem > wrote: > > Dear list, > > > > Using MinGW-w64 v2.0.7 and my 4.7.2 toolchain, I get a build failure in > LLVM > > related to strerror_s. > > It performs a CMake check to see if the function is declared, and finds > it > >

Re: [Mingw-w64-public] strerror_s problem

2012-11-01 Thread Earnie Boyd
On Thu, Nov 1, 2012 at 10:38 AM, Ruben Van Boxem wrote: > Dear list, > > Using MinGW-w64 v2.0.7 and my 4.7.2 toolchain, I get a build failure in LLVM > related to strerror_s. > It performs a CMake check to see if the function is declared, and finds it > (I configured the headers with --enable-secu

[Mingw-w64-public] strerror_s problem

2012-11-01 Thread Ruben Van Boxem
Dear list, Using MinGW-w64 v2.0.7 and my 4.7.2 toolchain, I get a build failure in LLVM related to strerror_s. It performs a CMake check to see if the function is declared, and finds it (I configured the headers with --enable-secure-api as always) so it defines the config.h guard macro. When the

[Mingw-w64-public] Error building python extension (DLL load failed: invalid access to memory location)

2012-11-01 Thread Václav Šmilauer
Hi everybody, I am fairly new to MinGW64 (and to windows) and this is my first post to the list. I would like to thank to the authors of and contributors to mingw64 in the first place. I am trying to build compiled python modules, which use some compiled libraries (boost, in particular). The