playX / box2d

Automatically exported from code.google.com/p/box2d
0 stars 0 forks source link

No inclusion guard #307

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Sorry, I just realized that this has been fixed in trunk

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

GoogleCodeExporter commented 9 years ago

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