/[svn]/ircd-hybrid/branches/8.2.x/m4/ax_arg_enable_warnings.m4
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/m4/ax_arg_enable_warnings.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 9988 by michael, Tue Jun 15 17:53:30 2021 UTC revision 9989 by michael, Wed Jun 16 10:09:33 2021 UTC
# Line 2  AC_DEFUN([AX_ARG_ENABLE_WARNINGS],[ Line 2  AC_DEFUN([AX_ARG_ENABLE_WARNINGS],[
2    AC_ARG_ENABLE([warnings],[AS_HELP_STRING([--enable-warnings],[Enable compiler warnings.])],[warnings="$enableval"],[warnings="no"])    AC_ARG_ENABLE([warnings],[AS_HELP_STRING([--enable-warnings],[Enable compiler warnings.])],[warnings="$enableval"],[warnings="no"])
3    
4    AS_IF([test "$warnings" = "yes"], [    AS_IF([test "$warnings" = "yes"], [
     AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option])  
   
5      AX_APPEND_COMPILE_FLAGS([-Wall])      AX_APPEND_COMPILE_FLAGS([-Wall])
6      AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast])      AX_APPEND_COMPILE_FLAGS([-Wbad-function-cast])
7      AX_APPEND_COMPILE_FLAGS([-Wcast-align])      AX_APPEND_COMPILE_FLAGS([-Wcast-align])

Legend:
Removed from v.9988  
changed lines
  Added in v.9989

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28