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`


  53                         -DHAL_USER=\"$(HAL_USER)\" \
  54                         -DHAL_GROUP=\"$(HAL_GROUP)\"
  55 
  56 HAL_DBUS_CPPFLAGS =     -DDBUS_API_SUBJECT_TO_CHANGE \
  57                         -DDBUS_SYSTEMD_DIR=\"/etc/dbus-1/system.d\" \
  58                         -I$(ADJUNCT_PROTO)/usr/include/dbus-1.0 \
  59                         -I$(ADJUNCT_PROTO)/usr/lib/dbus-1.0/include
  60 
  61 HAL_GLIB_CPPFLAGS =     -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  62                         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  63 
  64 HAL_GETTEXT_PACKAGE =   $(TEXT_DOMAIN)
  65 
  66 CERRWARN +=             -_gcc=-Wno-unused-variable
  67 CERRWARN +=             -_gcc=-Wno-unused-label
  68 CERRWARN +=             -_gcc=-Wno-unused-value
  69 CERRWARN +=             -_gcc=-Wno-extra
  70 CERRWARN +=             -_gcc=-Wno-parentheses
  71 CERRWARN +=             -_gcc=-Wno-address
  72 CERRWARN +=             -_gcc=-Wno-unused-function






  53                         -DHAL_USER=\"$(HAL_USER)\" \
  54                         -DHAL_GROUP=\"$(HAL_GROUP)\"
  55 
  56 HAL_DBUS_CPPFLAGS =     -DDBUS_API_SUBJECT_TO_CHANGE \
  57                         -DDBUS_SYSTEMD_DIR=\"/etc/dbus-1/system.d\" \
  58                         -I$(ADJUNCT_PROTO)/usr/include/dbus-1.0 \
  59                         -I$(ADJUNCT_PROTO)/usr/lib/dbus-1.0/include
  60 
  61 HAL_GLIB_CPPFLAGS =     -I$(ADJUNCT_PROTO)/usr/include/glib-2.0 \
  62                         -I$(ADJUNCT_PROTO)/usr/lib/glib-2.0/include
  63 
  64 HAL_GETTEXT_PACKAGE =   $(TEXT_DOMAIN)
  65 
  66 CERRWARN +=             -_gcc=-Wno-unused-variable
  67 CERRWARN +=             -_gcc=-Wno-unused-label
  68 CERRWARN +=             -_gcc=-Wno-unused-value
  69 CERRWARN +=             -_gcc=-Wno-extra
  70 CERRWARN +=             -_gcc=-Wno-parentheses
  71 CERRWARN +=             -_gcc=-Wno-address
  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