From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 111032 invoked by alias); 27 Jun 2017 11:30:59 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 111012 invoked by uid 89); 27 Jun 2017 11:30:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=Hx-languages-length:460, H*r:sk:static. X-HELO: mail-it0-f49.google.com Received: from mail-it0-f49.google.com (HELO mail-it0-f49.google.com) (209.85.214.49) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 27 Jun 2017 11:30:57 +0000 Received: by mail-it0-f49.google.com with SMTP id m84so13626072ita.0 for ; Tue, 27 Jun 2017 04:30:56 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=GeOKj9zG/zX3OcHH4zPZrsQ5MqHkGiZ0iqS0QS6DdvU=; b=RG8bmrIieG7o35P4JbSvyPbk7/dct3+NBo84CUICYAAKPD24a+0bSyWFCh5LqHedv+ 15dggYQjJ4JNy3PLtJD+ww3xl2AytkQyX1V0XKySvdwmvN/auWZH6U2lb8olZXbT6/LZ 8ggzu/kznO08uk1cPfRVN5KZqtKpbPLtNmRQklbYd5T7j1YdzQcNTs5Q0R2tTmy4wtTW 0m+OUvum4Vrbw/89juMFtY73uNAd4FnlwqEliXgCxOUL2uEwtsBt4rhMKxlopB2/z3cr PoQhKyUFlNpYwbgbGYn+bOjsFCA0HbwYIskmsFWNtWo7iXol4cO647r5+MvR06mF2Trw Yg+Q== X-Gm-Message-State: AKS2vOwUZNZYu5SkJIQFmACMTAt+TSSC6OVzKfd+nKxFrgDFugPn6QRd ZnbQHW5py2/Myg74 X-Received: by 10.36.13.16 with SMTP id 16mr2076907itx.22.1498563055332; Tue, 27 Jun 2017 04:30:55 -0700 (PDT) Received: from E107787-LIN (static.42.136.251.148.clients.your-server.de. [148.251.136.42]) by smtp.gmail.com with ESMTPSA id e34sm1411090ioj.62.2017.06.27.04.30.54 (version=TLS1_2 cipher=AES128-SHA bits=128/128); Tue, 27 Jun 2017 04:30:54 -0700 (PDT) From: Yao Qi To: Pedro Alves Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 05/40] command.h: Include scoped_restore_command.h References: <1496406158-12663-1-git-send-email-palves@redhat.com> <1496406158-12663-6-git-send-email-palves@redhat.com> Date: Tue, 27 Jun 2017 11:30:00 -0000 In-Reply-To: <1496406158-12663-6-git-send-email-palves@redhat.com> (Pedro Alves's message of "Fri, 2 Jun 2017 13:22:03 +0100") Message-ID: <86bmp9fz0z.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00720.txt.bz2 Pedro Alves writes: > This file depends on scoped_restore: > > extern scoped_restore_tmpl prevent_dont_repeat (void); > > But doesn't include the corresponding header. It is a function declaration, so why does it need scoped_restore? $ make check-headers CHECK_HEADERS=3D"command.h" The command above doesn't complain anything. I tried gcc-5, 6, and 7. --=20 Yao (=E9=BD=90=E5=B0=A7)