[cp-patches] cp-tools: fix build options
Mark Wielaard
mark@klomp.org
Sat Dec 16 16:13:00 GMT 2006
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. Often they point to slightly wrong
or confusing code.
So, -w is accepted by your version of ecj? Can you try to find a flag
that is accepted by all versions of ecj to suppress the warnings you are
not explicitly interested in? lib/Makefile.am has some examples of
warning flags that seem to work in the JCOMPILER definitions.
Thanks,
Mark
-------------- 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/20061216/ff41a36f/attachment.sig>
More information about the Java-patches
mailing list