From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 83392 invoked by alias); 12 Oct 2017 21:07:43 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 82325 invoked by uid 89); 12 Oct 2017 21:07:41 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM autolearn=no version=3.3.2 spammy= X-HELO: mail-io0-f174.google.com Received: from mail-io0-f174.google.com (HELO mail-io0-f174.google.com) (209.85.223.174) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 12 Oct 2017 21:07:40 +0000 Received: by mail-io0-f174.google.com with SMTP id m16so6895373iod.1 for ; Thu, 12 Oct 2017 14:07:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=OUGcdfVJ5MTrHb3vG6hEOYFjVsSGjIu0nDauws0kpkg=; b=VmQFF1mkj2b+dOFA1RQkJ4HGgCu2XpRCMnmKoRUHi/Z2u/TCEdjffmUxn9e+R0R1np xnaFubKh9VYCaFUms6g1MdYxXUNwvPz/NHnd4nGJuqN0UXFQyku2cXxvNtbGegmG7252 5thIgUk1GzV8UtDy1MJj8nZ2wqos94ybbXRDARGuRvQtQtZ8qS9UW7CvXqP8uQMkAIUx Jekn2OpJ6Kt0ijLNi/ADTomrJAKb707ccd54VW5WYvHFYYhlWg1DtExbtX8K+YAXtYVp 7W2ijEjw5UFbiVS2T+2c6cZiob4rwUms8aJi7U+3VQxbg7Ls84gxsv2CnqkKqz4BL7jU kIog== X-Gm-Message-State: AMCzsaWCHrEe6Dao0WXXw5O8sPIBZk5cYUSvgpGmr+mgxPKHH3Jfu5H5 N7TlYOF8zjcDO6G5NETD6nc8YhQF+fM/2a/zeP+wMw== X-Google-Smtp-Source: AOwi7QAo+83pT2uOVnMXhq+l2DfvsfCQFPtwdeYI3M2lj5oGisut8L6912OeRiQtlnbPtH24hgO5ZdJVGYitPEAMWiU= X-Received: by 10.107.205.197 with SMTP id d188mr3581315iog.238.1507842458269; Thu, 12 Oct 2017 14:07:38 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.170.26 with HTTP; Thu, 12 Oct 2017 14:07:17 -0700 (PDT) In-Reply-To: <1507833929-25385-1-git-send-email-dmalcolm@redhat.com> References: <1507833929-25385-1-git-send-email-dmalcolm@redhat.com> From: Jason Merrill Date: Thu, 12 Oct 2017 21:18:00 -0000 Message-ID: Subject: Re: [PATCH] C++: show location of unclosed extern "C" specifications (v2) To: David Malcolm Cc: gcc-patches List Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00808.txt.bz2 On Thu, Oct 12, 2017 at 2:45 PM, David Malcolm wrote: > - put the note on the string-literal, rather than the extern: > note: 'extern "C"' linkage started here > extern "C" { > ^~~ Maybe a range spanning both tokens? OK with or without that change. Jason