ty: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rutsky.vladimir at gmail dot com
"type qualifiers ignored on function return type" warning doesn't point in
"const" that is being ignored, but instead
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64431
--- Comment #1 from Vladimir Rutsky ---
$ g++-4.9 -v
Using built-in specs.
COLLECT_GCC=g++-4.9
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.9/lto-wrapper
Target: x86_64-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubun
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: rutsky.vladimir at gmail dot com
Consider following example:
$ cat /tmp/test.cpp
class A;
namespace details
{
struct B {};
}