switchbrew / libnx

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

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

Closed Ghabry closed 10 months ago

Ghabry commented 10 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.