This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

## addition to gcc manual


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]