Details
-
Bug
-
Resolution: Done
-
P2: Important
-
Qt Creator 2.3.0
-
None
-
Gentoo Linux
GCC 4.6.1
Creator revision: 628a825dc0811f5641a274d5cd0daa80603d0efe (pulled 7/25)
-
f9d72df0d0b5fed01914e2ba3e9127a51e73b8fc
Description
The following compiler output:
In file included from <file named removed>.h:4:0,
from <file named removed>.h:14,
from <file named removed>:14:
<file named removed>.h: In function 'void UnitTest::CheckEqual(UnitTest::TestResults&, const Expected&, const Actual&, const UnitTest::TestDetails&) [with Expected = unsigned int, Actual = int]':
<file named removed>.cpp:87:10: instantiated from here
<file named removed>.h:21:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
<file named removed>.h: In function 'void UnitTest::CheckEqual(UnitTest::TestResults&, const Expected&, const Actual&, const UnitTest::TestDetails&) [with Expected = int, Actual = unsigned int]':
<file named removed>.cpp:237:10: instantiated from here
<file named removed>.h:21:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
Produces the following entries on the build issues pane:
<file named removed>.h:14: from <file named removed>.h:14,
<file named removed>.cpp:14: from <file named removed>.cpp:14:
<file named removed>.h:-1: In function 'void UnitTest::CheckEqual(UnitTest::TestResults&, const Expected&, const Actual&, const UnitTest::TestDetails&) [with Expected = unsigned int, Actual = int]':
<file named removed>.h:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
<file named removed>.h:-1: In function 'void UnitTest::CheckEqual(UnitTest::TestResults&, const Expected&, const Actual&, const UnitTest::TestDetails&) [with Expected = int, Actual = unsigned int]':
<file named removed>.h:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
The "instantiated from here" bit is lost, which is the most important part.
Attachments
For Gerrit Dashboard: QTCREATORBUG-5634 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
2395,2 | GCC: Fix parsing of gcc 4.6 output | 2.3 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |