bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSGraphics.h:146: warning


From: Chris B. Vetter
Subject: Re: NSGraphics.h:146: warning
Date: Wed, 21 May 2003 09:55:34 -0700

On Wed, 21 May 2003 17:29:38 +0200
Stefan Urbanek <urbanek@host.sk> wrote:
> Some projects with enabled -Werr will not compile with warnings (and
> some of them have many subprojects where this flag is set), and this
> warning comes from -gui.
> I am using latest released version of gcc 3.3
> How this should be fixed?

There's a new flag for gcc33 that will turn off this warning:
        -fno-strict-aliasing

Maybe we could add some environment variable like CCVERSION to -make
that can be used in makefiles, something like

  ifeq ($(CCVERSION), xy)

  ADDITIONAL_OBJCFLAGS += [...]

  endif

Would be especially helpful with gcc33 and this particular warning. Most
of GNUstep applications (that use -Werror) currently need modifications
to their makefiles (either remove -Werror, or add -fno-strict-aliasing)

-- 
Chris




reply via email to

[Prev in Thread] Current Thread [Next in Thread]