Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2003 15:45:22 +0100
From:      Mike Bristow <mike@urgle.com>
To:        deischen@freebsd.org
Cc:        Dag-Erling Sm?rgrav <des@des.no>
Subject:   Re: Q) jdk1.4.1 compile on -current
Message-ID:  <20030727144522.GA5168@guylian.urgle.com>
In-Reply-To: <Pine.GSO.4.10.10307271037190.4242-100000@pcnet5.pcnet.com>
References:  <1059315714.47363.4.camel@lir.urgle.com> <Pine.GSO.4.10.10307271037190.4242-100000@pcnet5.pcnet.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jul 27, 2003 at 10:40:56AM -0400, Daniel Eischen wrote:
> Anyone know what "#var" does?

Stringify.

mike@lir:~$ cat > test.cpp
#define foo(bar) #bar
  
foo(McKusick)
^D
mike@lir:~$ cpp test.cpp
# 1 "test.cpp"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "test.cpp"
 
 
"McKusick"
mike@lir:~$



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030727144522.GA5168>