#70 3 errors in algebra.cpp

open
nobody
None
5
2007-04-22
2007-04-22
No

irix 6.5.30, mipspro 7.4.x, pixie 2.1.1
---------------------------------------

cc-1020 CC: ERROR File = algebra.h, Line = 87
The identifier "uint32_t" is undefined.

uint32_t i;
^

cc-1020 CC: ERROR File = algebra.h, Line = 90
The identifier "uint32_t" is undefined.

union { float f; uint32_t i; } u;
^

cc-1020 CC: ERROR File = algebra.h, Line = 109
The identifier "uint32_t" is undefined.

union { float f; uint32_t i; } u;
^

3 errors detected in the compilation of "algebra.cpp".
gmake[3]: *** [algebra.lo] Error 1

Discussion

  • goetz fischer

    goetz fischer - 2007-04-22

    Logged In: YES
    user_id=988903
    Originator: YES

    gcc 3.4.6 shows:

    algebra.h: In function `float isqrtf(float)':
    algebra.h:87: error: `uint32_t' was not declared in this scope
    algebra.h:87: error: expected `;' before "i"
    algebra.h:90: error: `uint32_t' does not name a type
    algebra.h:96: error: `i' was not declared in this scope
    algebra.h:96: error: 'union isqrtf(float)::<anonymous>' has no member named 'i'
    algebra.h:98: error: 'union isqrtf(float)::<anonymous>' has no member named 'i'
    algebra.h: In function `float absf(float)':
    algebra.h:109: error: `uint32_t' does not name a type
    algebra.h:111: error: 'union absf(float)::<anonymous>' has no member named 'i'
    algebra.h:111: error: 'union absf(float)::<anonymous>' has no member named 'i'
    os.cpp:522:2: warning: no newline at end of file
    gmake[3]: *** [algebra.lo] Error 1

     
  • George Harker

    George Harker - 2007-04-25

    Logged In: YES
    user_id=995400
    Originator: NO

    it looks like these are not defined under irix. I'll add tests to autoconf for them

     

Log in to post a comment.