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

Re: [PATCH] -std-c89 not supported

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2003-06-18 08:01:17 CEST

--On Wednesday, June 18, 2003 11:40 AM +1000 leif.eriksen@hpa.com.au wrote:

> * configure.in
> not all versions of gcc support the -std=c89 flag. This change tests the
> compiler version and sets the CFLAGS value appropriately.

IIRC, I think Sander was seeing problems on Solaris with gcc 3.x since
Solaris's headers when POSIX_PTHREAD_SEMANTICS is defined (which APR does by
default) aren't compatible with C89. If you don't want POSIX compliance, then
Solaris's headers are strict C89, AIUI.

So, I'd suggest yanking this entirely as C89 is too restrictive and might only
work for a small subset of platforms (perhaps Linux, if that). -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jun 18 08:02:05 2003

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.