From 1fbccda986b4a667c4a6f2b705e34a624ddb9d52 Mon Sep 17 00:00:00 2001 From: George Bosilca Date: Fri, 19 May 2006 22:09:29 +0000 Subject: [PATCH] -g3 is definitively not a standard gcc option, at least not on anything else than a quite recent version. Using this option prevent gdb from accessing the contents of some of the structures. The error message is: Unexpected type (0) encountered for integer constant. This commit was SVN r9994. --- config/ompi_setup_cc.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/ompi_setup_cc.m4 b/config/ompi_setup_cc.m4 index 397b389656..b73b8400af 100644 --- a/config/ompi_setup_cc.m4 +++ b/config/ompi_setup_cc.m4 @@ -49,7 +49,7 @@ AC_DEFUN([OMPI_SETUP_CC],[ # Do we want debugging? if test "$WANT_DEBUG" = "1" -a "$enable_debug_symbols" != "no" ; then if test "$ompi_c_vendor" = "gnu"; then - CFLAGS="$CFLAGS -g3" + CFLAGS="$CFLAGS -g" # keep the -g3 for when it will become a standard option. else CFLAGS="$CFLAGS -g" fi