[Qt-creator] Qt Creator 2.0 displays additional warning information as errors

Martin Hofius Martin at hofius-online.com
Thu Jul 8 22:50:28 CEST 2010


Hello,

I have to confirm this problem, see my mail titled "QtCreator 2.0: Line in 
warning is interpreted as error" as of jun 26.

Martin

Am Donnerstag, 8. Juli 2010 schrieb mail at philippmuenzel.de:
> 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





More information about the Qt-creator-old mailing list