Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 656064

Summary: www-client/chromium-66.0.3359.170 warning: unknown warning option '-Wno-enum-compare-switch'
Product: Gentoo Linux Reporter: mercuriete <mercuriete>
Component: Current packagesAssignee: Chromium Project <chromium>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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.