[Interest] [SOLVED] Re: Compiling Programs with C++11 with Qt5, which was compiled without C++11 flag. Possible?

Karl Ruetz karl.ruetz at ruetzdogz.com
Thu Aug 15 18:39:14 CEST 2013


 

I'm worse that that. I "index" according to what I'm "iterating".


If it's cars: 

for(int iCar = 0; iCar < NoOfCars; ++iCar) 

... or
some such thing. 

Karl 

On 2013-08-15 10:34, Scott Aron Bloom wrote:


> And I was taught... int ii in for loops :)
> 
> -----Original
Message-----
> From:
interest-bounces+scott.bloom=onshorecs.com at qt-project.org
[mailto:interest-bounces+scott.bloom=onshorecs.com at qt-project.org] On
Behalf Of Joseph Crowell
> Sent: Thursday, August 15, 2013 4:40 AM
> To:
interest at qt-project.orgSubject: Re: [Interest] [SOLVED] Re: Compiling
Programs with C++11 with Qt5, which was compiled without C++11 flag.
Possible?
> 
> One of the reasons that I avoid single letter variable
names like the plague. (except int i; in for loops) :D
> 
> On 8/15/2013
6:15 PM, Guido Seifert wrote:
> 
>> You are great. On the spot with your
error analysis. (This is a general response to all, who helped
brainstorming) :-) I just found this on SO: 
>> 
>>> Yay, someone (JKSH)
found what the problem was on Qt Project forums (here). In short: The
problem was that I had written somewhere #define I complex(0.0, 1.0),
which created a name clash in qobjectdefs_impl.h (where complex was a
typedef for std::complex<double>). For some (weird) reason that didn't
cause any problems as long as I didn't write CONFIG = c+11 in the pro
file, but not it did after writing it.
>> Guido
_______________________________________________ Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest [1]
> 
>
_______________________________________________
> Interest mailing
list
> Interest at qt-project.org
>
http://lists.qt-project.org/mailman/listinfo/interest [1]
>
_______________________________________________
> Interest mailing
list
> Interest at qt-project.org
>
http://lists.qt-project.org/mailman/listinfo/interest [1]




Links:
------
[1]
http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20130815/de70a3f5/attachment.html>


More information about the Interest mailing list