bugicoutils - Bugs: bug #66812, Fails to build with GCC 15

 
 

bug #66812: Fails to build with GCC 15

Submitter:  Colin Watson <cjwatson>
Submitted:  Tue 18 Feb 2025 10:07:29 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 06 Mar 2025 01:59:10 PM UTC, comment #1: 

Thanks for the patch, applied to master.

F R <res>
Group administrator
Tue 18 Feb 2025 10:07:29 AM UTC, original submission:  

https://bugs.debian.org/1096829 reports that GCC 15 produces error messages like this:

hmap.c: In function ‘hmap_foreach_value’:
hmap.c:374:13: error: too many arguments to function ‘iterator’; expected 0, have 1
  374 |             iterator(entry->value);
      |             ^~~~~~~~ ~~~~~~~~~~~~
hmap.c: In function ‘hmap_foreach_key’:
hmap.c:389:13: error: too many arguments to function ‘iterator’; expected 0, have 1
  389 |             iterator(entry->key);
      |             ^~~~~~~~ ~~~~~~~~~~

Patch attached.

Colin Watson <cjwatson>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #56914:  0001-Specify-arguments-in-function-declarations-for-itera.patch added by cjwatson (4KiB - text/x-patch - Specify arguments in function declarations for iterators)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by res (Posted a comment)
  • -email is unavailable- added by cjwatson (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2025-03-06 res Open/ClosedOpen Closed
    2025-02-18 cjwatson Attached File- Added 0001-Specify-arguments-in-function-declarations-for-itera.patch, #56914

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code