Hello
I am getting an OS X-specific error using the latest CVS:
/bin/sh ../../../libtool --tag=CXX --mode=compile g++ -
DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/include -Wreturn-type
-ffast-math -fno-common -D_THREAD_SAFE -MT
MidiInputDeviceCoreMidi.lo -MD -MP -MF .deps/
MidiInputDeviceCoreMidi.Tpo -c -o MidiInputDeviceCoreMidi.lo
MidiInputDeviceCoreMidi.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../.. -I/usr/local/
include -Wreturn-type -ffast-math -fno-common -D_THREAD_SAFE -MT
MidiInputDeviceCoreMidi.lo -MD -MP -MF .deps/
MidiInputDeviceCoreMidi.Tpo -c MidiInputDeviceCoreMidi.cpp -o
MidiInputDeviceCoreMidi.o
../../engines/../drivers/audio/../../effects/EffectControl.h:27:
error: expected identifier before numeric constant
../../engines/../drivers/audio/../../effects/EffectControl.h:27:
error: expected `}' before numeric constant
../../engines/../drivers/audio/../../effects/EffectControl.h:27:
error: expected unqualified-id before numeric constant
../../engines/../drivers/audio/../../effects/EffectControl.h:30:
error: expected unqualified-id before ')' token
The code looks correct (There are no problems compiling on Linux.) yet
I get the above error:
class EffectControl {
public:
enum Type_t {
TYPE_FLOAT,
TYPE_INT,
TYPE_BOOL
};
EffectControl();
virtual ~EffectControl();
virtual void SetValue(float val) throw (Exception);
virtual float& Value();
Type_t Type() const;
Would anyone have any idea why this is ?
Thanks in advance,
Ebrahim
------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
Linuxsampler-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel