mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-02 16:08:30 +00:00
Fixed bug 2755 - SDL2 fails to build on Solaris 10 u3
UX-admin I am compiling with the Sun Studio 12 u2 compiler. There are multiple issues with the build, but this particular issue appears to be that it is illegal to declare a union of a struct of floats and a float. While GCC 4.8.1 does not flag this as an error, Sun Studio is much more standards compliant and strict, halting further compilation with an error.
This commit is contained in:
@@ -53,7 +53,7 @@ typedef struct
|
||||
float _21, _22, _23, _24;
|
||||
float _31, _32, _33, _34;
|
||||
float _41, _42, _43, _44;
|
||||
};
|
||||
} v;
|
||||
float m[4][4];
|
||||
};
|
||||
} Float4X4;
|
||||
|
Reference in New Issue
Block a user