switchbrew / libnx

Library for Switch Homebrew
https://switchbrew.github.io/libnx/
ISC License
1.27k stars 174 forks source link

Add NX_ prefix to PACKED, NORETURN, IGNORE_ARG and DEPRECATED macros #632

Closed Ghabry closed 11 months ago

Ghabry commented 11 months ago

Hello.

The PACKED macro conflicts with fmtlib 10. I prefixed your macros with NX_.

This is the same issue fixed in libctru recently:

Not sure if renaming NORETURN is a bad idea (compat issues?). I can undo this when you dislike it.

IGNORE_ARG and DEPRECATED look unused in libnx.