From unknown Thu Jun 19 14:10:00 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#54694 <54694@debbugs.gnu.org> To: bug#54694 <54694@debbugs.gnu.org> Subject: Status: 29.0.50; w32menu.o set_frame_menubar warning building on win32 Reply-To: bug#54694 <54694@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:10:00 +0000 retitle 54694 29.0.50; w32menu.o set_frame_menubar warning building on win32 reassign 54694 emacs submitter 54694 Corwin Brust severity 54694 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 03 12:15:44 2022 Received: (at submit) by debbugs.gnu.org; 3 Apr 2022 16:15:45 +0000 Received: from localhost ([127.0.0.1]:49323 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nb2tE-0004wt-C8 for submit@debbugs.gnu.org; Sun, 03 Apr 2022 12:15:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:54118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nb2tC-0004wg-Ci for submit@debbugs.gnu.org; Sun, 03 Apr 2022 12:15:42 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51360) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nb2tB-0007EQ-KI for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2022 12:15:41 -0400 Received: from mail-ed1-f49.google.com ([209.85.208.49]:38474) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nb2t9-00049X-0W for bug-gnu-emacs@gnu.org; Sun, 03 Apr 2022 12:15:41 -0400 Received: by mail-ed1-f49.google.com with SMTP id f18so3296015edc.5 for ; Sun, 03 Apr 2022 09:15:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=3YxpLQ39wO6AGDVvcDhFjcLwIeAqcQAYNmwVi/SYcBc=; b=UJHk8K0SR+7YkfYMGWzvkCFlymdERXzNiUymaFd96438EbBkfve6udEs4V68rXnQCv VWZ2T2ocT/p6LCaeskgWv1UrysHyiAquPzNSo/dmjW4vYROiy0e/frgPoPif/lR6/p3H qjb8mVP8wyV3jks5CMYNmMV6Rn22SwzsJdMv9f4XN9cIqvINT5NN4Kal8ZZyffcRSoIC QfDergjvW1CN7w9xKtcSoqbktz3iKMZSJuhyaL1Kg7KisSsInI9OsEG7CKS5Jvch0KW/ r9h9aAmXpx0pP7XMRZupT96sT5dV7TKu6aijTDtHkv5bc4AHkAXlUQPZSKySCgGu76+2 F90Q== X-Gm-Message-State: AOAM532XZjoNGi2qnJ80yQrF720Tvb2vLuOhL6Cjg4Tx+XOB71DVssem LxMipaFwMcSu12X/rF6cT7qI32HN5wjQmCUii3ZYjF9RrR8= X-Google-Smtp-Source: ABdhPJzvO9kGlyzUJx7frmxWxOewoqHgvWyViNwuc15mxlmTbXvNiNflcL6BdS2YLhJnaoGs0MLwCutaXyLR13YXjws= X-Received: by 2002:a05:6402:2743:b0:419:4edd:c487 with SMTP id z3-20020a056402274300b004194eddc487mr29680300edd.325.1649002537206; Sun, 03 Apr 2022 09:15:37 -0700 (PDT) MIME-Version: 1.0 From: Corwin Brust Date: Sun, 3 Apr 2022 11:15:26 -0500 Message-ID: Subject: 29.0.50; w32menu.o set_frame_menubar warning building on win32 To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=209.85.208.49; envelope-from=mplscorwin@gmail.com; helo=mail-ed1-f49.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: submit 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: -1.8 (-) CC image.o C:/Users/corwi/emacs-build/git/master/src/w32menu.c: In function 'set_frame_menubar': C:/Users/corwi/emacs-build/git/master/src/w32menu.c:324:9: warning: 'memcpy' offset [3, 10] from the object at '' is out of the bounds of referenced subobject 'contents' with type 'struct Lisp_X *[]' at offset 3 [-Warray-bounds] 324 | memcpy (previous_items, XVECTOR (f->menu_bar_vector)->contents, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 325 | previous_menu_items_used * word_size); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from C:/Users/corwi/emacs-build/git/master/src/w32menu.c:26: C:/Users/corwi/emacs-build/git/master/src/lisp.h:1725:17: note: subobject 'contents' declared here 1725 | Lisp_Object contents[FLEXIBLE_ARRAY_MEMBER]; | ^~~~~~~~ Creating bug reports for each of the warnings found building from the master branch on win32 as requested in this thread: https://lists.gnu.org/archive/html/emacs-devel/2022-04/msg00069.html NOTE, the resulting Emacs does launch; I've used it to prepare this bug report. In GNU Emacs 29.0.50 (build 1, x86_64-w64-mingw32) of 2022-04-02 built on AVALON Repository revision: be21c95842f37e164606a6b392f5396d91506f61 Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.19043 System Description: Microsoft Windows 10 Home (v10.0.2009.19043.1620) Configured using: 'configure --without-dbus --with-native-compilation --without-compress-install -C 'CFLAGS=-O2 -g3'' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NATIVE_COMP NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP XPM ZLIB Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: 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 sort mail-extr emacsbug message mailcap yank-media rmc puny dired dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config gnus-util text-property-search time-date mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils comp comp-cstr warnings rx cl-seq cl-macs cl-extra help-mode seq gv subr-x byte-opt cl-loaddefs cl-lib bytecomp byte-compile cconv iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic 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 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 w32notify w32 lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 97418 4795) (symbols 48 7260 1) (strings 32 27729 2155) (string-bytes 1 908575) (vectors 16 21660) (vector-slots 8 370022 32300) (floats 8 41 312) (intervals 56 237 0) (buffers 992 11)) From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 07 21:25:30 2022 Received: (at control) by debbugs.gnu.org; 8 Jun 2022 01:25:30 +0000 Received: from localhost ([127.0.0.1]:41962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nykRt-0001Hw-Ty for submit@debbugs.gnu.org; Tue, 07 Jun 2022 21:25:30 -0400 Received: from mail-pg1-f174.google.com ([209.85.215.174]:42752) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nykRp-0001HX-1v for control@debbugs.gnu.org; Tue, 07 Jun 2022 21:25:28 -0400 Received: by mail-pg1-f174.google.com with SMTP id d129so17500393pgc.9 for ; Tue, 07 Jun 2022 18:25:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=9Ah65eOWSEa5SFF3IC1decq8iy/iys2/IakwdyOd+Ow=; b=XOs1WDTSZhyVmmVsHMunwJDLnYAM7i9TZ99od5vY23fU0zHzhiIjaVwDEDFfEl6kEq xpOQsnEk5VRoPmgegePgFKkkwYY7MP3qR4KQIkVdn9KBlGQZa/8m2yqaNDD5iBShjDhj JFZIxSS14yZMnV2yfT433rF8eJO05o4+4XS78Ki/ozF9107DRYRYaFwEJP2DcbZJB/Pl +eSifMrWnf3oQBY8Ca71BfLwicXCkKFusIZelxJejGRq1h5nwJ4nCMh/V845UAkgaW8S O75LxxoU9/AaGvV7Z7ccfHJUrQ+Aq7Knpy14JsuEBK6ze6WM2aPQpssTA65qyENnpK79 yGQw== X-Gm-Message-State: AOAM5335rlAzvNENukk6N3Oz96MQJ96e3pXkMsc6lgVoZf2jQUKLMAJX bObyDliqO/ZJD6mPGkMIVPSt47e0QqUPO0vvhKqJmZK4 X-Google-Smtp-Source: ABdhPJyDzMi/NePcDWtk6u18w7omj6oWbJBgxnHPeTRurmEEAbi9OvobzLln7AaCPOOcziyVKr0BttOMZb1EWayDzyk= X-Received: by 2002:aa7:814c:0:b0:51b:b3ee:6be2 with SMTP id d12-20020aa7814c000000b0051bb3ee6be2mr32240546pfn.3.1654651519176; Tue, 07 Jun 2022 18:25:19 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 7 Jun 2022 20:25:18 -0500 From: Stefan Kangas MIME-Version: 1.0 Date: Tue, 7 Jun 2022 20:25:18 -0500 Message-ID: Subject: control message for bug #54694 To: control@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control 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.5 (/) severity 54694 minor quit