sloane@noscvax.UUCP (07/16/84)
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@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@nosc * * UUCP: [ihnp4,akgua,decvax,dcdwest,ucbvax]!sdcsvax!noscvax!sloane * * **************************************************************** *
steiny@scc.UUCP (Don Steiny) (07/17/84)
** > if the system administrator > doesn't know the sizeof's, who else will? Perhaps the the salesperson that sold them the system will know who to ask at the company that "fixed" the software. These days all UNIX systems do not have to have someone that knows about the internals around to keep it running. Hopefully this will be even less necessary as time goes on. We don't say, "if your DOS 2.1 administrator doesn't know the size of a FAT entry ..." ,Don Steiny ucbvax!twg!scc!steiny ihnp4!pesnta!scc!steiny fortune!idsavs!scc!steiny