From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,71171f53c22d92b5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-14 09:57:44 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!cs.tu-berlin.de!uni-duisburg.de!not-for-mail From: Georg Bauhaus Newsgroups: comp.lang.ada Subject: Re: C's trikery semantic opens up backdoor in new Linux kernel Date: Fri, 14 Nov 2003 17:57:42 +0000 (UTC) Organization: GMUGHDU Message-ID: References: <3FB1A63C.9080200@nowhere.com> NNTP-Posting-Host: l1-hrz.uni-duisburg.de X-Trace: a1-hrz.uni-duisburg.de 1068832662 27498 134.91.1.34 (14 Nov 2003 17:57:42 GMT) X-Complaints-To: usenet@news.uni-duisburg.de NNTP-Posting-Date: Fri, 14 Nov 2003 17:57:42 +0000 (UTC) User-Agent: tin/1.5.8-20010221 ("Blue Water") (UNIX) (HP-UX/B.11.00 (9000/800)) Xref: archiver1.google.com comp.lang.ada:2502 Date: 2003-11-14T17:57:42+00:00 List-Id: Duncan Sands wrote: : On Friday 14 November 2003 16:08, Georg Bauhaus wrote: :> Vinzent 'Gadget' Hoefler wrote: :> : Of course. But think about it: Isn't it a funny thing that you can do :> : a thing efficient enough in Ada just to prevent a problem in C, which :> : OTOH you even wouldn't have at all if you'd use Ada in the first :> : place? :> : : : By the way, here is an extract from the linux kernel documentation: : : 3) 'static inline' is better than a macro : : 'static inline' is preferred over 'static __inline__', 'extern inline', : and 'extern __inline__'. So there is no inlining problem in C. Is there still resitance to using a function then? If so, is it an effect of a "C mindset"? -- Georg