From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21371 invoked by alias); 6 Feb 2015 02:42:42 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 21303 invoked by uid 89); 6 Feb 2015 02:42:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.5 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS,URI_HEX autolearn=no version=3.3.2 X-HELO: mail-lb0-f179.google.com Received: from mail-lb0-f179.google.com (HELO mail-lb0-f179.google.com) (209.85.217.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 06 Feb 2015 02:42:24 +0000 Received: by mail-lb0-f179.google.com with SMTP id z11so13150226lbi.10 for ; Thu, 05 Feb 2015 18:42:20 -0800 (PST) MIME-Version: 1.0 X-Received: by 10.152.22.129 with SMTP id d1mr834121laf.22.1423190540802; Thu, 05 Feb 2015 18:42:20 -0800 (PST) Received: by 10.25.21.3 with HTTP; Thu, 5 Feb 2015 18:42:20 -0800 (PST) In-Reply-To: <1423189487459-1118460.post@n5.nabble.com> References: <1423189487459-1118460.post@n5.nabble.com> Date: Fri, 06 Feb 2015 02:42:00 -0000 Message-ID: Subject: Re: Pasting "sctps_ch_rcvd" and "[" does not give a valid preprocessing token From: Andrew Pinski To: wangwzc Cc: GCC Bugs Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2015-02/txt/msg00528.txt.bz2 On Thu, Feb 5, 2015 at 6:24 PM, wangwzc 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.