🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #52584

Can I make my functions work with -Wformat?

#52584
From: Gregory N. Bond
Date: Wed, 24 Jun 1992 10:34
13 lines
1189 bytes
Is these some interface defined (probably a #pragma) than allows me to
associate with a function declaration the checking of printf-type
arguments that -Wformat does?

I have had a fossic around the code, and the relevent routine
(record_format_info()) is in fact called from decl_attributes(), but I
cannot fathom how the relevent attributes (others include "aligned",
"packed"), are specified.

Greg.
--
Gregory Bond <gnb@bby.oz.au> Burdett Buckeridge & Young Ltd Melbourne Australia
"Take my archetypes - please!" - Henny Jungman (geoffm@purplehaze.Corp.Sun.COM)
Technical Details
Message-ID: <1992Jun24.103451.4683@melba.bby.oz.au>
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!melba.bby.oz.au!gnb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,870838bd4f6eeada,start
X-Google-Attributes: gid11318c,public
X-Google-ArrivalTime: 1992-06-24 09:28:40 PST
Path: arc1-ca.pugleaf.net!sparky!uunet!munnari.oz.au!mel.dit.csiro.au!yarra!melba.bby.oz.au!gnb
From: gnb@duke.bby.oz.au (Gregory N. Bond)
Newsgroups: gnu.gcc.help
Subject: Can I make my functions work with -Wformat?
Message-ID: <1992Jun24.103451.4683@melba.bby.oz.au>
Date: 24 Jun 92 10:34:51 GMT
Sender: usenet@melba.bby.oz.au (news READER id)
Organization: Burdett, Buckeridge & Young, Melbourne, Australia
Lines: 13
Nntp-Posting-Host: duke