[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Single Character Compile nit on Win32

From: Zack Weinberg <zack_at_codesourcery.com>
Date: 2002-06-06 18:53:00 CEST

On Thu, Jun 06, 2002 at 12:30:56PM -0400, Alan Shutko wrote:
> "Kirby C. Bohling" <kbohling@birddog.com> writes:
>
> > So how about -ansi -pedantic -Wno-long-long if that exists for
> > the 2.95 compiler
>
> I've just checked 2.95, and it does have this flag.

Just -pedantic -Wno-long-long will do. You don't want to specify
-ansi (or -std=anything); it is liable to cause the system headers to
limit the set of provided declarations, which in turn will cause APR
to be confused. All the useful standard-compliance warnings (that you
don't get already with -Wall) come with -pedantic.

zw

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 6 18:53:46 2002

This is an archived mail posted to the Subversion Dev mailing list.