Issue #4 new

Build failure

Marianne Gagnon
created an issue

Seems like the try is not ended in all #ifdef's

{{{ g++ -o 3dmath.o -DBUILDING_DLL=1 -fexceptions -I -fPIC -DPIC -arch i386 -DNO_ASM=1 -Dunix -Dmacintosh -ffast-math -funroll-loops -I. -I./inc -c 3dmath.cpp 3dmath.cpp: In function ‘void math_init()’: 3dmath.cpp:452: error: expected catch' at end of input 3dmath.cpp:452: error: expected(' at end of input 3dmath.cpp:452: error: expected type-specifier at end of input 3dmath.cpp:452: error: expected )' at end of input 3dmath.cpp:452: error: expected{' at end of input 3dmath.cpp:452: error: expected `}' at end of input }}}

Comments (1)

  1. Marianne Gagnon reporter

    Here is a tentative patch :

    --- a/src/3dmath.cpp    Thu Jan 13 20:02:42 2011 -0500
    +++ b/src/3dmath.cpp    Tue Feb 22 16:41:20 2011 -0500
    @@ -384,9 +384,10 @@
     #ifndef _DEBUG
         int IsSSE = FALSE;
         int edx, eax;
    +
    +#if defined(__GNUC__) && !defined(NO_ASM) && !defined(NOSSE)
         GLIDE64_TRY
         {
    -#if defined(__GNUC__) && !defined(NO_ASM) && !defined(NOSSE)
       #if defined(__x86_64__)
           asm volatile(" cpuid;        "
             : "=a"(eax), "=d"(edx)
    
  2. Log in to comment