: 4.8.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: loose at astron dot nl
The code below causes a compilation error:
t.cc:15:6: error: prototype for ‘void D::doIt(B::S
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55671
--- Comment #8 from loose at astron dot nl 2012-12-13 12:03:02 UTC ---
OK, fine with me. It's only that I was caught by surprise that g++ did no
longer warn about sign conversion. I can definitely live with an explicit
-Wsign-conve
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55671
--- Comment #5 from loose at astron dot nl 2012-12-13 11:09:43 UTC ---
If this is by design, then the documentation is buggy. Here's a literal quote
form the man page of g++
-Wconversion
Warn for implicit conver
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55671
Bug #: 55671
Summary: -Wconversion fails to warn for sign-conversion
Classification: Unclassified
Product: gcc
Version: 4.7.2
Status: UNCONFIRMED
Severity: normal
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710
--- Comment #6 from loose at astron dot nl 2010-11-01 12:54:25 UTC ---
OK, fair enough.
However, I reported this "bug", because I would like GCC to produce a warning
when hiding a non-virtual method in *existing* code; an option
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20710
--- Comment #3 from loose at astron dot nl 2010-11-01 12:29:27 UTC ---
As far as I know attributes were removed from the C0x Final Draft.
Besides, if GCC were to provide a compiler flag to warn for this, you would
also be able to catch potential
iority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: loose at astron dot nl
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21210
: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: loose at astron dot nl
CC: gcc-bugs at gcc dot gnu dot or
ummary: Warning "cannot pass objects of non-POD type" should be
an error
Product: gcc
Version: 3.4.3
Status: UNCONFIRMED
Severity: enhancement
Priority: P2
Component: c++
AssignedTo: unassigned at gcc do
--
Summary: Misleading diagnostic with ambiguous typedef
Product: gcc
Version: 3.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: l
10 matches
Mail list logo