Csound Csound-dev Csound-tekno Search About

[Cs-dev] ciompilation failure

Date2015-05-29 15:01
Fromjpff
Subject[Cs-dev] ciompilation failure
On a server I am seeing

/home/jpff/csound/interfaces/csPerfThread.cpp
/home/jpff/csound/interfaces/csPerfThread.cpp: In constructor
'CsPerfThreadMsg_Record::CsPerfThreadMsg_Record(CsoundPerformanceThread*,
std::string, int, int)':
/home/jpff/csound/interfaces/csPerfThread.cpp:213:82: error: invalid
conversion from 'long unsigned int (*)(void*)' to 'uintptr_t (*)(void*) {aka
unsigned int (*)(void*)}' [-fpermissive]
         recordData->thread = csoundCreateThread(recordThread_, (void*)
recordData);

^
In file included from /home/jpff/csound/./include/csound.hpp:41:0,
                 from /home/jpff/csound/interfaces/csPerfThread.cpp:27:
/home/jpff/csound/./include/csound.h:1809:18: error:   initializing argument 1
of 'void* csoundCreateThread(uintptr_t (*)(void*), void*)' [-fpermissive]
     PUBLIC void *csoundCreateThread(uintptr_t (*threadRoutine)(void *),
                  ^
make[2]: *** [interfaces/CMakeFiles/libcsnd6.dir/csPerfThread.cpp.o] Error 1
make[2]: Leaving directory `/home/jpff/csound'
make[1]: *** [interfaces/CMakeFiles/libcsnd6.dir/all] Error 2
make[1]: Leaving directory `/home/jpff/csound'

Looks like a C++ problembeyond my ken

==John ffitch

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net