darlinghq / darling

Darwin/macOS emulation layer for Linux
http://www.darlinghq.org
GNU General Public License v3.0
11.55k stars 446 forks source link

Should static initializer warnings be supressed? #1395

Open CKegel opened 1 year ago

CKegel commented 1 year ago

When building Darling, many warnings regarding the use of static initializers are generated. Should something be done to address these warnings, or should they be suppressed with -no_warn_inits? if the warnings can be suppressed, can they be globally suppressed, or should this be addressed on a case by case basis?

Here is a sample warning for reference:

ld: warning: static initializer found in 'src/frameworks/path/to/some/framework/'.
facekapow commented 1 year ago

I think these should be perfectly safe to ignore (and globally suppress).