Article View: comp.windows.ms
Article #13299Re: The PASCAL keyword
From: Bill Turner
Date: Mon, 21 Nov 1988 17:46
Date: Mon, 21 Nov 1988 17:46
13 lines
1024 bytes
1024 bytes
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
Technical Details
Message-ID:
<106580001@hpcvlx.HP.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!ncrlnk!ncr-sd!hp-sdd!hplabs!hp-pcd!hpcvlx!bturnerReferences:
<2276@PEDEV.Columbia.NCR.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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