danielmm8888 / TF2Classic

A repo containing the source code for Team Fortress 2 Classic
Other
40 stars 15 forks source link

Clang build errors #269

Closed sigsegv-mvm closed 8 years ago

sigsegv-mvm commented 8 years ago
/Volumes/TF2Classic-osx/src/game/shared/tf/tf_playeranimstate.cpp:180:94: error: cannot initialize a parameter of type 'bool *' with an rvalue of type 'bool'
  translateActivity = GetTFPlayer()->GetActiveWeapon()->ActivityOverride( translateActivity, false );
                                                                                             ^~~~~
In file included from /Volumes/TF2Classic-osx/src/game/shared/tf/tf_playeranimstate.cpp:7:
In file included from /Volumes/TF2Classic-osx/src/game/server/cbase.h:143:
In file included from /Volumes/TF2Classic-osx/src/game/server/basecombatweapon.h:16:
/Volumes/TF2Classic-osx/src/game/shared/basecombatweapon_shared.h:410:61: note: passing argument to parameter 'pRequired' here
 virtual Activity ActivityOverride( Activity baseAct, bool *pRequired );
                                                            ^
1 error generated.
PistonMiner commented 8 years ago

Resolved. 3b3c669