[comp.windows.ms] The PASCAL keyword

bturner@hpcvlx.HP.COM (Bill Turner) (11/22/88)

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