CppServer
CppServer copied to clipboard
The corresponding macros of binutils changed slightly
Hi Ivan,
The corresponding macros of binutils changed slightly and CppServer does not build.
Flags that changed: from bfd_get_section_flags to bfd_section_flags from bfd_get_section_vma to bfd_section_vma from bfd_get_section_size to bfd_section_size
/CppServer/modules/CppCommon/source/system/stack_trace.cpp:162:18: error: ‘bfd_get_section_flags’ was not declared in this scope; 162 | if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0) | ^~~~~~~~~~~~~~~~~~~~~ | bfd_set_section_flags /CppServer/modules/CppCommon/source/system/stack_trace.cpp:165:27: error: ‘bfd_get_section_vma’ was not declared in this scope; 165 | bfd_vma vma = bfd_get_section_vma(abfd, section); | ^~~~~~~~~~~~~~~~~~~ | bfd_set_section_vma /CppServer/modules/CppCommon/source/system/stack_trace.cpp:169:37: error: ‘bfd_get_section_size’ was not declared in this scope; 169 | bfd_size_type secsize = bfd_get_section_size(section);