Portability of passing/operating on structures...

Chip Salzenberg chip at ateng.ateng.com
Thu Oct 20 09:25:47 AEST 1988


According to mh at wlbr.EATON.COM (Mike Hoegeman):
>I've worked on alot of machines where you cannot do ANY [structures in
>assignment, as parameters and as function return values].
>Maybe that's not "right". Maybe one should boycott such compilers. Any
>way you look at it though it's still not portable.

This is a personal decision.  Do you pander to every broken compiler?  Or
do you concentrate on making the best code that will be accepted by any
correct compiler?

To each his own.

As for my opinion:  If your compiler's broken, take it up with your vendor.
-- 
Chip Salzenberg             <chip at ateng.com> or <uunet!ateng!chip>
A T Engineering             Me?  Speak for my company?  Surely you jest!
	   Beware of programmers carrying screwdrivers.



More information about the Comp.lang.c mailing list