From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Re: Warnings during building the current master on Win10 with MSYS2/MinGW64 Date: Thu, 25 Jul 2024 10:25:09 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11749"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: arash@gnu.org To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jul 25 10:26:18 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sWtnm-0002sh-05 for ged-emacs-devel@m.gmane-mx.org; Thu, 25 Jul 2024 10:26:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sWtmz-0003Yd-68; Thu, 25 Jul 2024 04:25:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWtmx-0003YU-1V for emacs-devel@gnu.org; Thu, 25 Jul 2024 04:25:27 -0400 Original-Received: from smtp-16.italiaonline.it ([213.209.10.16] helo=libero.it) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sWtmu-00074A-Qg for emacs-devel@gnu.org; Thu, 25 Jul 2024 04:25:26 -0400 Original-Received: from [192.168.1.229] ([87.10.222.106]) by smtp-16.iol.local with ESMTPA id WtmgsJp8N201lWtmps4j2v; Thu, 25 Jul 2024 10:25:20 +0200 x-libjamoibt: 1601 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=libero.it; s=s2021; t=1721895920; bh=UXtNZ5odLhG2V7fdYnjvkMS+oGiezfbtEuIv21tlwgo=; h=From; b=jKqpSLzp+mMFzXjQLTeCQT2Y+joervvhTtoDJfxiop0WXJRVMHWi/bYC8YXlPKu7u xRbvFFwQNhUdQRB6eFZ/3vCBUH5LL331hJ90cs+TaUc+hSlylOaO2HlwViPHUgAJrD 0X9HVrytuI4o/YnvjqV4Ll9CEP4yK9TwOirEvAJQY3mbEnTBsw+X76PDotK36L1tu9 5CcScbPPz9++Jtbro2GPXajk29JVBnOEWYWithpqauLMFlJfWEA+sf9ygNZyW0dPA3 FxIqnDUg1gf7OBg3AF24cIGKUF6Bc/JI8IUj4DVsiduWTwjiEWgZLBTLePKO5lmHqW hQ1xaiNvn3TUA== X-CNFS-Analysis: v=2.4 cv=f7aDB/yM c=1 sm=1 tr=0 ts=66a20bf0 cx=a_exe a=Bm/exS0prQ4hTSvkmfDYzw==:117 a=Bm/exS0prQ4hTSvkmfDYzw==:17 a=IkcTkHD0fZMA:10 a=11lt31P7F0vpFo6eXf4A:9 a=QEXdDO2ut3YA:10 Content-Language: en-GB, en-US, it X-CMAE-Envelope: MS4xfGKMMYMMkGpOUBlcz1AN1/fBzm62Co5A+dMw7g0Bv0pGzRBWcNCQl4iUiq5kGoqxJ/R0c7SiCLSoEnzVJT0jvCYM9nFWajAkx0lZ9T021kT1TJjJgIlF m5x4Kfmvgrh4xYqsmqeKYCLc8J6DhF0Begt3UAm+6DoXVE8VL01yw0qXTq8usPbkQjaIzlf1nPLQ4cXekMl80G/M23VxC+y9YNc= Received-SPF: pass client-ip=213.209.10.16; envelope-from=angelo.g0@libero.it; helo=libero.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:322073 Archived-At: > after a long time, I built Emacs (baf9f1210a) from master on my Win10 > box and it occurred to me that I get more warnings than I used to. This > is with My MSYS2/UCRT64 build of master (20240724_192011) dose not show warnings: $ grep -i warn emacs-master-u64-x86_64-20240724_192011-release-build.log ac-wrapper: autoreconf: warning: auto-detected versions not found ( ); falling back to latest available checking whether C compiler handles -Werror -Wunknown-warning-option... no checking for C compiler option to allow warnings... -Wno-error ELC emacs-lisp/warnings.elc ELC progmodes/cwarn.elc org.texi:16157: warning: @anchor should not appear on @item line org.texi:16170: warning: @anchor should not appear on @item line ./emacs-lisp/warnings.el ./emacs-lisp/warnings.elc ./progmodes/cwarn.el ./progmodes/cwarn.elc Emacs is built with gcc version 14.1.0 (Rev3, Built by MSYS2 project) and configured something like this -------------------------------------- ./configure --prefix="/${PREFIXNAME}" \ --host=x86_64-w64-mingw32 \ --build=x86_64-w64-mingw32 \ --without-dbus \ --without-pop \ --with-modules \ --without-native-compilation \ --enable-checking=no \ CFLAGS=-O2 -static -------------------------------------- with the result: -------------------------------------- Configured for 'x86_64-w64-mingw32'. Where should the build process find the source code? . What compiler should emacs be built with? x86_64-w64-mingw32-gcc -O2 -static Should Emacs use the GNU version of malloc? no (The GNU allocators don't work with this system configuration.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? yes What window system should Emacs use? w32 What toolkit should Emacs use? none Where do we find X Windows header files? NONE Where do we find X Windows libraries? NONE Does Emacs use -lXaw3d? no Is Emacs being built for Android? no Does Emacs use the X Double Buffer Extension? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes Does Emacs use a png library? yes Does Emacs use -lrsvg-2? yes Does Emacs use -lwebp? yes Does Emacs use -lsqlite3? yes Does Emacs use cairo? no Does Emacs use -llcms2? yes Does Emacs use imagemagick? no Does Emacs use native APIs for images? yes (w32) Does Emacs support sound? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? no Does Emacs use -lgconf? no Does Emacs use GSettings? no Does Emacs use a file notification library? yes (w32) Does Emacs use access control lists? yes Does Emacs use -lselinux? no Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? no Does Emacs use HarfBuzz? yes Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? no Does Emacs use -lsystemd? no Does Emacs use -ltree-sitter? yes Does Emacs use the GMP library? yes Does Emacs directly use zlib? yes Does Emacs have dynamic modules support? yes Does Emacs use toolkit scroll bars? yes Does Emacs support Xwidgets? no Does Emacs have threading support in lisp? yes Does Emacs support the portable dumper? yes Does Emacs support legacy unexec dumping? no Which dumping strategy does Emacs use? pdumper Does Emacs have native lisp compiler? no Does Emacs use version 2 of the X Input Extension? no Does Emacs generate a smaller-size Japanese dictionary? no -------------------------------------- Also the build of IGC branch produces the same results: no warnings. Ciao, Angelo.