compilation error with damage.h
I have this error when i try to build the project: Error C2143 syntax error: missing ';' before '' ShipsRD3 C:\Program Files (x86)\Epic Games\4.14\Engine\Source\Runtime\Engine\Classes\GameFramework\DamageType.h 16
I tried to revert to a version which compiled previously without problem: but i get the same error. Don't understand why, i don't use UDamageType in any of my source. I planned to, but only override AActor::TakeDamage in the last revision (which may have caused the problem ??!)
I tried to clean/build. I even deleted (backuped) the intermediate folder. No Result !!
Can anyone point me in the right direction to solve this.
asked Jan 26 '17 at 04:22 PM in C++ Programming
Have you tried commenting AActor::TakeDamage and compiling? If it works the problem is there.
If not, the problem could be in the order of the .h files being included, try changing the order of DamageType.h.
answered Jan 26 '17 at 04:37 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here