Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!ut-emx!nowhere!sking From: sking@nowhere.uucp (steven king) Newsgroups: comp.lang.c++ Subject: ansi c output from cfront(s) Message-ID: <9008181728.3322@nowhere.uucp> Date: 18 Aug 90 17:28:04 GMT Organization: nowhere Lines: 30 I have two implementations of cfront 2.0, Guidelines (for dos) and Intek (unix); both provide an "a+" option to generate "ansi c" output as opposed to the default K&R; so I assume its part of the AT&T product. However, when presented with a class ala class foo { public: foo(); ~foo(); }; what is emitted for the destructor is a proto of the form void __dt__3fooFv(struct foo *__0this, int ); ^^^^? the only "ansi c" compiler I have available to me (Microsoft C 6.0) chokes on this. Which has the bug, the cfront(s) or MSC? (The ansi mode is importantant to me because MSC wont convert functions like memcpy, etc., into their intrinsic form with a K&R style proto) thanxs, -- NONE of the standard disclaimers apply =============================================================================== UUCP: ...!cs.utexas.edu!ut-emx!nowhere!sking