[Bug c++/38797] New: [c++0x] Missing warning about type qualifiers on late function return types
reichelt at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Sat Jan 10 21:53:00 GMT 2009
Compiling the following code snippet with "-Wall -Wextra -std=gnu++0x"
results in a warning for the first line, but not for the second:
==============================
const int foo();
auto bar() -> const int;
==============================
bug.cc:1: warning: type qualifiers ignored on function return type
--
Summary: [c++0x] Missing warning about type qualifiers on late
function return types
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Keywords: diagnostic, monitored
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: reichelt at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38797
More information about the Gcc-bugs
mailing list