Page 1 of 1

failed when compiling again...

Posted: 2008-06-02T14:10:47-07:00
by sskaje
failed when compiling again...


E:\build\ImageMagick\ImageMagick-6.4.1\coders\fits.c(410) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
E:\build\ImageMagick\ImageMagick-6.4.1\coders\fits.c(525) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
E:\build\ImageMagick\ImageMagick-6.4.1\coders\fits.c(527) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
E:\build\ImageMagick\ImageMagick-6.4.1\coders\fits.c(587) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
E:\build\ImageMagick\ImageMagick-6.4.1\coders\fits.c(851) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
E:\build\ImageMagick\ImageMagick-6.4.1\coders\fits.c(855) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
E:\build\ImageMagick\ImageMagick-6.4.1\coders\fits.c(902) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
Compiling...



All - 8 error(s), 7 warning(s)



building with VC6 under WINXP

Re: failed when compiling again...

Posted: 2008-06-02T14:52:30-07:00
by magick
We have a patch for the problem you reported. It will be available in a few hours in the Subversion repository.

Re: failed when compiling again...

Posted: 2008-06-02T15:07:02-07:00
by sskaje
magick wrote:We have a patch for the problem you reported. It will be available in a few hours in the Subversion repository.

thx :)

Re: failed when compiling again...

Posted: 2008-06-09T11:37:15-07:00
by sskaje
6.4.1-6
:

Code: Select all

E:\develop\imagemagick\ImageMagick-6.4.1\coders\dib.c(1197) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\cin.c(977) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
Compiling...




E:\develop\imagemagick\ImageMagick-6.4.1\coders\fits.c(860) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
E:\develop\imagemagick\ImageMagick-6.4.1\coders\fits.c(907) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
Compiling...


E:\develop\imagemagick\ImageMagick-6.4.1\coders\pdf.c(847) : warning C4305: 'initializing' : truncation from 'const int ' to 'const char '
E:\develop\imagemagick\ImageMagick-6.4.1\coders\pdf.c(847) : warning C4305: 'initializing' : truncation from 'const int ' to 'const char '
E:\develop\imagemagick\ImageMagick-6.4.1\coders\pdf.c(847) : warning C4305: 'initializing' : truncation from 'const int ' to 'const char '
Generating Code...


E:\develop\imagemagick\ImageMagick-6.4.1\coders\wpg.c(1212) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\wpg.c(1214) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\wpg.c(1216) : warning C4761: integral size mismatch in argument; conversion supplied
Compiling...



E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(375) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(389) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(473) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(479) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(496) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(531) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(537) : warning C4761: integral size mismatch in argument; conversion supplied
E:\develop\imagemagick\ImageMagick-6.4.1\coders\xcf.c(554) : warning C4761: integral size mismatch in argument; conversion supplied

Re: failed when compiling again...

Posted: 2008-06-09T12:05:02-07:00
by magick
We have a patch for the problem you reported in ImageMagick 6.4.1-7 Beta available sometime tomorrow. Thanks.

Re: failed when compiling again...

Posted: 2008-08-25T06:28:54-07:00
by roland
Hi,
There is still one of such error message in 6.4.3 with VC++ 6.0

Compiling...
string.c
MagickCore lib static interface
MagickCore module static interface
E:\users\software\ImageMagick-6.4.3\magick\string.c(1016) : error C2520: conversion from unsigned __int64 to double not implemented, use signed __int64
Error executing cl.exe.

All - 1 error(s), 0 warning(s)

Re: failed when compiling again...

Posted: 2008-08-25T09:40:14-07:00
by magick
We have not tried this, but a recommended solution is to install the Microsoft Visual C++ Processor Pack. Note it compiles fine with VS 2005. You can also add a cast:
  • length=(double) ((MagickOffsetType) size);

Re: failed when compiling again...

Posted: 2008-08-26T07:00:31-07:00
by roland
Thanks Magick, both solution work.