3 ms·
Off-topic (apologies): From Xcode, I have the choice between "-std=c++14" and "-std=gnu++14" and I am not sure which I should choose ...
by delhanty 10y ago
Off-topic (apologies):
From Xcode, I have the choice between "-std=c++14" and "-std=gnu++14" and I am not sure which I should choose ...
- Ralith 10y agoDo you want GNU extensions? Use the latter. Otherwise, use the former.
- CJefferson 10y agoGnu++14. This is because historically GCC / clang used gnu++03, so some libraries might require it. The gnu bit means "add as small number of extensions". None of them are that strange.
- kryptiskt 10y agoUse "-std=c++14" unless you need the gnu extensions for it to build, that ensures that you don't accidentally introduce non-portable code.