Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] CsoundVST fails on x86_64

Date2007-06-06 21:22
FromVictor Lazzarini
SubjectRe: [Cs-dev] CsoundVST fails on x86_64
looks like it assumes pointers to be 32-bit ints,
which is not the case on 64bit

Victor

>
> frontends/CsoundVST/CsoundVST.cpp:70:15: warning:
> multi-character character constant
> frontends/CsoundVST/CsoundVST.cpp:128:15: warning:
> multi-character character constant
> /usr/X11R6/include/FL/Fl_Image.H: In constructor
> 'Fl_RGB_Image::Fl_RGB_Image(const uchar*, int, int, int,
> int)': /usr/X11R6/include/FL/Fl_Image.H:95: warning:
> dereferencing type-punned pointer will break
> strict-aliasing rules frontends/CsoundVST/CsoundVST.cpp:
> In constructor 'CsoundVST::CsoundVST(long int (*)(AEffect*
> , long int, long int, long int, void*, float))':
> frontends/CsoundVST/CsoundVST.cpp:66: warning: value
> computed is not used frontends/CsoundVST/CsoundVST.cpp: In
> constructor 'CsoundVST::CsoundVST()':
> frontends/CsoundVST/CsoundVST.cpp:124: warning: value
> computed is not used
> frontends/CsoundVST/CsoundVST.cpp:139: warning: format
> '%d' expects type 'int', but argument 3 has type 'long
> unsigned int' frontends/CsoundVST/CsoundVST.cpp: In member
> function 'virtual int CsoundVST::perform()':
> frontends/CsoundVST/CsoundVST.cpp:342: error: cast from
> 'void*' to 'int' loses precision
> frontends/CsoundVST/CsoundVST.cpp: In member function
> 'virtual void CsoundVST::openFile(std::string)':
> frontends/CsoundVST/CsoundVST.cpp:858: warning: ignoring
> return value of 'int chdir(const char*)', declared with
> attribute warn_unused_result scons: ***
> [frontends/CsoundVST/CsoundVST.os] Error 1 scons: building
> terminated because of errors.
>
> ==John ffitch
>
> ----------------------------------------------------------
> --------------- This SF.net email is sponsored by DB2
> Express Download DB2 Express C - the FREE version of DB2
> express and take control of your XML. No limits. Just
> data. Click to get it now.
> http://sourceforge.net/powerbar/db2/
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net