This would allow non-standard compilers to build the server if there are warnings that are desirable to ignore.
Specifically it would assist "typedef 'year_type' locally defined but not used" with gcc 4.8.1 and "type attributes are honored only at type definition" with gcc 4.1.2.
Other cases will also arise as new compiler versions have new warnings.
- is duplicated by
-
SERVER-9569 Make 'warnings as options' a build option, defaulting to true.
- Closed
- is related to
-
SERVER-12272 2.4.9-rc0 does not compile with gcc-4.8.1
- Closed