See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37428
and also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42121
Yes, it’s weird.
More Related Contents:
- Why does flowing off the end of a non-void function without returning a value not produce a compiler error?
- Undefined reference to vtable
- What is the difference between g++ and gcc?
- How does #include work in C++? [duplicate]
- Compiling a C++ program with GCC
- Undefined Symbol ___gxx_personality_v0 on link
- Why does typeid.name() return weird characters using GCC and how to make it print unmangled names?
- Compiling multithread code with g++
- How to create a static library with g++?
- How to force gcc to link an unused static library
- What is the purpose of using -pedantic in the GCC/G++ compiler?
- gcc/g++: “No such file or directory”
- constexpr initializing static member using static function
- How to tell where a header file is included from?
- How to include omp.h in OS X?
- Linking g++ 4.8 to libstdc++
- Update GCC on OSX
- error: use of deleted function
- g++ variable size array no warning?
- GNU C++ how to check when -std=c++0x is in effect?
- g++ How to get warning on ignoring function return value
- SetJmp/LongJmp: Why is this throwing a segfault?
- request for member `…’ is ambiguous in g++
- GCC: Difference between -O3 and -Os
- Why “initializer-string for array of chars is too long” compiles fine in C & not in C++?
- Does the restrict keyword provide significant benefits in gcc/g++?
- Difference between regex_match and regex_search?
- Install gcc on linux with no root privilege
- Why does sqrt() work fine on an int variable if it is not defined for an int?
- Can I make GCC warn on passing too-wide types to functions?