#15 cast from ‘DWORD*’ to ‘unsigned int’ loses precision

version 1
open
nobody
None
5
2014-12-29
2010-01-25
kubriel
No

trying to compile freeframe on my ubuntu karmic x64 AMD Turion(tm) 64 Mobile Technology MK-36
i tried gcc-4.4, gcc-4.1, but result was the same. looks like this problem is also in other plugins

make
../../../Source/FFGLPlugins/FFGLBrightness/FFGLBrightness.cpp: In member function ‘virtual DWORD FFGLBrightness::GetParameter(DWORD)’:
../../../Source/FFGLPlugins/FFGLBrightness/FFGLBrightness.cpp:119: error: cast from ‘DWORD*’ to ‘unsigned int’ loses precision
../../../Source/FFGLPlugins/FFGLBrightness/FFGLBrightness.cpp: In member function ‘virtual DWORD FFGLBrightness::SetParameter(const SetParameterStruct*)’:
../../../Source/FFGLPlugins/FFGLBrightness/FFGLBrightness.cpp:135: error: cast from ‘const DWORD*’ to ‘unsigned int’ loses precision
make: *** [FFGLBrightness.o] Error 1

Discussion

  • bangnoise

    bangnoise - 2010-03-05

    FreeFrame 1.5 does not support 64-bit builds. Revisions to support 64-bit are currently under discussion (see the mailing list archives).

     
  • Russell Blakeborough

    64 bit is now supported by FreeFrame 1.6 - please see SVN for further details or contact me on boblists AT brightonart DOT org if you need further info.

     
    Last edit: Russell Blakeborough 2014-11-28
  • Russell Blakeborough

    • status: open --> closed
    • Group: --> version 1
     
  • bangnoise

    bangnoise - 2014-11-28

    1.6 is not released, should this be closed? The specification (still) needs to be updated to require natural/word-sized padding of structures. See list archive.

     
  • Russell Blakeborough

    • status: closed --> open
     
  • Russell Blakeborough

    Sorry bangnoise, happy to leave the request open, just wanting to make sure that kubriel is aware that things have moved on a lot with 64bit and that there is code on SVN.

     
    Last edit: Russell Blakeborough 2014-11-28

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks