Path: utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hp-pcd!hpcvlx!bturner From: bturner@hpcvlx.HP.COM (Bill Turner) Newsgroups: comp.windows.ms Subject: Re: The PASCAL keyword Message-ID: <106580001@hpcvlx.HP.COM> Date: 21 Nov 88 17:46:12 GMT References: <2276@PEDEV.Columbia.NCR.COM> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 13 The only problem with using the -Gc option is that it applies to the C runtime functions as well. If you make sure to use the include files for *all* of the standard C runtime functions, the definitions will be correct. And if you're linking to some objects generated without -Gc you'll have to explicitly declare C calling conventions. [My personal opinion is that relying on default behavior is not really correct; when it changes, you get bit very hard. I always use function prototypes, and never default int parms/returns. Having said that, though, I *do* default C calling conventions... we all have our weaknesses. :-)] --Bill Turner