sizeof (integral types)

Doug Gwyn gwyn at smoke.BRL.MIL
Wed Apr 19 07:09:26 AEST 1989


In article <29193 at apple.Apple.COM> austing at Apple.COM (Glenn L. Austin) writes:
-In article <10064 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
->In article <29127 at apple.Apple.COM> austing at Apple.COM (Glenn L. Austin) writes:
->-In article <10044 at smoke.BRL.MIL> gwyn at brl.arpa (Doug Gwyn) writes:
->->longs are at least 32 bits.
->-longs are guaranteed to be at least 24 bits (according to C++, sec 2.3.1)
->That's nice, but Mr. Schmidt was inquiring about the C standard, not C++.
-Considering that C++ is an *EXTENSION* of C (and was written with K&R as
-active participants), the fact that C++ talks about longs as at least 24 bits
-is true for C as well.

(1)  C++ is NOT an extension of Standard C.  They are fundamentally
     incompatible in a few ways and are likely to remain so.
(2)  C is in no way constrained by what Mr. Stroustrup may have to say
     about the rules for C++.
(3)  The forthcoming C standard required longs to be at least 32 bits.
(4)  What do Brian and Dennis have to do with this?



More information about the Comp.lang.c mailing list