build error: pasting "sctps_ch_rcvd" and "[" does not give a valid preprocessing token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I use gcc version 3.4.4, build the following lines, but it the following
error, what does it means, it seem no error according the C99 standard. Is
it a gcc bug?

sctp_input.c:3928:1: pasting "sctps_ch_rcvd" and "[" does not give a valid
preprocessing token

#define SCTP_CHUNK_STAT_INCR(chk_id, name)	\
	atomic_add_int(&sctpstat.sctps_ch_##name##[chk_id], 1); 

SCTP_CHUNK_STAT_INCR(ch->chunk_type, rcvd);





--
View this message in context: http://gcc.1065356.n5.nabble.com/build-error-pasting-sctps-ch-rcvd-and-does-not-give-a-valid-preprocessing-token-tp1118458.html
Sent from the gcc - Help mailing list archive at Nabble.com.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux