favreau / bullet

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

Conflicting include guards cause problems. #497

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Have any project sources use the include guard RIGIDBODY_H
2. Try to compile your project
3. ...
4. No profit =(

What is the expected output? What do you see instead?
Expected a project compile, instead get lots of errors.

What version of the product are you using? On what operating system?
Irrelivent. This will happen on any compiler on any operating system.

I would suggest going through all of the include guards and making them reflect 
the filename by prefixing them with BT. The issue is outlined in this forum 
post: 
http://bulletphysics.org/Bullet/phpBB3/viewtopic.php?f=9&t=6509&p=22849#p22849

Original issue reported on code.google.com by mikrya...@gmail.com on 1 Apr 2011 at 1:07

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r2366.

Original comment by erwin.coumans on 1 Apr 2011 at 5:15

GoogleCodeExporter commented 9 years ago
That is an ugly issue indeed.

Fixed in latest trunk:
http://code.google.com/p/bullet/source/detail?r=2366

Thanks for the feedback!

Original comment by erwin.coumans on 1 Apr 2011 at 5:17