serge1 / ELFIO

ELFIO - ELF (Executable and Linkable Format) reader and producer implemented as a header only C++ library
http://serge1.github.io/ELFIO
MIT License
720 stars 155 forks source link

Multi-line comments #64

Closed stefanik08 closed 3 years ago

stefanik08 commented 3 years ago

Backslashes at the end of comments related to AMDGPU defines break the build and cannot be addressed with pragma's at the user level.

elfio/elfio/elf_types.hpp:398:8: error: multi-line comment [-Werror=comment]
     64 // AMDGPU OS for HSA compatible compute \
        ^
elfio/elfio/elf_types.hpp:401:8: error: multi-line comment [-Werror=comment]
     65 // AMDGPU OS for AMD PAL compatible graphics \
        ^
elfio/elfio/elf_types.hpp:404:8: error: multi-line comment [-Werror=comment]
     66 // AMDGPU OS for Mesa3D compatible graphics \
        ^
elfio/elfio/elf_types.hpp:410:11: error: multi-line comment [-Werror=comment]
     0x100 // Indicates if the XNACK target feature is \