greg2
October 1, 2007, 7:21pm
1
Hi,
I want to convert one of my application to haiku. Because Haiku is not available, i use BeOs DevEd with BeIDE. But i have a problem when i compile it:
This is a part of my code:
class AN8XVECTOR4{
public:
union {
struct {
float x,y,z,w;
};
struct
{
float s,t,r,q;
};
};
AN8XVECTOR4()
{
x=0.0f;y=0.0f;z=0.0f;w=0.0f;
};
AN8XVECTOR4( float x , float y , float z, float w )
{
this->x = x; this->y = y; this->z = z;this->w = w;
}
};
I am not an expert in C++ but it should work ? It work very well under Linux and under Windows (Visual 2005 and DevCpp).
I have also some error with std::vector
And many other warning (“instantiated from…”) and some other error with std::vector
Is there a problem with the BeOS compiler ?
I’m not a developer and most of the hard core devs don’t hang out a lot on the Forums. You might want to sign up to the dev mailing list, here , and post a message. You will probably get a better response.