From 4edffe026e387f6a038d7538577bf5ecc168f223 Mon Sep 17 00:00:00 2001 From: Luca Barbieri Date: Thu, 1 Apr 2010 18:40:27 +0200 Subject: 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. --- progs/gallium/unit/u_format_test.c | 1 - 1 file changed, 1 deletion(-) (limited to 'progs') diff --git a/progs/gallium/unit/u_format_test.c b/progs/gallium/unit/u_format_test.c index 6ccef23..ca4c92f 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(); -- cgit v1.1