Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!cs.utexas.edu!rice!sun-spots-request From: glenn@wacsvax.uwa.oz (Glenn Huxtable) Newsgroups: comp.sys.sun Subject: Porting Pic to SPARC - how to pass union arguments? Keywords: Miscellaneous Message-ID: <8513@brazos.Rice.edu> Date: 5 Jun 90 08:45:10 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 17 Approved: Sun-Spots@rice.edu X-Sun-Spots-Digest: Volume 9, Issue 196, message 14 I am trying to get the BSD version of DWB working on a SPARC. Most things are ok except 'pic'. It makes copious use of passing various types to a function which is trying to use a union argument. The SPARC manuals say that you cannot do this. I cant think of any neat way around this without rewriting 'picy.y', I dont want to touch that if I can help it. Does anyone have patches to the BSD-DWB pic, or can anyone suggest ways around the problem? The problem may also be YACC related since it is using YACC's YYSTYPE union to pass int's, char *'s and struct *'s. Perhaps YACC users may have met similar problems? ACSnet - glenn@wacsvax.cs.uwa.oz glenn huxtable Internet - glenn@wacsvax.cs.uwa.oz.au dept of computer science Phone - +61 09 380 2878 university of western australia Fax - +61 09 382 1688