When I try to compile Irrlicht (or any example) under Debian/Linux using make (g++), I get a series of errors like this:
include/SMaterial.h:188: anonymous class type not used to declare any objects
include/SMaterial.h:229: anonymous class type not used to declare any objects
include/SMaterial.h: In method `irr::video::SMaterial::SMaterial()':
include/SMaterial.h:148: class `irr::video::SMaterial' does not have any field named `Texture1'
include/SMaterial.h:148: class `irr::video::SMaterial' does not have any field named `Texture2'
...
I know that the problem is because Irrlicht uses unnamed structs in its unions, but I don't know the solution to this problem. (I checked through the first 10 pages of the forums, and didn't see one either).
If it's of use, `g++ -v` prints:
"gcc version 2.95.4 20011002 (Debian prerelease)"