Closed jhunold closed 9 years ago
Out of curiosity, is this a new warning or is it not on by default? Because I'm not seeing it.
Well, I use -Weverything and disable selected warnings.
The warning itself is several years old. The earliest discussion is from 2011, and I found a blog post from 2012 mentioning it. Unfortunately a full overview about all flags is missing which is the reason I use -Weverything and disable all warnings which make no sense for my project.
Well, at least you know about -Weverything. I tried -Wall -Wextra and didn't get -Wheader-hygiene. :-)
warning: using namespace directive in global context in header [-Wheader-hygiene] The warning is unhelpfull as this a backwards-compatibility fix.