http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2065
Summary: configure warnings_as_errors_default fix
Product: Wireshark
Version: SVN
Platform: All
OS/Version: Linux
Status: NEW
Severity: Trivial
Priority: Low
Component: Wireshark
AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
ReportedBy: nikns@xxxxxxxxx
Build Information:
--
[...]
checking whether we can add -Wall -W to CFLAGS... yes
checking whether we can add -Wdeclaration-after-statement to CFLAGS... no
checking whether we can add -Wendif-labels to CFLAGS... yes
checking whether we can add -Wpointer-arith to CFLAGS... yes
checking whether we can add -Wno-pointer-sign to CFLAGS... no
./configure[22416]: =no: not found
checking whether we should treat compiler warnings as errors... no
checking for platform-specific compiler flags... none needed
checking for platform-specific linker flags... none needed
[...]
Fix:
--- wireshark-0.99.7pre2/configure.in.orig Sun Dec 2 17:34:38 2007
+++ wireshark-0.99.7pre2/configure.in Sun Dec 2 17:34:46 2007
@@ -226,7 +226,7 @@
# This barrier is set for a very large part of the code. However, it is
# typically not set for "generated" code (lex, ans2wrs, idl2wrs, ...)
#
-$warnings_as_errors_default="no"
+warnings_as_errors_default="no"
AC_MSG_CHECKING(whether we should treat compiler warnings as errors)
AC_ARG_ENABLE(warnings-as-errors,
AC_HELP_STRING( [--enable-warnings-as-errors],
--- wireshark-0.99.7pre2/wiretap/configure.in.orig Sun Dec 2 17:35:47
2007
+++ wireshark-0.99.7pre2/wiretap/configure.in Sun Dec 2 17:36:02 2007
@@ -64,7 +64,7 @@
# This barrier is set for a very large part of the code. However, it is
# typically not set for "generated" code (lex, ans2wrs, idl2wrs, ...)
#
-$warnings_as_errors_default="no"
+warnings_as_errors_default="no"
AC_MSG_CHECKING(whether we should treat compiler warnings as errors)
AC_ARG_ENABLE(warnings-as-errors,
AC_HELP_STRING( [--enable-warnings-as-errors],
--
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.