diff options
author | Luca Barbieri <[email protected]> | 2010-04-01 18:40:27 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-01 18:52:02 +0200 |
commit | 4edffe026e387f6a038d7538577bf5ecc168f223 (patch) | |
tree | 7d0d21765a5ceea2aa3f2fbf20f6ae0957cba41e /progs/gallium/unit | |
parent | 8f38135e283a0e81510fb40fb9e0c918436fa5f1 (diff) |
gallium/util: rewrite global constructor system for half floats (GCC/MSVC only!)
NOTE: this commit will cause Gallium to fail to build on any compiler
except GCC, the Microsoft C compiler and compatible compilers that
claim to be one of those.
This commit removes the u_gctors.cpp mechanism, in favor of using
compiler-specific syntax to add global constructors from C files.
This solves the problem of u_gctors.o not being pulled from static
libraries and avoids using C++.
However, it needs compiler-specific support for every compiler.
The Microsoft C compiler support has not been tested.
Diffstat (limited to 'progs/gallium/unit')
-rw-r--r-- | progs/gallium/unit/u_format_test.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c index 6ccef236173..ca4c92f5b7e 100644 --- a/progs/gallium/unit/u_format_test.c +++ b/progs/gallium/unit/u_format_test.c @@ -404,7 +404,6 @@ int main(int argc, char **argv) { boolean success; - util_half_init_tables(); util_format_s3tc_init(); success = test_all(); |