[Qt-creator] Qt Creator 2.0 displays additional warning information as errors
Tobias Hunger
tobias.hunger at nokia.com
Fri Jul 9 10:37:31 CEST 2010
Hi Philipp,
could you please open a issue in our bugtracker at
http://bugreports.qt.nokia.com/ for this?
It would rock if you could attach the compile output for stdout and
stderr as well as some information on which kind of project you are
building (qmake, cmake based or generic). Feel free to assign the issue
to me:-)
Thanks!
Best Regards,
Tobias
On 08.07.2010 17:22, ext mail at philippmuenzel.de wrote:
> Hello,
>
> I recently switched from Qt-Creator 1.3 to 2.0.
> I noticed a strange behavior in the "Build Issues"-tab:
>
> When compiling with gcc, I get a warning that looks like this in the "Compiler Output"-tab
> foo.h: In member function `void Foo<T>::bar(const T&) [with T = int]':
> foo.h:137: instantiated from XYZ
> foo.h:52: instantiated from XY
> foo.cpp:18: instantiated from here
> foo.h:60: warning: converting to `int' from `double'
>
> This warning is displayed in the "Build issues"-tab as
> (no symbol) In member function...
> (red exclamation mark) instantiated from XYZ
> (red exclamation mark) instantiated from XY
> (red exclamation mark) instantiated from here
> (yellow triangle) converting to `int' from `double'
>
> and causes the red error exlamation mark and number 3 to be displayed beneath the build progress bar on the left, which fills with all green, since the compile succeeds.
>
> Apparantly, the "instantiated from" is interpreted as a compile error instead as an additional information to the compile warning.
>
> It is pretty astonishing to see "compile errors" where there are none, but additional warning information. IIRC, this issue was not there in Qt-Creator 1.3
>
> Regards,
> Philipp
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
--
Tobias Hunger
Software Engineer
Nokia, Qt Development Frameworks
Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
More information about the Qt-creator-old
mailing list