Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656064 - www-client/chromium-66.0.3359.170 warning: unknown warning option '-Wno-enum-compare-switch'
Summary: www-client/chromium-66.0.3359.170 warning: unknown warning option '-Wno-enum-...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Chromium Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-18 18:56 UTC by mercuriete
Modified: 2018-05-18 20:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mercuriete 2018-05-18 18:56:50 UTC
Hi,recently when gentoo switches from gcc to clang for compiling chromium,
It starting to show some warning all over the place with the following text:

warning: unknown warning option '-Wno-enum-compare-switch'; did you mean '-Wno-enum-compare'? [-Wunknown-warning-option]
warning: unknown warning option '-Wno-null-pointer-arithmetic'; did you mean '-Wno-null-arithmetic'? [-Wunknown-warning-option]
2 warnings generated.


So it seems gcc have some parameters that are not supported by clang.

My concern is I am not sure if this parameters are important for security measurements. "no null arithmetic" seems important.

If this is only for stop showing warnings then this issue can be closed if you want.



PS: my cflags are: CFLAGS="-march=native -O2 -pipe"


Thank you for your work.