HP C adjustments:

Disallow run-time dereferencing of null pointers.

  Disable some remarks:

    #4227: padding struct with n bytes to align member.

    #4255: padding size of struct with n bytes to alignment boundary.
pull/1/head
Yang Tse 16 years ago
parent 8090260882
commit 49e14536c6
  1. 8
      m4/cares-compilers.m4

@ -331,8 +331,12 @@ AC_DEFUN([CARES_SET_COMPILER_BASIC_OPTS], [
# #
HPUXC) HPUXC)
# #
dnl Placeholder dnl Disallow run-time dereferencing of null pointers
tmp_CFLAGS="$tmp_CFLAGS" tmp_CFLAGS="$tmp_CFLAGS -z"
dnl Disable some remarks
dnl #4227: padding struct with n bytes to align member
dnl #4255: padding size of struct with n bytes to alignment boundary
tmp_CFLAGS="$tmp_CFLAGS +W 4227,4255"
;; ;;
# #
IBMC) IBMC)

Loading…
Cancel
Save