This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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

Attachment: signature.asc
Description: This is a digitally signed message part


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]