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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fac41,af40e09e753872c X-Google-Attributes: gidfac41,public X-Google-Thread: 103376,30e368bdb3310fe5 X-Google-Attributes: gid103376,public X-Google-Thread: 1014db,30e368bdb3310fe5 X-Google-Attributes: gid1014db,public X-Google-Thread: 109fba,f292779560fb8442 X-Google-Attributes: gid109fba,public X-Google-Thread: 1008e3,30e368bdb3310fe5 X-Google-Attributes: gid1008e3,public X-Google-Thread: f8c65,30e368bdb3310fe5 X-Google-Attributes: gidf8c65,public X-Google-Thread: 10db24,30e368bdb3310fe5 X-Google-Attributes: gid10db24,public From: kenner@lab.ultra.nyu.edu (Richard Kenner) Subject: Re: Hungarian notation Date: 1996/05/23 Message-ID: <4o1rso$dii@news.nyu.edu>#1/1 X-Deja-AN: 156407827 references: <31a3b1b5.442039268@sqarc> organization: New York University Ultracomputer Research Lab newsgroups: comp.lang.ada,comp.lang.c++,comp.lang.c,comp.lang.modula3,comp.lang.modula2,comp.edu,comp.lang.eiffel Date: 1996-05-23T00:00:00+00:00 List-Id: In article kanze@lts.sel.alcatel.de (James Kanze US/ESC 60/3/141 #40763) writes: >You should have read the rest of my posting. Gcc does *NOT* check the >arguments of the formatter string when that string is not a string >literal. In practice, the string will in fact almost always be the >return value of a function: gettext on X/Open systems, for example. In >most cases, the string will not yet have been written at the time the >code is compiled. > >Since the semantics of gettext are defined by the X/Open standard, gcc >could presumably also recognize this, and treat it as a special hack. Indeed somebody else suggested this yesterday. I'll implement it when I get a chance.