skapunch/box2d

No inclusion guard

Closed this issue · 2 comments

What steps will reproduce the problem?
1. Create one cpp file that includes all Box2D (Unity build)
2. Compile, it complains that b2Draw.h and b2Timer.h don't have inclusion guard

What is the expected output? What do you see instead?
Everything should compiles fine but I saw symbols redefinition.

What version of the product are you using? On what operating system?
Box2D 2.2.1, on Windows 7 64-bit

Please provide any additional information below.
It's easy to fix, we just need to put inclusion guard on those 2 files: 
b2Draw.h and b2Timer.h

Original issue reported on code.google.com by gst...@gmail.com on 25 Apr 2013 at 6:27

Sorry, I just realized that this has been fixed in trunk

Original comment by gst...@gmail.com on 25 Apr 2013 at 10:03

Original comment by erinca...@gmail.com on 28 Oct 2013 at 5:41

  • Changed state: Invalid