playX / box2d

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

Type redefinition error #261

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a class named as "State" in your project.
2. Import "Box2d.h" in the class where you are using your "State" class.
3.

What is the expected output? What do you see instead?

'b2TOIOutput::State' referred to as 'struct'
'b2TOIOutput::State' has a previous declaration here
'b2TOIOutput::State' referred to as 'struct'
'b2TOIOutput::State' has a previous declaration here

in b2TimeOfImpact.h in Collisions folder

What version of the product are you using? On what operating system?

XCode v4.2 Build 4D199 on Mac OS X v10.7.2

Please provide any additional information below.

Original issue reported on code.google.com by fayslrah...@gmail.com on 10 Jan 2012 at 12:39

GoogleCodeExporter commented 9 years ago
This is not a problem with Box2D. That is a compiler bug or other issue.

Original comment by erinca...@gmail.com on 17 Mar 2012 at 6:26