Path: utzoo!censor!geac!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!sdd.hp.com!wuarchive!uunet!mcsun!ukc!axion!delluk!tim From: tim@delluk.uucp (Tim Wright) Newsgroups: comp.unix.sysv386 Subject: Re: Roell's X11R4 server & TCP Problem Found/Solved? Message-ID: Date: 10 Dec 90 10:09:48 GMT References: <1990Dec5.184636.8459@sdgsun.uucp> <5952@tuminfo1.lan.informatik.tu-muenchen.dbp.de> Sender: usenet@delluk.uucp (Usenet posting login) Organization: Dell Computer Corp., Bracknell, UK Lines: 15 In <5952@tuminfo1.lan.informatik.tu-muenchen.dbp.de> roell@informatik.tu-muenchen.dbp.de (Thomas Roell) writes: >>the Sun and it doesn't work. Using cc on the 386, the program work! >>So it seems that gcc is the problem here. I haven't spent any time >>trying to figure out why. I hope someone more familar with gcc >>could tell me. >GCC has definitively problems with handling structs as paramters to functions. Surely there's no problem if you use gcc -fpcc-struct-return ???? -- Tim Wright, Dell Computer Corp. (UK) | Email address Bracknell, Berkshire, RG12 1RW | Domain: tim@dell.co.uk Tel: +44-344-860456 | Uucp: ...!ukc!delluk!tim "What's the problem? You've got an IQ of six thousand, haven't you?"