1 msggt-c-pragma.h:46: parse error before `__attribu...
2 msgHow to control the gcc's output format?
1 msg[VASTU BULLETIN VOLUME-29]
1 msgStrange code generation by x86_64-pc-linux-gnu
5 msglinker problem
5 msgJava AWT and Swing support of GCJ
1 msgHow could I get the gomp-20050608-branch source...
5 msgabout f77/f90 and gcc
1 msgVIS support in GCC for SPARC
1 msgCompilation problems on Fedora Core 5 and GCC 4.1
1 msgLionel Roux/Marnes/FR/BIO-RAD est absent(e). Li...
3 msgProblem about ccl.

A question about a MACRO,EXPORT_SYMBOL
\ cheng long (23 Apr 2006)
. \ Brian Dessent (23 Apr 2006)

1 msglibmudflap build or configuration problems
2 msgbinary compatibility between g++ 3.3.1 and 3.4....
3 msgRe: Undefined References while linking with wea...
2 msgProblem with virtual const
17 msgRe: Fwd: error in variable dereferencing
4 msgcompile issue - newbie
1 msgTry to build shared library Solaris x86, but '-...
Subject:Re: A question about a MACRO,EXPORT_SYMBOL
Group:Gcc-help
From:Brian Dessent
Date:23 Apr 2006


cheng long wrote:

> 1 #define EXPORT_SYMBOL(sym) \
> 2 static const char __kstrtabe_##sym[]=#sym; \
> 3 static const struct kernel_symbol_ksymtab_##sym \
> 4 = { (unsigned long)&sym, __kstrtab_##sym }
>
> My questions are:
> 1. What's the "#" mean in line 2?

http://gcc.gnu.org/onlinedocs/gcc-4.1.0/cpp/Stringification.html


© 2004-2008 readlist.com