Can't build my project with "-std=c++0x" option enabled

Forum for posting problems using QxOrm library

Can't build my project with "-std=c++0x" option enabled

Postby remico » Tue Jul 24, 2012 7:09 pm

Hello.
I have a little problem with QxOrm. I have built examples succesfully. So all libraries works right, I suppose. But when I try to build my project
with "-std=c++0x" option enabled for my compiler then I have this error:
*********
mingw32-make: *** [build/obj/debug/main.o] Error 1
21:45:17: The process "C:\mingw\bin\mingw32-make.exe" exited with code 2.
Error while building/deploying project XYZ (target: Desktop)
When executing step 'Make'
*********

And without specifying "-std=c++0x" option my project compile succesfully.

So can anybody tell me what is the reason of this error?
The problem is in QxOrm, or in Boost, or maybe in my curved hands?
Because my others Qt-only based projects compiled succesfully with this option enabled.

My compiler is MinGW (gcc 4.7.1).
Boost 1.49.
Qt 4.8.2.
remico
 
Posts: 13
Joined: Tue Jul 24, 2012 6:30 pm
Location: Ukraine

Re: Can't build my project with "-std=c++0x" option enabled

Postby QxOrm admin » Wed Jul 25, 2012 9:01 am

Hi,

So all libraries works right, I suppose.

To be sure, just execute all exec : if there is no assert => then your install is perfect ;)

But when I try to build my project with "-std=c++0x" option enabled for my compiler then I have this error...

I have not tested this option yet !
I will test it when I will have some time and I will answer you...
QxOrm admin
 

Re: Can't build my project with "-std=c++0x" option enabled

Postby remico » Wed Jul 25, 2012 9:43 am

Thank you for quick reply.
I have succesfully executed qxBlog and qxClientServer examples. They work fine.
So I'll wait your answer about testing that particular option.
Thanks again for your great work.
remico
 
Posts: 13
Joined: Tue Jul 24, 2012 6:30 pm
Location: Ukraine


Return to QxOrm - Help

Who is online

Users browsing this forum: No registered users and 3 guests

cron