ETCPACK icon indicating copy to clipboard operation
ETCPACK copied to clipboard

static enum

Open Chainsawkitten opened this issue 7 years ago • 0 comments

etcpack.cxx (possibly other files) extensively uses static enum. This is not valid C/C++ (and doesn't make any sense). static determines how storage should be allocated but an enum-declaration does not allocate storage.

This means it compiles in MSVC but not in MinGW (I assume not gcc as well, or MSVC when using /permissive-).

The solution is to simple replace static enum with enum.

Chainsawkitten avatar Nov 22 '17 15:11 Chainsawkitten