Y
Hacker News
new
|
ask
|
show
|
jobs
by
midjji
1779 days ago
Pedantic is for the older C++ standard, its not pedantic for the latter e.g c++11, I think this changed.
2 comments
junon
1779 days ago
No, pedantic is for disabling compiler extensions. You still need to explicitly specify a standard.
link
midjji
1778 days ago
gcc pedantic ignores the language flag, and clang and intel state they mirror gcc. So pedantic would be not C++11 even if you added that.
link
dataflow
1779 days ago
Well that blows my mind, I never realized pedantic ignores the language setting. Is this the only case where it does that?
link