aspace-sim / aspace

ASpace space simulator for the PennMUSH MU* Server
11 stars 6 forks source link

Fix to compile with PennMUSH 1.8.8 and GCC 10 #17

Closed naHrej closed 2 years ago

naHrej commented 2 years ago

PennMUSH 1.8.8 has a conflicting current_state definition which prevents ASpace from compiling. Renaming ASpaces definition to aspace_current_state fixes this issue.

GCC 10 changes the behaviour of global variables to require the extern keyword in the header file and causes linker errors if untreated. Since we have various versions still in use this has been tackled with a preprocessor macro.