And I was taught... int ii in for loops :)

-----Original Message-----
From: interest-bounces+scott.bloom=onshorecs....@qt-project.org 
[mailto:interest-bounces+scott.bloom=onshorecs....@qt-project.org] On Behalf Of 
Joseph Crowell
Sent: Thursday, August 15, 2013 4:40 AM
To: interest@qt-project.org
Subject: 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@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to