I have a dll with an enum (and many other things)
enum class KIT_API VoxelTypes : uint16_t
{
... about a hundred entries ...
ModellingClay_00 = 65406,
... more entries ...
ModellingClay_128,
COUNT
};
The value of element COUNT is 65535. I've been compiling this for over 45 minutes at the "Generating Code" stage. If I set ModellingClay_00 to 10000, it compiles in about 5-10 minutes. 15000 seems to take quite a bit longer, but did eventually compile.
Is there any reason an enum should take vastly longer to compile simply from changing the value it contains?
I'm pretty sure I've run afoul of some inner voodoo of Visual Studio set aside for my personal torment. Can anyone point out something obvious I've done, or even heard of this before?