Print this page
gag Studio warnings that only occur with an adjunct proto
Studio has no equivalent to -isystem, and no option to its -errhdr that
seems equivalent.  As such, we have to gag the warnings that are induced
from the 3rd party headers when those headers are found via the adjunct,
as they will not match Studio's seemingly hard-coded exception on
`/usr/include`

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/hal/Makefile.hal
          +++ new/usr/src/cmd/hal/Makefile.hal
↓ open down ↓ 62 lines elided ↑ open up ↑
  63   63  
  64   64  HAL_GETTEXT_PACKAGE =   $(TEXT_DOMAIN)
  65   65  
  66   66  CERRWARN +=             -_gcc=-Wno-unused-variable
  67   67  CERRWARN +=             -_gcc=-Wno-unused-label
  68   68  CERRWARN +=             -_gcc=-Wno-unused-value
  69   69  CERRWARN +=             -_gcc=-Wno-extra
  70   70  CERRWARN +=             -_gcc=-Wno-parentheses
  71   71  CERRWARN +=             -_gcc=-Wno-address
  72   72  CERRWARN +=             -_gcc=-Wno-unused-function
       73 +
       74 +# This is, unfortunately, from the glib headers.  Studio provides no
       75 +# equivalent to -isystem
       76 +CERRWARN +=     -_cc=-erroff=E_INTEGER_OVERFLOW_DETECTED
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX