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

Re: [PATCH] compile fs-test.c with non-gcc compiler

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-09-13 00:47:05 CEST

D. J. Hagberg wrote:

>* fs-test.c
> (check_related) File failed compilation with Sun/Forte cc compiler
> due to struct assignment. This fix changes pr1 and pr2 to be
> assigned as pointers and dereferenced as pointers. SunPro cc
> doesn't seem to follow the convention of bitwise copies of
> structs on assignments.
>
It's not a convention, it's a standard feature of ISO C. Witness that
even HP's notoriously quirky C complier handles that code without
complaints.

Are you sure there are no optiions that would modify the behaviour of
Sun's cc to accept that code?

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 13 00:47:45 2002

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.