
Solaris 5.8, SunPRO CC: % ./test_float1 Compiler: Sun compiler version 0x530 Platform: Sun Solaris Library: Rogue Wave standard library version 0x020101 C++ overload tests: ldexp(float): float ldexp(double): double ldexp(long double): long double frexp(float): float frexp(double): double frexp(long double): long double % CC -g -o test_float2 -I$HOME/src/boost-regression/boost test_float2.cpp "test_float2.cpp", line 36: Error: The function "ldexpf" must have a prototype. "test_float2.cpp", line 42: Error: The function "ldexpl" must have a prototype. "test_float2.cpp", line 45: Error: The function "frexpf" must have a prototype. "test_float2.cpp", line 51: Error: The function "frexpl" must have a prototype. Solaris 5.8, gcc 3.4.3: % ./test_float1 Compiler: GNU C++ version 3.4.3 Platform: Sun Solaris Library: GNU libstdc++ version 20041105 C++ overload tests: ldexp(float): float ldexp(double): double ldexp(long double): long double frexp(float): float frexp(double): double frexp(long double): long double % g++ -g -o test_float2 -I$HOME/src/boost-regression/boost test_float2.cpp test_float2.cpp: In function `int main()': test_float2.cpp:36: error: `ldexpf' undeclared (first use this function) test_float2.cpp:36: error: (Each undeclared identifier is reported only once for each function it appears in.) test_float2.cpp:42: error: `ldexpl' undeclared (first use this function) test_float2.cpp:45: error: `frexpf' undeclared (first use this function) test_float2.cpp:51: error: `frexpl' undeclared (first use this function) -- Caleb Epstein caleb dot epstein at gmail dot com