My favorites | Sign in
Google Code will be turning read-only on August 25th. See this post for more information.
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 136: aseprite-0.9.3/src/widgets/button_set.cpp:82:55: error: cast from ‘ButtonSet*’ to ‘int’ loses precision [-fpermissive]
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  davidcapello
Closed:  Jul 2012


Sign in to add a comment
 
Reported by christop...@posteo.de, Jul 11, 2012
Hello,

I am currently trying to compile version 0.9.3 for the Ubuntu gaming page PlayDeb.net on Ubuntu 12.04.

But there is this compile error:
aseprite-0.9.3/src/widgets/button_set.cpp:82:55: error: cast from ‘ButtonSet*’ to ‘int’ loses precision [-fpermissive]

Regards
Christoph
Jul 12, 2012
#1 mrkra...@gmail.com
I confirm this on Ubuntu 12.04 (64bit). Compiling version 0.9.3 fails at 86% with error message:

aseprite-0.9.3/src/widgets/button_set.cpp: In constructor ‘ButtonSet::ButtonSet(int, int, int, ...)’:
aseprite-0.9.3/src/widgets/button_set.cpp:82:55: error: cast from ‘ButtonSet*’ to ‘int’ loses precision [-fpermissive]
make[2]: *** [src/CMakeFiles/aseprite-library.dir/widgets/button_set.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/aseprite-library.dir/all] Error 2
make: *** [all] Error 2

Thank you in advance for fixing. So long…

Andreas
Jul 14, 2012
Project Member #2 davidcapello
This is a problem with GCC compiler in 64 bits. I'll try to install a virtual machine with Ubuntu 12.04 64bit.
Jul 14, 2012
Project Member #3 davidcapello
Fixed with commit #07a8b1895524e9f4a88ace0560cc5d2f359ecf5c:
https://github.com/dacap/aseprite/commit/07a8b1895524e9f4a88ace0560cc5d2f359ecf5c
Status: Fixed
Owner: davidcapello
Labels: Milestone-0.9
Sign in to add a comment

Powered by Google Project Hosting