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

2013-08-14 Thread Thiago Macieira
On quinta-feira, 15 de agosto de 2013 02:40:13, Guido Seifert wrote: > Hi, could this be a problem? A guy on Stackoverflow has some strange errors > when he activates C++11 in the .pro file of his program and tries to use > the delegated constructor feature. Something about qobjectdefs_impl.h > err

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

2013-08-14 Thread Thiago Macieira
On quinta-feira, 15 de agosto de 2013 02:58:06, Guido Seifert wrote: > Do you sleep never? :-) > > > We don't use delegating constructors anywhere in Qt, in any version. > > That's not what I meant. When Qt is compiled without C++11, can it be used > to develop programs, which use C++11? I know,

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

2013-08-14 Thread Thiago Macieira
On quinta-feira, 15 de agosto de 2013 03:07:55, Guido Seifert wrote: > Here is a screenshot he provided: > https://drive.google.com/uc?id=0B41pJbehW4QbSjNsVVNvcmsyanM > > The FunctorCall/SignalArgs stuff made me assume it has something to do with > Qt and C++11. But he did not say that he tried sl

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

2013-08-14 Thread Vadim Peretokin
No, screenshots of code are not prefered on SO and no, Ubuntu does not go out and hack things just to break them and cause misery. That's not why they're popular :) ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/list

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

2013-08-14 Thread Constantin Makshin
The second error message says "'complex' cannot be used as a function", but the only place where the word "complex" can be seen on the screenshot is that guy's own code. This observation and the fact that with broken C++11 code Qt itself wouldn't be compilable (unless package maintainers explicitly

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

2013-08-14 Thread Thiago Macieira
On quinta-feira, 15 de agosto de 2013 04:21:47, Guido Seifert wrote: > > First of all, a screenshot of compilation errors? Yuck! Compilation errors > > are text. A text pastebin is better. > > Seems to be frowned on on SO. Never seen a pastebin there. But I am not that > long active there. Indeed

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

2013-08-15 Thread Thiago Macieira
On quinta-feira, 15 de agosto de 2013 16:07:33, Sze Howe Koh wrote: > On 15 August 2013 12:53, Thiago Macieira wrote: > > However, the error about "complex" makes me thing it's actually the > > capital > > letter I, defined in complex.h. > > > > Since C99 requires that definition (7.3.1p4), looks

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

2013-08-16 Thread Thiago Macieira
On sábado, 17 de agosto de 2013 09:01:35, Sze Howe Koh wrote: > > Does anyone want to submit a simple patch that renames the template > > parameter? > https://codereview.qt-project.org/#change,63221 Approved. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open So