Subject: Re: Crossbuilding broken with GCC4.
To: Roland Illig <rillig@NetBSD.org>
From: Martin Husemann <martin@duskware.de>
List: tech-toolchain
Date: 09/23/2005 11:24:54
On Fri, Sep 23, 2005 at 01:16:27AM +0200, Roland Illig wrote:
> I would use
>
> #if 0 /* $reason */
> old_code();
> #else
> #endif
>
> instead of
>
> /* old_code(); */.
No need to keep the old code at all - cvs can show it if we need to look
at it again.
Can this warning be avoided with a compiler option? If so I think adding
a test to the makefiles triggered on gcc version to add some -Wno-XXXX
would be preferable.
Martin