Couple of small issues in CVS
by Gregory "Centove" McLean · in Torque Game Engine · 10/28/2005 (5:23 am) · 1 replies
On linux, with gcc 3.4.xx
platformX86UNIX/x86UNIXCPUInfo.cc
missing (around line 32):
Around line 63
platformX86UNIX/x86UNIXCPUInfo.cc
missing (around line 32):
#if defined(TORQUE_COMPILER_GCC) && ((__GNUC__ >= 3) && (__GNUC_MINOR__ >= 4)) static U32 timeLo; static U32 timeHi; #endif
Around line 63
#if defined(TORQUE_COMPILER_GCC) && ((__GNUC__ >= 3) && (__GNUC_MINOR__ >=4))
asm("rdtsc" : "=a" (timeLo), "\d" (timeHi));
#elseShoud be.#if defined(TORQUE_COMPILER_GCC) && ((__GNUC__ >= 3) && (__GNUC_MINOR__ >=4))
asm("rdtsc" : "=a" (timeLo), "=d" (timeHi));
#else
Associate Ron Yacketta
Thanks for the fix, I'll get it into SVN this evening. I do not use GCC 3.4.* which is my excuse why this was missed ;)
-Ron