You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling code which uses LZHAM with -Wpedantic:
/home/nemequ/local/src/squash/plugins/lzham/lzham/include/lzham.h:104:39: warning: ISO C restricts enumerator values to range of ‘int’ [-Wpedantic]
LZHAM_COMP_STATUS_FORCE_DWORD = 0xFFFFFFFF
^
/home/nemequ/local/src/squash/plugins/lzham/lzham/include/lzham.h:117:38: warning: ISO C restricts enumerator values to range of ‘int’ [-Wpedantic]
LZHAM_COMP_LEVEL_FORCE_DWORD = 0xFFFFFFFF
^
To be clear, you don't have to compile LZHAM with -Wpedantic to see this issue, it's in a public header so anything which simply uses LZHAM and wants to compile with -Wpedantic will hit it.
The text was updated successfully, but these errors were encountered:
When compiling code which uses LZHAM with -Wpedantic:
To be clear, you don't have to compile LZHAM with -Wpedantic to see this issue, it's in a public header so anything which simply uses LZHAM and wants to compile with -Wpedantic will hit it.
The text was updated successfully, but these errors were encountered: