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=unavailable autolearn_force=no version=3.4.4 Path: border1.nntp.dca.giganews.com!nntp.giganews.com!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Simon Clubley Newsgroups: comp.lang.ada Subject: Re: Text_IO, was: Re: Something I don't understand Date: Thu, 20 Feb 2014 00:50:28 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: <4a3e55f6-9f54-4084-9f37-96efd4b0d349@googlegroups.com> <0b358700-871b-4603-addd-65e07c7d59e5@googlegroups.com> Injection-Date: Thu, 20 Feb 2014 00:50:28 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="e458ff8b81bc0c159989eb0e36c6e372"; logging-data="30559"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+qraPcDhlPOvJm/EhfM0xxG/hmltgGlJ4=" User-Agent: slrn/0.9.8.1 (VMS/Multinet) Cancel-Lock: sha1:hPvDtycdWxu/LwS9klyW+SZp/Hs= Xref: number.nntp.dca.giganews.com comp.lang.ada:185019 Date: 2014-02-20T00:50:28+00:00 List-Id: On 2014-02-19, Robert A Duff wrote: > Simon Clubley writes: > >> And voila, C printf templates in a fully Ada type safe manner. > > Note that C printf templates are type safe (statically!) if you use > gcc, and if you always use statically-known templates (which in my > experience is true approximately 100% of the time). > Note to self: Next time, don't use the phrase "And voila" as a casual afterthought without actually thinking things through a bit more. :-) Simon. -- Simon Clubley, clubley@remove_me.eisner.decus.org-Earth.UFP Microsoft: Bringing you 1980s technology to a 21st century world