Re: [CODE] bpl12 Suggestions

From: d. hall (dhall@APK.NET)
Date: 08/18/97


// thus on Mon, 18 Aug 1997 10:47:20 -0700, Daniel virtually wrote:

Daniel> No, you're right, it doesn't take all that much.  But people always
Daniel> forget to use an __attribute__ so that GCC (I'm not sure if it's
Daniel> ANSI C) will report errors in the format like printf().  LOok at
Daniel> the info files for stuff like that.

,---
|
| Taken from somewhere... (I think I grabbed it from gcc-info page at one
| time, not 100% sure.
|
| int
| zprintf (fd_num *descriptor, const char *format, ...)
|          __attribute__ ((format (printf, 2, 3)));
|
| I believe this is what you're referring to?
|
`---

d.


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST