Fixed|Client: Build error and a warning

According to ISO C++, enums cannot be forward-declared.