From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.bugs Subject: bug#56736: 29.0.50; Mac OS X Lion: `externally-visible` causes zillions of warnings Date: Sun, 24 Jul 2022 12:17:29 +0000 (UTC) Message-ID: <20220724.141729.978614940993277416.wl@gnu.org> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40703"; mail-complaints-to="usenet@ciao.gmane.io" To: 56736@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jul 24 14:18:22 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1oFaYv-000ARr-Lq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 14:18:21 +0200 Original-Received: from localhost ([::1]:53332 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFaYu-0004VT-5l for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Jul 2022 08:18:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55842) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFaYc-0004GZ-So for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57283) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFaYc-0007RF-J6 for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFaYc-00032h-EM for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Werner LEMBERG Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Jul 2022 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56736 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.165866506311637 (code B ref -1); Sun, 24 Jul 2022 12:18:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 Jul 2022 12:17:43 +0000 Original-Received: from localhost ([127.0.0.1]:47025 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFaYJ-00031c-1B for submit@debbugs.gnu.org; Sun, 24 Jul 2022 08:17:43 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:39420) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFaYH-00031V-Vz for submit@debbugs.gnu.org; Sun, 24 Jul 2022 08:17:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFaYH-0003dI-PK for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:17:41 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:52729) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFaYF-0007Ld-Oh for bug-gnu-emacs@gnu.org; Sun, 24 Jul 2022 08:17:41 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B40E0240107 for ; Sun, 24 Jul 2022 14:17:37 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4LrMcx1c5gz9rxM for ; Sun, 24 Jul 2022 14:17:34 +0200 (CEST) Received-SPF: pass client-ip=185.67.36.66; envelope-from=werner.lemberg@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:237832 Archived-At: Compiling emacs master (2024136d31e) on a Mac OS X Lion box with the system's `/usr/bin/clang` compiler, there are many warnings like the following. ``` In file included from dispnew.c:27: ./lisp.h:69:1: warning: unknown attribute 'externally_visible' ignored [-Wattributes] DEFINE_GDB_SYMBOL_BEGIN (int, GCTYPEBITS) ^ ./lisp.h:55:51: note: expanded from macro 'DEFINE_GDB_SYMBOL_BEGIN' # define DEFINE_GDB_SYMBOL_BEGIN(type, id) extern DECLARE_GDB_SYM (type, id) ^ ./lisp.h:50:49: note: expanded from macro 'DECLARE_GDB_SYM' #define DECLARE_GDB_SYM(type, id) type const id EXTERNALLY_VISIBLE ^ ./conf_post.h:281:28: note: expanded from macro 'EXTERNALLY_VISIBLE' #define EXTERNALLY_VISIBLE _GL_ATTRIBUTE_EXTERNALLY_VISIBLE ^ ./config.h:2542:59: note: expanded from macro '_GL_ATTRIBUTE_EXTERNALLY_VISIBLE' # define _GL_ATTRIBUTE_EXTERNALLY_VISIBLE __attribute__ ((externally_visible)) ``` In comparison to a normal log file, these warnings increase its size by a factor of 200. `/usr/bin/clang` identifies itself as ``` Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn) Target: x86_64-apple-darwin11.4.2 Thread model: posix ``` Werner ====================================================================== In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin11.4.2) of 2022-07-24 built on Families-iMac Repository revision: 2024136d31e85f5935e1dd1a494ecb3ea715ef80 Repository branch: master System Description: Mac OS X 10.7.5 Configured using: 'configure --disable-silent-rules --without-ns --without-x --without-dbus --without-gconf --without-libotf --without-m17n-flt --with-libgmp --with-gnutls --with-json --with-xml2 --with-modules --with-sqlite3 --with-webp 'CFLAGS=-pipe -Os -arch x86_64 -Wno-attributes' CPPFLAGS=-I/opt/local/include 'LDFLAGS=-Wl,-headerpad_max_install_names -L/opt/local/lib -Wl,-no_pie -arch x86_64'' Configured features: ACL GMP GNUTLS JSON LCMS2 LIBXML2 MODULES NOTIFY KQUEUE PDUMPER SQLITE3 THREADS XIM ZLIB Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t buffer-read-only: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow regexp-opt sort mail-extr emacsbug message mailcap yank-media puny dired dnd dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date subr-x mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils term/xterm xterm byte-opt gv bytecomp byte-compile cconv rmc iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads kqueue lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 44661 6474) (symbols 48 5638 0) (strings 32 15448 1850) (string-bytes 1 494605) (vectors 16 8424) (vector-slots 8 102630 6497) (floats 8 24 307) (intervals 56 253 10) (buffers 992 11))