From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#9960: Compiling Emacs trunk with MSVC Date: Sun, 20 Nov 2011 16:35:03 -0500 Message-ID: References: <83sjy5279e.fsf@gnu.org> <8339e2lsu7.fsf@gnu.org> <83zkgakdby.fsf@gnu.org> <4EB5320F.5090800@gmail.com> <83vcqyk8k3.fsf@gnu.org> <4EB540F4.7080106@gmail.com> <83r51mk62f.fsf@gnu.org> <86wrbeo7p5.fsf@googlemail.com> <83k47ejyyt.fsf@gnu.org> <86sjm2o559.fsf@googlemail.com> <86obwqo2hl.fsf@googlemail.com> <86ipmynwds.fsf@googlemail.com> <838vnujm3z.fsf@gnu.org> <83sjlzj25l.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1321824966 5708 80.91.229.12 (20 Nov 2011 21:36:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 20 Nov 2011 21:36:06 +0000 (UTC) Cc: cschol2112@googlemail.com, Fabrice Popineau , 9960@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Nov 20 22:36:00 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RSF3O-00008C-Ei for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Nov 2011 22:35:58 +0100 Original-Received: from localhost ([::1]:57642 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSF3N-0003u7-VX for geb-bug-gnu-emacs@m.gmane.org; Sun, 20 Nov 2011 16:35:57 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:39322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSF3J-0003tx-NY for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2011 16:35:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSF3I-0006wi-LU for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2011 16:35:53 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57882) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSF3I-0006wV-Jz for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2011 16:35:52 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RSF4Q-0006JH-4D for bug-gnu-emacs@gnu.org; Sun, 20 Nov 2011 16:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Nov 2011 21:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9960 X-GNU-PR-Package: emacs,w32 X-GNU-PR-Keywords: Original-Received: via spool by 9960-submit@debbugs.gnu.org id=B9960.132182497824205 (code B ref 9960); Sun, 20 Nov 2011 21:37:02 +0000 Original-Received: (at 9960) by debbugs.gnu.org; 20 Nov 2011 21:36:18 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSF3h-0006IL-QB for submit@debbugs.gnu.org; Sun, 20 Nov 2011 16:36:18 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RSF3f-0006ID-63 for 9960@debbugs.gnu.org; Sun, 20 Nov 2011 16:36:15 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RSF2V-0003qB-Pn; Sun, 20 Nov 2011 16:35:03 -0500 In-Reply-To: (Juanma Barranquero's message of "Sun, 20 Nov 2011 22:15:15 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sun, 20 Nov 2011 16:37:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54103 Archived-At: Juanma Barranquero writes: > On Sun, Nov 20, 2011 at 21:59, Fabrice Popineau > wrote: > >> - some functions are implicitly assumed to return an int because they are >> not declared before being used > > There are lots of functions implictly declared. Compiling Emacs with > gcc's -Wimplicit-function-declaration flag gives 204 warnings, 56 of > them in w32*.c files. Though of course not all of them are relevant > (in some cases, the results are never used, etc.). -Wimplicit-function-declaration has been turned on by default in configure for more than a year. On GNU/Linux (and probably most other platforms that use configure+gcc) -Wimplicit-function-declaration does not produce any warnings. Fixing all these warnings on windows too would be a good idea...