some corrects to "implement DamageInfo". also correct compilation without -fpermissive key.
p.s. fix unix compile