On 01/25/13 01:42 PM, Muhammad Nuzaihan Bin Kamal Luddin wrote: > 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 Path64 has already been ported to FreeBSD/NetBSD/Solaris. etc
https://github.com/path64/compiler https://github.com/pathscale/path64-suite /* Look at path64-suite README for how to build everything */ /* Warning: Do not pull changes from path64 into your open64 fork as the licenses are incompatible though. */ PathScale also publishes nightly builds of ENZO which includes GPGPU for FreeBSD http://c591116.r16.cf2.rackcdn.com/enzo/nightly/FreeBSD/enzo-2013-01-24-installer.run /* We have a few known issues we need to fix, but your bug reports and feedback are welcomed */ ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Open64-devel mailing list Open64-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open64-devel