On Thu, Feb 5, 2015 at 6:24 PM, wangwzc <wang...@sina.com> wrote: > 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?
Why do you think there is C99 standard code? > > sctp_input.c:3928:1: pasting "sctps_ch_rcvd" and "[" does not give a valid > preprocessing token GCC is correct pasting sctps_ch_rcvd and [ does not give a valid preprocessing token. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=7976 Thanks, Andrew > > #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/Pasting-sctps-ch-rcvd-and-does-not-give-a-valid-preprocessing-token-tp1118460.html > Sent from the gcc - bugs mailing list archive at Nabble.com.