Path: csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: Effect of CPP tags Date: Sun, 31 Dec 2023 18:32:49 -0800 Organization: A noiseless patient Spider Lines: 15 Message-ID: <8634vhu6jy.fsf@linuxsc.com> References: <87frzkvnnk.fsf@nosuchdomain.example.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: dont-email.me; posting-host="4ad5b29cc5222e274263b40ba81c3fd0"; logging-data="2026768"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1812TQNW1IdWPO2El78MzBA20vC/NH0gfY=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:ijuDCF+1J9d7GR68chC/miqwvQo= sha1:BBfebxxcY3znsy6F5+oCjaHqUPw= Xref: csiph.com comp.lang.c:379728 Keith Thompson writes: > Janis Papanagnou writes: > [...] > >> BTW, is 'inline' meanwhile C standard? (I know that from C++ but >> haven't done much C for long now.) > > C added inline in C99 (the 1999 edition of the ISO C standard, the same > one that removed implicit int). > > I think C and C++ have subtly different semantics for inline. I'm not a C++ expert, but as best I can tell C and C++ have markedly different semantics for what 'inline' does.