So found it. Its not DirectFB but the gcc is busted on the -O2 -g
switch on some C++ template code. Now what it got wrong is beyond me
but  still it would be nice.



On Dec 15, 2007 10:55 PM, Mike Emmel <[EMAIL PROTECTED]> wrote:
> Well this is not quite right but my point stands. It would be nice to
> have a way in configure to just turn on C debugging
>
>
> On Dec 15, 2007 10:50 PM, Mike Emmel <[EMAIL PROTECTED]> wrote:
> > I was wondering of we could make this change
> >
> > diff --git a/configure.in b/configure.in
> > index 2349cec..67db470 100644
> > --- a/configure.in
> > +++ b/configure.in
> > @@ -365,9 +365,6 @@ AC_ARG_ENABLE(debug,
> >    enable_debug=no)
> >  if test "$enable_debug" = "yes"; then
> >      CFLAGS="$CFLAGS -g3 -fno-inline"
> > -    DIRECT_BUILD_DEBUG=1
> > -else
> > -    DIRECT_BUILD_DEBUG=0
> >  fi
> >
> >
> > We have another flag --enable-debug-support
> >
> > So the combination --enable-debug --enable-debug-support get the full
> > debug version while --enable-debug will just get the standard C symbol
> > debug.
> >
> > The reason is I'm seeing some problems that may potentially be related
> > to C++ and the enhanced debug support.
> > I've made this change locally for various other reasons in the past.
> >
>

_______________________________________________
directfb-dev mailing list
directfb-dev@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to