Muhammad Nuzaihan Bin Kamal Luddin
2013-01-25 06:42:32 UTC
Hi,
I am having an issue with below.
The build (in porting process) fails at:
C++ /usr/home/muhammad/Open64/osprey/targdir/lw_inline//usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx: In function 'INT Equal_dims(ARB_HANDLE, ARB_HANDLE)':
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:151: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:154: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx: In function 'INT Dim_size(ARB_HANDLE)':
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:170: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
gmake[3]: *** [ipo_inline.o] Error 1
gmake[3]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[1]: *** [inline] Error 2
gmake[1]: Leaving directory `/usr/home/muhammad/Open64'
gmake: *** [build] Error 2
using FreeBSD 8.2-RELEASE. I hope to use namespace for this but i would like suggestions for this.
My Open64 sources are here:
https://github.com/taqisystems/Open64
Thank you,
Muhammad Nuzaihan Bin Kamal Luddin
I am having an issue with below.
The build (in porting process) fails at:
C++ /usr/home/muhammad/Open64/osprey/targdir/lw_inline//usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx: In function 'INT Equal_dims(ARB_HANDLE, ARB_HANDLE)':
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:151: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:154: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx: In function 'INT Dim_size(ARB_HANDLE)':
/usr/home/muhammad/Open64/osprey/../osprey/ipa/main/optimize/ipo_inline.cxx:170: error: call of overloaded 'abs(long long int)' is ambiguous
/usr/include/stdlib.h:83: note: candidates are: int abs(int)
/usr/include/c++/4.2/cstdlib:143: note: long int std::abs(long int)
gmake[3]: *** [ipo_inline.o] Error 1
gmake[3]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[2]: *** [default] Error 2
gmake[2]: Leaving directory `/usr/home/muhammad/Open64/osprey/targdir/lw_inline'
gmake[1]: *** [inline] Error 2
gmake[1]: Leaving directory `/usr/home/muhammad/Open64'
gmake: *** [build] Error 2
using FreeBSD 8.2-RELEASE. I hope to use namespace for this but i would like suggestions for this.
My Open64 sources are here:
https://github.com/taqisystems/Open64
Thank you,
Muhammad Nuzaihan Bin Kamal Luddin