MSC Danger (was Re: Turbo C vs Quick C)

Russ Nelson nelson at sun.soe.clarkson.edu
Mon Feb 22 05:56:18 AEST 1988


In article <112 at westmark.UUCP> dave at westmark.UUCP (Dave Levenson) writes:
>MS-C release 3.0 and 4.0 also check for NULL pointer references at
>runtime.  They do this by [checking..] the first sixteen bytes of the data
>segment. If they don't compare, the runtime package displays the
>message "NULL POINTER REFERENCE" as your program exits.

Turbo C does this also.  Perhaps what the original poster meant was that
MS-C 5.0 checks *every* pointer use for the null pointer.
-- 
-russ
AT&T: (315)268-6591  BITNET: NELSON at CLUTX  Internet: nelson at clutx.clarkson.edu
GEnie: BH01  Compu$erve: 70441,205



More information about the Comp.lang.c mailing list