From unknown Sat Aug 16 20:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29171: nsterm.m - unnecessary definition Resent-From: Riccardo Mottola Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 06 Nov 2017 16:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 29171 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 29171@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150998576610860 (code B ref -1); Mon, 06 Nov 2017 16:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Nov 2017 16:29:26 +0000 Received: from localhost ([127.0.0.1]:54431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBkH8-0002p6-3H for submit@debbugs.gnu.org; Mon, 06 Nov 2017 11:29:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBjFs-0001F7-9j for submit@debbugs.gnu.org; Mon, 06 Nov 2017 10:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBjFm-0006VX-36 for submit@debbugs.gnu.org; Mon, 06 Nov 2017 10:23:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eBjFl-0006VT-W9 for submit@debbugs.gnu.org; Mon, 06 Nov 2017 10:23:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBjFk-000521-WD for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 10:23:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBjFf-0006Sl-W3 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 10:23:56 -0500 Received: from smtp-16-i6.italiaonline.it ([213.209.14.16]:44216 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eBjFf-0006Ry-OL for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 10:23:51 -0500 Received: from [192.168.1.99] ([46.21.177.226]) by smtp-16.iol.local with SMTP id BjFZef1MM172nBjFZe9Amy; Mon, 06 Nov 2017 16:23:47 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1509981828; bh=p2HiYWeuC1f2Jc7qB5qY4szz3Gk3ptNPc/luvnQ4hBI=; h=To:From:Subject:Date; b=OLmlAeRlFVaaJN353Yzg6PCr0xR9OCjrwNYM6NVZY9TNl2CxD/UdmzC6lARso9cqE /gUmkQJbmW9ocP+wGhHttVIu/Ty/I3ZP5CEGWT/ajdWGKj6kc0Hscxqve+baJuhTr+ aCeMuVbLGDldqg6DpT0H0dItK6jNTA/zZL2Ib/r0rjpNC2UE7JgZ11sKgf3IdeJnhK HMlLrG2uPDrV+t2pvFU+sODiNJm6BObWqzqn0y1oqj6EKhP6yLxDI0U+LizjbxLZIB yPGnFCNu32vtkFJZW8bdPBbbknUxWB3Y1idxMICBLAPMkuolQqvy7DPDAzOko2RiF3 473RRsDuPYvYw== X-CNFS-Analysis: v=2.2 cv=ZbJtDodA c=1 sm=1 tr=0 a=gfSuWC0KZl1BcmXOoRnORQ==:117 a=gfSuWC0KZl1BcmXOoRnORQ==:17 a=IkcTkHD0fZMA:10 a=oQ7RplhX-HPirM7rAi4A:9 a=QEXdDO2ut3YA:10 From: Riccardo Mottola Message-ID: <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> Date: Mon, 6 Nov 2017 16:13:32 +0100 User-Agent: Mozilla/5.0 (X11; NetBSD amd64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfKtZS0Ikg6TRMhY+MhrJnmteRCwA6+sRAGMZAfS4uCM92bHjtdeCjC1gPmXLFf/RhkZrIQSUYdjSnmPPknO+GWwYOhoiylef5u/TagJUHdtFEXAZyKim EYAZQvqbBQ4crkwy1K2m7QkxABqdH9TENGizDeQyfOGstqCuzML9oxX21CpB+IZ+4I8/phXQaJJ1Kw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Mailman-Approved-At: Mon, 06 Nov 2017 11:29:24 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Hi, for GNUstep, the definition: NSString *NSMenuDidBeginTrackingNotification; at line 72 of nsterm.m is not needed, actually it results in: 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 Thus either leave it only for MacOS (e.g. #ifndef GNUSTEP) or remove it totally if it is not needed on mac. Thanks - Riccardo From unknown Sat Aug 16 20:01:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#29171: nsterm.m - unnecessary definition 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: To: Riccardo Mottola Cc: 29171@debbugs.gnu.org Received: via spool by 29171-submit@debbugs.gnu.org id=B29171.150999891615203 (code B ref 29171); Mon, 06 Nov 2017 20:09:01 +0000 Received: (at 29171) by debbugs.gnu.org; 6 Nov 2017 20:08:36 +0000 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 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 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) 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) Date: Mon, 6 Nov 2017 20:08:25 +0000 From: Alan Third Message-ID: <20171106200825.GA36034@breton.holly.idiocy.org> References: <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: -2.1 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) 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 From unknown Sat Aug 16 20:01:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Riccardo Mottola Subject: bug#29171: closed (Re: bug#29171: nsterm.m - unnecessary definition) Message-ID: References: <20171106201506.GB36034@breton.holly.idiocy.org> <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> X-Gnu-PR-Message: they-closed 29171 X-Gnu-PR-Package: emacs Reply-To: 29171@debbugs.gnu.org Date: Mon, 06 Nov 2017 20:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1509999362-19986-1" This is a multi-part message in MIME format... ------------=_1509999362-19986-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #29171: nsterm.m - unnecessary definition which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 29171@debbugs.gnu.org. --=20 29171: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D29171 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1509999362-19986-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 29171-done) by debbugs.gnu.org; 6 Nov 2017 20:15:16 +0000 Received: from localhost ([127.0.0.1]:54612 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBnng-0004Na-Ho for submit@debbugs.gnu.org; Mon, 06 Nov 2017 15:15:16 -0500 Received: from mail-wm0-f42.google.com ([74.125.82.42]:46370) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBnne-0004G9-T6 for 29171-done@debbugs.gnu.org; Mon, 06 Nov 2017 15:15:15 -0500 Received: by mail-wm0-f42.google.com with SMTP id r68so16252716wmr.1 for <29171-done@debbugs.gnu.org>; Mon, 06 Nov 2017 12:15:14 -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=cxgOAJ20ZJylFpPo+/jgVpJFMkrX/iZmXgyswHriRe0=; b=ca5oNRnQ3wVL33c344dSIc5Wg8m/kedPSiPzf1CtUqMP9troNwdB5xoTwgtRpuLn33 Y7vdtlpb0mv4L8FQg4AKB8tYmBtTTBDDCH9bgycj2ucU94gYcJ0Muy9pzL85xjgypWCg pkjOcTFRfrqUMycep/JOmz37yhvd1EiG3iAEUkBgDu+ZlYZphWIoecJdE/HwWK98D3Qs Q8TLkl3lb8Ev3IkbxYYyqq8YntaG3KREhuc47qNpYXOP+WySDGWqyyLwNcpvRToaXuYz HrQ1i2FNgY2MuxrA7Sb/3pKs05LnP4+gtAiisJZcCZ+rPwlYttYR2x6KyTjvLf/Kylmx i4Vg== 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=cxgOAJ20ZJylFpPo+/jgVpJFMkrX/iZmXgyswHriRe0=; b=OW0BV62Q0G82ZKxsn4Hi8Np0r+fKWrzvtEjYNL1qDhrXTAV0iTNz+2tWpUisxwebLE zdyVzeat4z3AyPGqRUZxSOUTclOPtaMCiG+7GU1rig6RKEsiRk49kGkGexOO++Wz7aBT B8BrNMZWr7rQv0Mj+TSB4cHECJST/owr9/yiqLtELLODdpKWiMIy4HC80L36Xd9Hulij NS5ycNNA06SYkdCvsWKzh7Spib4+UK95DsYI0nkZ2GcobEu88x7cMuir1jeGQeW/G+Ey F/iTFqVngkbUcVepCaXC5/6C0DMX6f5bLGIcUc66nRD4bkWPxAU1SsMLlzFjlLnFnoD0 KH6Q== X-Gm-Message-State: AJaThX6EKZeF13SKwOze5aBfVuHTdiIqaBAzmqE6gpYtjCMXS1yBLzLk GasMpWMvy6BD+8j2a83HfAY= X-Google-Smtp-Source: ABhQp+T6itXoYs8dtqLLghCYORrnNMzw42HTKw9fgKoyOT0p00GEAzlJoyMO7QzySDl3pI8bpfmKAw== X-Received: by 10.28.156.67 with SMTP id f64mr5718881wme.42.1509999309298; Mon, 06 Nov 2017 12:15:09 -0800 (PST) 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 c17sm16910080wrg.26.2017.11.06.12.15.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 06 Nov 2017 12:15:08 -0800 (PST) Date: Mon, 6 Nov 2017 20:15:06 +0000 From: Alan Third To: Riccardo Mottola Subject: Re: bug#29171: nsterm.m - unnecessary definition Message-ID: <20171106201506.GB36034@breton.holly.idiocy.org> References: <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> <20171106200825.GA36034@breton.holly.idiocy.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20171106200825.GA36034@breton.holly.idiocy.org> User-Agent: Mutt/1.9.1 (2017-09-22) X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 29171-done Cc: 29171-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.2 (/) On Mon, Nov 06, 2017 at 08:08:25PM +0000, Alan Third wrote: > 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: Sorry, spoke too soon. The definition is in Emacs 25, but it’s already been removed in Emacs 26. Please try the Emacs 26 pre‐release. -- Alan Third ------------=_1509999362-19986-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 6 Nov 2017 16:29:26 +0000 Received: from localhost ([127.0.0.1]:54431 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBkH8-0002p6-3H for submit@debbugs.gnu.org; Mon, 06 Nov 2017 11:29:26 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34091) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eBjFs-0001F7-9j for submit@debbugs.gnu.org; Mon, 06 Nov 2017 10:24:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBjFm-0006VX-36 for submit@debbugs.gnu.org; Mon, 06 Nov 2017 10:23:59 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57040) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eBjFl-0006VT-W9 for submit@debbugs.gnu.org; Mon, 06 Nov 2017 10:23:58 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eBjFk-000521-WD for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 10:23:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eBjFf-0006Sl-W3 for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 10:23:56 -0500 Received: from smtp-16-i6.italiaonline.it ([213.209.14.16]:44216 helo=libero.it) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eBjFf-0006Ry-OL for bug-gnu-emacs@gnu.org; Mon, 06 Nov 2017 10:23:51 -0500 Received: from [192.168.1.99] ([46.21.177.226]) by smtp-16.iol.local with SMTP id BjFZef1MM172nBjFZe9Amy; Mon, 06 Nov 2017 16:23:47 +0100 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2014; t=1509981828; bh=p2HiYWeuC1f2Jc7qB5qY4szz3Gk3ptNPc/luvnQ4hBI=; h=To:From:Subject:Date; b=OLmlAeRlFVaaJN353Yzg6PCr0xR9OCjrwNYM6NVZY9TNl2CxD/UdmzC6lARso9cqE /gUmkQJbmW9ocP+wGhHttVIu/Ty/I3ZP5CEGWT/ajdWGKj6kc0Hscxqve+baJuhTr+ aCeMuVbLGDldqg6DpT0H0dItK6jNTA/zZL2Ib/r0rjpNC2UE7JgZ11sKgf3IdeJnhK HMlLrG2uPDrV+t2pvFU+sODiNJm6BObWqzqn0y1oqj6EKhP6yLxDI0U+LizjbxLZIB yPGnFCNu32vtkFJZW8bdPBbbknUxWB3Y1idxMICBLAPMkuolQqvy7DPDAzOko2RiF3 473RRsDuPYvYw== X-CNFS-Analysis: v=2.2 cv=ZbJtDodA c=1 sm=1 tr=0 a=gfSuWC0KZl1BcmXOoRnORQ==:117 a=gfSuWC0KZl1BcmXOoRnORQ==:17 a=IkcTkHD0fZMA:10 a=oQ7RplhX-HPirM7rAi4A:9 a=QEXdDO2ut3YA:10 To: bug-gnu-emacs@gnu.org From: Riccardo Mottola Subject: nsterm.m - unnecessary definition Message-ID: <56a29956-f5f3-40ff-0544-d7db777a9fc6@libero.it> Date: Mon, 6 Nov 2017 16:13:32 +0100 User-Agent: Mozilla/5.0 (X11; NetBSD amd64; rv:51.0) Gecko/20100101 Firefox/51.0 SeaMonkey/2.48 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfKtZS0Ikg6TRMhY+MhrJnmteRCwA6+sRAGMZAfS4uCM92bHjtdeCjC1gPmXLFf/RhkZrIQSUYdjSnmPPknO+GWwYOhoiylef5u/TagJUHdtFEXAZyKim EYAZQvqbBQ4crkwy1K2m7QkxABqdH9TENGizDeQyfOGstqCuzML9oxX21CpB+IZ+4I8/phXQaJJ1Kw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 06 Nov 2017 11:29:24 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.1 (----) Hi, for GNUstep, the definition: NSString *NSMenuDidBeginTrackingNotification; at line 72 of nsterm.m is not needed, actually it results in: 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 Thus either leave it only for MacOS (e.g. #ifndef GNUSTEP) or remove it totally if it is not needed on mac. Thanks - Riccardo ------------=_1509999362-19986-1--