From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,2afd440a210c7fb0 X-Google-Attributes: gidf7344,public X-Google-Thread: 1014db,6bdc5c27a0dec527 X-Google-Attributes: gid1014db,public X-Google-Thread: 1164f8,df8a3dc583bf1f5f X-Google-Attributes: gid1164f8,public From: fred@genesis.demon.co.uk (Lawrence Kirby) Subject: Re: Compaq prefers Alpha over Merced! BUT OF COURSE, ALPHA * Date: 1998/08/30 Message-ID: <904480575snz@genesis.demon.co.uk>#1/1 X-Deja-AN: 386153387 References: <0095000017115526000002L062*@MHS> <6s910k$2bo$1@Starbase.NeoSoft.COM> <35e833be.0@news.wizvax.net> <6sac4v$4ti$1@Starbase.NeoSoft.COM> <35e8f9d7.0@news.wizvax.net> X-Complaints-To: abuse@demon.net X-Mail2News-Path: news.demon.net!genesis.demon.co.uk X-Trace: mail2news.demon.co.uk 904489119 mail2news:9142 mail2news mail2news.demon.co.uk Organization: none Reply-To: fred@genesis.demon.co.uk Newsgroups: comp.os.vms,comp.sys.dec,comp.lang.c In article <35e8f9d7.0@news.wizvax.net> wilson@dbit.com "John Wilson" writes: >In article <6sac4v$4ti$1@Starbase.NeoSoft.COM>, >Jordan Henderson wrote: >>I believe that a conforming implementation can write the code in-line >>for any Standard Library call (and optimize based on this in-lining). >>This seems to me to make the entire Standard Library part of the >>"core language". > >I don't have the C Standard in hand either but it certainly seems like it >would be mighty presumptuous of the compiler to inline library calls unless >it first sees the right "#include <>" statements for those libraries, until >that point it can't be sure that it's really a library call as opposed to >some user-written function of the same name. The names of standard library functions are reserved as identifiers with external linkage. That means that it isn't valid for a user program to provide definitions for them. Therefore a compiler is well within its rights to inline calls to functions with external linkage that have the name of a standard library function. -- ----------------------------------------- Lawrence Kirby | fred@genesis.demon.co.uk Wilts, England | 70734.126@compuserve.com -----------------------------------------