Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!lll-winken!arisia!sgi!shinobu!odin!delrey!shap From: shap@delrey.sgi.com (Jonathan Shapiro) Newsgroups: comp.lang.c++ Subject: Re: stdargs on sparc Message-ID: <1972@odin.SGI.COM> Date: 13 Dec 89 19:17:17 GMT References: <22612@brunix.UUCP> Sender: news@odin.SGI.COM Organization: Silicon Graphics, Inc., Mountain View, CA Lines: 17 In article <22612@brunix.UUCP> sdm@cs.brown.edu (Scott Meyers) writes: >If anybody has managed to make stdargs work on a sparcstation with CC 2.0, >I would really appreciate hearing about how you did it! This came up here recently. The answer is that because the default compilation model in cfront 2.0 does *not* generate ansi-style prototypes, the '...' doesn't get through to your C compiler, and so stdarg doesn't work. The workaround we used is to compile the relevant file(s) using CC2 +a1 which generates ansi prototypes. May or may not work for you... Jon