Print this page
7127  remove -Wno-missing-braces from Makefile.uts

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/Makefile.uts
          +++ new/usr/src/uts/Makefile.uts
↓ open down ↓ 206 lines elided ↑ open up ↑
 207  207                     $(AS_INC_PATH) $(EXTRA_OPTIONS)
 208  208  
 209  209  #
 210  210  #       Make it (relatively) easy to share compilation options between
 211  211  #       all kernel implementations.
 212  212  #
 213  213  
 214  214  # Override the default, the kernel is squeaky clean
 215  215  CERRWARN = -errtags=yes -errwarn=%all
 216  216  
 217      -CERRWARN += -_gcc=-Wno-missing-braces
 218  217  CERRWARN += -_gcc=-Wno-sign-compare
 219  218  CERRWARN += -_gcc=-Wno-unknown-pragmas
 220  219  CERRWARN += -_gcc=-Wno-unused-parameter
 221  220  CERRWARN += -_gcc=-Wno-missing-field-initializers
 222  221  
 223  222  # DEBUG v. -nd make for frequent unused variables, empty conditions, etc. in
 224  223  # -nd builds
 225  224  $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-unused
 226  225  $(RELEASE_BUILD)CERRWARN += -_gcc=-Wno-empty-body
 227  226  
↓ open down ↓ 404 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX