[Bug c++/72837] New: -Wundef is not being ignored with pragma

2016-08-08 Thread TrevorJamesHickey at gmail dot com
++ Assignee: unassigned at gcc dot gnu.org Reporter: TrevorJamesHickey at gmail dot com Target Milestone: --- Given the following code: #if MACRO_WITHOUT_A_VALUE int var; #endif int main(){} When compiled with, `g++ -std=c++1z -Wundef -o main main.cpp`, it

[Bug c++/67777] New: unsigned wchar_t and signed wchar_t should cause compiler errors but do not.

2015-09-29 Thread TrevorJamesHickey at gmail dot com
: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: TrevorJamesHickey at gmail dot com Target Milestone: --- Is the following program valid C++? void f(unsigned wchar_t){} int main(){} It compiles without errors. The