[cp-patches] cp-tools: fix build options

Mark Wielaard mark@klomp.org
Sun Dec 17 16:29:00 GMT 2006


Hi Andrew,

On Sat, 2006-12-16 at 17:40 +0000, Andrew Haley wrote:
> Mark Wielaard writes:
>  > On Sat, 2006-12-16 at 15:48 +0000, Andrew Haley wrote:
>  > > Mark Wielaard writes:
>  > > > I couldn't find any documentation that describes what -w is
>  > >  > supposed to provide, so I don't really know what to suggest as
>  > >  > alternative. If this flag is compiler specific you might want to
>  > >  > add a configure flag and adjust the definition of JCOMPILER at the
>  > >  > top directly.
>  > > 
>  > > We need to turn off warnings during the build.  If we don't do that,
>  > > it's impossible to find any build errors.
>  > 
>  > It seems better to fix the warnings.
> 
> I agree, but that's at least a year away, I expect.  In the meantime
> we must turn off the warnings.

Lets just turn off the warnings that we also disable for the core
classes. It would be nice to re-enable the unchecked and varargsCast
warnings later on though. Also done for examples:

2006-12-17  Mark Wielaard  <mark@klomp.org>

    * examples/Makefile.am (JCOMPILER): Don't warn for deprecation,
    serial, typeHiding, unchecked, unused and varargsCast.
    * tools/Makefile.am (JCOMPILER): Likewise.

Committed,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jcompiler-warn.patch
Type: text/x-patch
Size: 1666 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20061217/4bfe8a89/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://gcc.gnu.org/pipermail/java-patches/attachments/20061217/4bfe8a89/attachment.sig>


More information about the Java-patches mailing list