From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#29171: nsterm.m - unnecessary definition Date: Mon, 6 Nov 2017 20:08:25 +0000 Message-ID: <20171106200825.GA36034@breton.holly.idiocy.org> References: <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1509999046 19290 195.159.176.226 (6 Nov 2017 20:10:46 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 6 Nov 2017 20:10:46 +0000 (UTC) User-Agent: Mutt/1.9.1 (2017-09-22) Cc: 29171@debbugs.gnu.org To: Riccardo Mottola Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 06 21:10:40 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBnjD-0004md-Rb for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 21:10:40 +0100 Original-Received: from localhost ([::1]:50101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBnjL-0000vA-8a for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Nov 2017 15:10:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44862) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBnhi-0008UE-01 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 15:09:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBnhd-00034n-UN for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 15:09:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:45918) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eBnhd-00034c-Q2 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 15:09:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eBnhd-0003xn-Jd for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 15:09:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Nov 2017 20:09:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 29171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 29171-submit@debbugs.gnu.org id=B29171.150999891615203 (code B ref 29171); Mon, 06 Nov 2017 20:09:01 +0000 Original-Received: (at 29171) by debbugs.gnu.org; 6 Nov 2017 20:08:36 +0000 Original-Received: from localhost ([127.0.0.1]:54599 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBnhE-0003x9-CF for submit@debbugs.gnu.org; Mon, 06 Nov 2017 15:08:36 -0500 Original-Received: from mail-wr0-f176.google.com ([209.85.128.176]:54757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBnhC-0003ww-TD for 29171@debbugs.gnu.org; Mon, 06 Nov 2017 15:08:35 -0500 Original-Received: by mail-wr0-f176.google.com with SMTP id g10so2264717wrg.11 for <29171@debbugs.gnu.org>; Mon, 06 Nov 2017 12:08:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=RqSRcgoMN70kwYcem8Z1UWm6YzUqNZOL/BTrHyxCxcI=; b=dXaxennaUP2PI8kjtLouZaTUx1grXM+p/CTXPPcmM/oiuce8D9oeEL8+uHb2QncPl7 P6K2y4vUEUaz8LGTGdhVkGAqBRMql/hrWSB2tBjpx6UYsmhlpSSK6ikAksoNSL58I+2g KhK7bI1xhp++XQ8t11NizCKHGsRlZHYhGkqHyDjpb+ymBjthd9NIXLziLbTtNliDdES+ nFmcZ0qieFEmEVTZdpQ5JE/BLhjpUNuBeMKRSZF9cutI4EmanQtwxk0tzZU2OHj+1q9X kacDwR8f0XdMUsXdPjbodR09C6XQ8o6SntK9MRmUNEfhBX50q8l3L+iEIV3+seQ34g6p bqxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=RqSRcgoMN70kwYcem8Z1UWm6YzUqNZOL/BTrHyxCxcI=; b=EgD6aznlrQ9gGbVhRBefAo3bjNyf587g8ofil+dc3QXqURfpyP7nM68izJrwgVU7jU yIIXl8ncSyQ35FEiUS5ByUn+pnz5Qe6zP+2wDT59kxXCRz2e3cZ42UQewTxL1auAStoJ otwYaBjIVZiAvPMzdMnWKnsjmdeGFbz4lBCV+F2QDpdmZk3LhBuZRmQyWLBbqPw9WE9T /iyYxINXBoG3PWb7mV/wF1tw0lvZBJeMJLR4adDK3CF0v8JzePp43IZqGpAILeAVfyo6 zEWvcLdQLumkfjzcdrLgyARVsd+633uDffp78XtucgBa1l9g6HAAQix7XSGaIzbLcaX1 slbQ== X-Gm-Message-State: AJaThX4R/xEclnJsO1dzz/9hR+ABt/eubcDJRYmcmZGQhYJsUThMaiQR pa5Huv0ULuM1sUqsJROiauk= X-Google-Smtp-Source: ABhQp+RnuXRoXP4KAVosLZllEEVgC3MrHrhDDifyAuKLTHrarAZpJ3jKY5Hn/kETZpQjxJyNgvhK0w== X-Received: by 10.223.161.84 with SMTP id r20mr8293883wrr.168.1509998909218; Mon, 06 Nov 2017 12:08:29 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-28ae-a587-b613-8456.holly.idiocy.org. [2001:8b0:3f8:8129:28ae:a587:b613:8456]) by smtp.gmail.com with ESMTPSA id v5sm8732288wrf.29.2017.11.06.12.08.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 12:08:28 -0800 (PST) Content-Disposition: inline In-Reply-To: <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:139520 Archived-At: On Mon, Nov 06, 2017 at 04:13:32PM +0100, Riccardo Mottola wrote: > for GNUstep, the definition: > > NSString *NSMenuDidBeginTrackingNotification; > > at line 72 of nsterm.m is not needed, actually it results in: We’re not defining that anywhere in our code, and certainly not on line 72 of nsterm.m which looks like: #ifdef NS_IMPL_COCOA > nsterm.m:72:18: error: conflicting type qualifiers for > 'NSMenuDidBeginTrackingNotification' > extern NSString *NSMenuDidBeginTrackingNotification; > ^ > In file included from /System/Library/Headers/AppKit/AppKit.h:90:0, > from nsgui.h:34, > from dispextern.h:76, > from nsterm.h:21, > from nsterm.m:48: > /System/Library/Headers/AppKit/NSMenu.h:823:31: note: previous declaration > of 'NSMenuDidBeginTrackingNotification' was here APPKIT_EXPORT NSString* > const NSMenuDidBeginTrackingNotification; > ^ > Makefile:381: recipe for target 'nsterm.o' failed It looks to me like two different GNUstep headers are defining it. I can’t reproduce this error myself. What platform are you building on? -- Alan Third