[Bug libstdc++/67996] New: std::ios_base::seekdir raises -Wswitch with Clang

2015-10-16 Thread kim.grasman at gmail dot com
: libstdc++ Assignee: unassigned at gcc dot gnu.org Reporter: kim.grasman at gmail dot com Target Milestone: --- When using libstdc++ with Clang, we can't seem to form a fully-covered switch over std::ios_base::seekdir: void f(std::ios_base::seekdir way) switc

[Bug libstdc++/67996] std::ios_base::seekdir raises -Wswitch with Clang

2015-10-16 Thread kim.grasman at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67996 --- Comment #2 from Kim Gräsman --- Thanks, I figured that was why. The warning is not a problem if I'm using directly, then I can just disable it locally. But we ran into this with a third-party library having the code above in one of their h

[Bug libstdc++/67996] std::ios_base::seekdir raises -Wswitch with Clang

2015-11-09 Thread kim.grasman at gmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67996 --- Comment #4 from Kim Gräsman --- FWIW, it turns out that GCC warns, too: $ g++ -Iinclude -I/ssd/code/poco/CppUnit/include -I/ssd/code/poco/CppUnit/WinTestRunner/include -I/ssd/code/poco/Foundation/include -I/ssd/code/poco/XML/include -I/s