1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-06 22:48:13 +00:00
Files
hyperrogue/direntx.h
Arthur O'Dwyer 1996b0ccf7 Add "inline" to silence GCC's -Wunused-function warnings in direntx.h.
Another option would be to surround the file with

    #pragma GCC diagnostic push
    #pragma GCC diagnostic ignored "-Wunused-function"
    [...]
    #pragma GCC diagnostic pop

but then I'd have to suppress "unknown pragma" warnings on MSVC.
This way is more invasive but cleaner to look at.
2018-06-29 16:26:20 -07:00

27 KiB