Opened 14 years ago

#62 new enhancement

Systematic Warning with gcc 4.3.2

Reported by: graba Owned by: developers
Priority: minor Component: IP-Cores
Keywords: Cc:

Description

Would it be possible to fix elfpp to avoid systematic warning when compiling platforms containing a loader.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc: In member function 'void elfpp::elfn_access<bits_t, width>::load_addend(const elfpp::object&, elfpp::reloc&, const typename bits_t::elf_rel_t*, size_t, int, uint8_t*) [with bits_t = elfpp::elf32_bits_s, int width = 32]':

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc:783: instantiated from here

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc:128: warning: comparison between signed and unsigned integer expressions

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc:130: warning: comparison between signed and unsigned integer expressions

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc: In member function 'void elfpp::elfn_access<bits_t, width>::load_addend(const elfpp::object&, elfpp::reloc&, const typename bits_t::elf_rel_t*, size_t, int, uint8_t*) [with bits_t = elfpp::elf64_bits_s, int width = 64]':

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc:784: instantiated from here

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc:128: warning: comparison between signed and unsigned integer expressions

SOCLIB_HOME/soclib/lib/elf_file_loader/libelfpp/src/elfpp_access.cc:130: warning: comparison between signed and unsigned integer expressions

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Change History (0)

Note: See TracTickets for help on using tickets.