delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/05/19/07:57:49

Date: Wed, 19 May 1993 13:06:53 +0200
From: sperber AT midi DOT informatik DOT uni-tuebingen DOT de (Michael Sperber [Mr. Preprocessor])
To: andy AT green DOT la DOT asu DOT edu, djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Problem with the preprocessor

I wrote:

> #define magic_stringize(x) x
> #define stringize(x) # x

Ooops, I botched it.  Of course, it's:

#define magic_stringize(x) # x
#define stringize(x) magic_stringize(x)

Cheers =8-} Chipsy

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019