[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] compile error on linux




There are two files called ReadWriteMacros.h, one for the lang and one for the server.
Perhaps the include is finding the wrong one.


On Dec 16, 2003, at 9:31 AM, smoerk wrote:

i've got the following errors on linux. it's an (anonymous) cvs checkout, only 1 hour old.

g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../headers/common -I../../../headers/plugin_interface -I../../../headers/lang -I../../../headers/server -Wall -DSC_LINUX -D_REENTRANT -DNDEBUG -g -O2 -c PyrArchiver.cpp -MT PyrArchiver.lo -MD -MP -MF .deps/PyrArchiver.TPlo -fPIC -DPIC -o .libs/PyrArchiver.lo
In file included from ../../../headers/lang/PyrSymbol.h:29,
                 from ../../../headers/lang/PyrSlot.h:32,
                 from ../../../headers/lang/PyrObject.h:29,
                 from ../../../headers/lang/PyrArchiverT.h:30,
                 from PyrArchiver.cpp:26:
../../../headers/lang/SCBase.h:48: warning: ignoring #pragma export on
../../../headers/lang/SCBase.h:66: warning: ignoring #pragma export off
In file included from ../../../headers/lang/PyrSlot.h:32,
                 from ../../../headers/lang/PyrObject.h:29,
                 from ../../../headers/lang/PyrArchiverT.h:30,
                 from PyrArchiver.cpp:26:
../../../headers/lang/PyrSymbol.h:59:7: warning: no newline at end of file
In file included from ../../../headers/lang/PyrArchiverT.h:37,
                 from PyrArchiver.cpp:26:
../../../headers/lang/ReadWriteMacros.h: In instantiation of `SC_IOStream<FILE*>':
../../../headers/lang/ReadWriteMacros.h:292:   instantiated from here
../../../headers/lang/ReadWriteMacros.h:105: error: `void
   SC_IOStream<T>::writeFloat_le(float) [with T = FILE*]' and `void
SC_IOStream<T>::writeFloat_le(float) [with T = FILE*]' cannot be overloaded ../../../headers/lang/ReadWriteMacros.h: In instantiation of `SC_IOStream<char*>':
../../../headers/lang/ReadWriteMacros.h:313:   instantiated from here
../../../headers/lang/ReadWriteMacros.h:105: error: `void
   SC_IOStream<T>::writeFloat_le(float) [with T = char*]' and `void
SC_IOStream<T>::writeFloat_le(float) [with T = char*]' cannot be overloaded
In file included from PyrArchiver.cpp:26:
../../../headers/lang/PyrArchiverT.h:170:47: warning: multi-character character constant ../../../headers/lang/PyrArchiverT.h:178:44: warning: multi-character character constant
make[4]: *** [PyrArchiver.lo] Error 1
make[4]: Leaving directory `/opt/cvs/SuperCollider3/source/lang/LangPrimSource'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/cvs/SuperCollider3/source/lang'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/cvs/SuperCollider3/source'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cvs/SuperCollider3'
make: *** [all] Error 2

_______________________________________________
sc-dev mailing list
sc-dev@xxxxxxxxxxxxxxx
http://www.create.ucsb.edu/mailman/listinfo/sc-dev


--
--- james mccartney   james@xxxxxxxxxxxxxx   <http://www.audiosynth.com>
SuperCollider - a real time audio synthesis programming language