[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #65946] format specifies type 'unsigned long' but the argument has
From: |
Ryan Carsten Schmidt |
Subject: |
[bug #65946] format specifies type 'unsigned long' but the argument has type 'ELFIO::Elf64_Addr' (aka 'unsigned long long') [-Wformat |
Date: |
Wed, 3 Jul 2024 17:43:12 -0400 (EDT) |
URL:
<https://savannah.nongnu.org/bugs/?65946>
Summary: format specifies type 'unsigned long' but the
argument has type 'ELFIO::Elf64_Addr' (aka 'unsigned long long') [-Wformat
Group: Simulavr: an AVR simulator
Submitter: ryandesign
Submitted: Wed 03 Jul 2024 09:43:12 PM UTC
Category: None
Severity: 3 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Component Version: simulavr
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 03 Jul 2024 09:43:12 PM UTC By: Ryan Carsten Schmidt <ryandesign>
These warnings occur when building 1.1.0 with recent clang:
/opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/simulavr-release-1.1.0/libsim/avrreadelf.cpp:110:33:
warning: format specifies type 'unsigned long' but the argument has type
'ELFIO::Elf64_Addr' (aka 'unsigned long long') [-Wformat]
value);
^~~~~
/opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/simulavr-release-1.1.0/include/avrerror.h:133:73:
note: expanded from macro 'avr_warning'
#define avr_warning(...) sysConHandler.vfwarning(__FILE__, __LINE__, ##
__VA_ARGS__)
^~~~~~~~~~~
/opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/simulavr-release-1.1.0/libsim/avrreadelf.cpp:152:31:
warning: format specifies type 'unsigned long' but the argument has type
'ELFIO::Elf_Xword' (aka 'unsigned long long') [-Wformat]
filesize);
^~~~~~~~
/opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/simulavr-release-1.1.0/include/avrerror.h:135:71:
note: expanded from macro 'avr_error'
#define avr_error(...) sysConHandler.vffatal(__FILE__, __LINE__, ##
__VA_ARGS__)
^~~~~~~~~~~
/opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/simulavr-release-1.1.0/libsim/avrreadelf.cpp:194:31:
warning: format specifies type 'unsigned long' but the argument has type
'ELFIO::Elf_Xword' (aka 'unsigned long long') [-Wformat]
filesize);
^~~~~~~~
/opt/local/var/macports/build/_Volumes_Shared_macports-ports_emulators_simulavr/simulavr/work/simulavr-release-1.1.0/include/avrerror.h:135:71:
note: expanded from macro 'avr_error'
#define avr_error(...) sysConHandler.vffatal(__FILE__, __LINE__, ##
__VA_ARGS__)
^~~~~~~~~~~
3 warnings generated.
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?65946>
_______________________________________________
Message sent via Savannah
https://savannah.nongnu.org/
signature.asc
Description: PGP signature
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [bug #65946] format specifies type 'unsigned long' but the argument has type 'ELFIO::Elf64_Addr' (aka 'unsigned long long') [-Wformat,
Ryan Carsten Schmidt <=