pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/graphics/vigra



>> Module Name: pkgsrc
>> Committed By:        adam
>> Date:                Sun Oct 16 17:47:49 UTC 2011
>> 
>> Modified Files:
>>      pkgsrc/graphics/vigra: Makefile PLIST buildlink3.mk distinfo
>> Removed Files:
>>      pkgsrc/graphics/vigra/patches: patch-ab
>> 
>> Log Message:
>> Changes 1.8.0:
> 
> This failed to build:
> 
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx: 
> In function 'long long int vigra::norm(long long int)':
> [ 78%] Building CXX object src/impex/CMakeFiles/vigraimpex.dir/sifImport.cxx.o
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:556:
>  error: call of overloaded 'abs(long long int&)' is ambiguous
> /usr/include/g++/cmath:97: note: candidates are: long double std::abs(long 
> double)
> /usr/include/g++/cmath:93: note:                 float std::abs(float)
> /usr/include/g++/cmath:89: note:                 double std::abs(double)
> /usr/include/g++/cstdlib:142: note:                 long int std::abs(long 
> int)
> /usr/include/stdlib.h:98: note:                 int abs(int)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:137:
>  note:                 bool vigra::abs(bool)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:138:
>  note:                 unsigned char vigra::abs(unsigned char)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:139:
>  note:                 short unsigned int vigra::abs(short unsigned int)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:140:
>  note:                 unsigned int vigra::abs(unsigned int)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:141:
>  note:                 long unsigned int vigra::abs(long unsigned int)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:142:
>  note:                 long long unsigned int vigra::abs(long long unsigned 
> int)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:149:
>  note:                 signed char vigra::abs(signed char)
> /home/pkgbulk/obj/graphics/vigra/work/vigra-1.8.0/include/vigra/mathutil.hxx:150:
>  note:                 short int vigra::abs(short int)
> 
> should be fairly easy to patch...
> 
> -- 
> David A. Holland
> dholland%netbsd.org@localhost

I can't reproduce. What OS/version/arch/compiler?

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index