I find this odd, I just downloaded the latest Bloodshed
Dev C++ for windows, and immediately noticed that my
projects wont compile because I pass structures by
value. I know it isn't a "suggested" technique, but it is
allowed in C++, in fact, Bjarne Stoustrup does it a lot in
his C++ book. Maybe I have a compiler setting wrong,
but Im sure I should be able to do this without getting
66 C:\Documents and Settings\Rob
could not convert `Face::planew(float*)(xfrm)' to `Plane&
In that instance, Face::planew(float* xfrm) returns a
Plane (the whole structure, returned by value, which
should also be done). I try doing any passing or
returning of structures by value, the compiler errors.
Log in to post a comment.