failed when compiling again...

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
Post Reply
sskaje

failed when compiling again...

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: failed when compiling again...

Post by magick »

We have a patch for the problem you reported. It will be available in a few hours in the Subversion repository.
sskaje

Re: failed when compiling again...

Post 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 :)
sskaje

Re: failed when compiling again...

Post 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
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: failed when compiling again...

Post by magick »

We have a patch for the problem you reported in ImageMagick 6.4.1-7 Beta available sometime tomorrow. Thanks.
roland

Re: failed when compiling again...

Post 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)
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: failed when compiling again...

Post 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);
roland

Re: failed when compiling again...

Post by roland »

Thanks Magick, both solution work.
Post Reply