Glenn Maynard writes:
> ---
> #include <math.h>
> #include <cstdlib>
> 
> using namespace std;
> 
> int foo() { return llabs(1); }
> ---
> 
> g++-3.3 blah.cc -c
> blah.cc: In function `int foo()':
> blah.cc:6: error: call of overloaded `llabs(int)' is ambiguous
> /usr/include/stdlib.h:754: error: candidates are: long long int llabs(long 
> long
>    int)
> /usr/include/c++/3.3/cstdlib:152: error:                 long long int
>    __gnu_cxx::llabs(long long int)
> 
> This works in g++ 3.2, but not 3.3.

is this a bug at all?


Reply via email to