vaeth / eix

eix can access Gentoo portage ebuild information and description very quickly (using a local cache). It can also be used to access information on installed packages, local settings, and local and external overlays, and informs about changes in the tree
GNU General Public License v2.0
166 stars 14 forks source link

remove ATTRIBUTE_SIGNAL #93

Closed Jannik2099 closed 3 years ago

Jannik2099 commented 3 years ago

this is only needed on AVR, which was dropped in kernel 4.12 and the ISA is since dead (vendor just sells some Cortex-M instead)

This caused warnings with gcc and clang, and it seems like an unknown attribute followed by a real one is an error in clang, as the snippet

__attribute__ (signal) [[noreturn]] void func() {}

fails to compile on clang - sig_handler in main.cc was one such function.