home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!iWarp.intel.com|ichips!intelhf!rhurwitz
- From: rhurwitz@hfglobe.intel.com (Roger Hurwitz)
- Subject: Murphy's Law : Variable Argument Macros
- Message-ID: <1992Jul24.175006.9137@intelhf.hf.intel.com>
- Followup-To: rhurwitz@mstuux.intel.com
- Keywords: variable arguments, macros
- Sender: Roger Hurwitz
- Organization: Development Tools Operation, Intel Corp., Hillsboro, OR
- Date: Fri, 24 Jul 92 17:50:06 GMT
- Lines: 18
-
-
- Murphy's Law #563:
-
- "The day after you ignore a seemingly irrelevant thread
- on comp.lang.c you will be presented with a problem
- requiring a thorough understanding of that thread."
-
- Can someone please send me the solution summary for
- passing a variable number of arguments through a
- macro "function". I need to write an error message
- macro that combines __FILE__ and __LINE__ information
- as well as a variable number of user arguments to
- put together using vsprintf.
-
- Thanks,
- Roger Hurwitz
-
-
-