#if sizeof()

sloane at noscvax.UUCP sloane at noscvax.UUCP
Tue Jul 17 01:13:22 AEST 1984


The #if sizeof() expression could be added to cpp NOT by including a large
part of the C compiler, but by having a table built by the installer at
installation time. Not a true sizeof(), as it would only know about standard
C types, like ints, unsigned and signed chars, etc, but for portability
of code this would be nice...  Granted, this means that the installer will
have to build the table (once) manually, but if the system administrator
doesn't know the sizeof's, who else will? 

In *partial* jest -


    * **************************************************************** *
    * Gary K. Sloane/Computer Sciences Corporation/San Diego, CA 92110 *
    * DDD: (619) 225-8401                                              *
    * MILNET: sloane at nosc                                              *
    * UUCP: [ihnp4,akgua,decvax,dcdwest,ucbvax]!sdcsvax!noscvax!sloane *
    * **************************************************************** *
-- 
    * **************************************************************** *
    * Gary K. Sloane/Computer Sciences Corporation/San Diego, CA 92110 *
    * DDD: (619) 225-8401                                              *
    * MILNET: sloane at nosc                                              *
    * UUCP: [ihnp4,akgua,decvax,dcdwest,ucbvax]!sdcsvax!noscvax!sloane *
    * **************************************************************** *



More information about the Comp.lang.c mailing list