This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
## addition to gcc manual
- To: gcc at gcc dot gnu dot org
- Subject: ## addition to gcc manual
- From: Byron Young <bkyoung at cwnet dot com>
- Date: Thu, 30 Aug 2001 10:54:08 -0700
Hello:
Recently, while browsing thru the Linux code in Linux Core Kernel
Commentary 2nd Edition, (1588801497), the following structure was noted:
#define __setup(str, fn) \
static char __setup_str_##fn[] __initdata = str; \
static struct kernel_param __setup_##fn __attribute__((unused))
__initsetup
= { __setup_str_##fn, fn }
from line 19041, pg 206-207
also, line 65, include/linux/init.h
The question is what does the ## mean.
The answer is being discussed on the kernelnewbies mailing list
(kernelnewbies@nl.linux.org and has been answered rather well.
The gcc manual on the www.gnu.org website seems to contain no mention of
this. The index, in the # section, makes no reference to ##.
Is adding this information to the gcc manual possible?
Thanks,
Byron Young
bkyoung@cwnet.com