[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: <leif.eriksen_at_hpa.com.au>
Date: 2003-06-19 02:00:57 CEST

So perhaps the original patch was OK, as c89 doesn't work on my GCC 2.96 on
RH7.1, and the patch specifically tested this.

Perhaps it would be easiest if a test was added to the configure.in that
test whether the -std=c89 on the platform in question works - much like the
testing for finding the Berkeley DB headers and libraries - it actually
tries to compile a code snippet, and checks the return code of the compile
and the execution of the resulting binary.

Or we could add a note to the INSTALL file that a compiler that supports
-std=c89 is required and a tip to edit the CFLAGS in the resulting Makefile
if it causes an issue.

Leif Eriksen
HPA - IT Development
+61 3 9217 5545

-----Original Message-----
From: Michael Price [mailto:michael.price@computer.org]
Sent: Thursday, June 19, 2003 1:48 AM
To: Kevin Pilch-Bisson; Michael Price
Cc: Sander Striker; Justin Erenkrantz; Leif Eriksen;
Subject: Re: [PATCH] -std-c89 not supported

--- Kevin Pilch-Bisson <kevin@pilchie.homeip.net> wrote:
> On Wed, Jun 18, 2003 at 08:40:09AM -0700, Michael Price wrote:
> > --- Kevin Pilch-Bisson <kevin@pilchie.homeip.net> wrote:
> > If there is a test if should be based on the compiler not the OS.
> It also depends on the system header files used by the compiler.
> Perhaps with your version of solaris it works fine, but with some
> other ones,
> it doesn't.
> Feel free to add your version of solaris to the list of platforms
> where it is
> enabled.

Feel free to demonstrate any platform where gcc 3.3 compiles and is
installed properly and the option doesn't work.



The contents of this e-mail and its attachments are confidential and intended
solely for the use of the individual or entity to whom they are
addressed. If you received this e-mail in error, please notify
the HPA Postmaster, postmaster@hpa.com.au, then delete
the e-mail.

This footnote also confirms that this e-mail message has been swept for
the presence of computer viruses by MimeSweeper. Before opening or
using any attachments, check them for viruses and defects.

Our liability is limited to resupplying any affected attachments.

HPA collects personal information to provide and market our services.
For more information about use, disclosure and access see our Privacy
Policy at www.hpa.com.au

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 19 02:01:54 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.