Open
Bug 818474
Opened 12 years ago
Updated 2 years ago
Consider using -Wc++98-compat with clang
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
NEW
People
(Reporter: espindola, Unassigned)
Details
It would warn on cases like enum foo { bar }; int f() { return foo::bar; } $ clang test.cpp -c -std=c++11 -Wc++98-compat test.cpp:6:10: warning: enumeration type in nested name specifier is incompatible with C++98 [-Wc++98-compat] return foo::bar; Which in combination with -Werror should avoid bugs like 818381.
Comment 1•12 years ago
|
||
What other implications will this have?
Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Ehsan Akhgari [:ehsan] from comment #1) > What other implications will this have? Not sure, I haven't tried a full build with it, just the reduced test in the description.
Updated•6 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•