[mythtv] syntax error in audiooutputca.cpp (Mac OS X)

Sebastian Hunt seb at soi.city.ac.uk
Fri Jun 16 12:35:43 UTC 2006


Just checked out svn trunk 10215 and build fails in audiooutputca.cpp (see 
below). Looks like a syntax error to me but my first attempt to compile 
frontend on os x so maybe I've screwed up somehow.

Is this the right place to post this - or should I raise a ticket? New 
here.

Seb Hunt

Sebastian Hunt                   tel: +44 (0)20 7040 8440
Department of Computing          fax: +44 (0)20 7040 0244
City University                        seb at soi.city.ac.uk
London EC1V 0HB            http://www.soi.city.ac.uk/~seb

g++ -c -pipe -mcpu=7450 -mtune=7450 -mpowerpc-gfxopt -faltivec 
-F/System/Library/Frameworks/{ApplicationServices,AudioUnit,Carbon,CoreAudio,IOKit}.framework/Frameworks 
-Wall -W -O3 -Wall -Wno-switch -no-cpp-precomp -pipe -fomit-frame-pointer 
-force_cpusubtype_ALL -Wno-sign-compare -fno-inline-functions -DPIC -fPIC 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" 
-DLIBDIR=\"/usr/local/lib\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
-DQT_ACCESSIBILITY_SUPPORT 
-I/Users/seb/src/qt-mac-free-3.3/mkspecs/default -I. -I/usr/local/include 
-I../libmythsamplerate -I../libmythsoundtouch -I../.. -I.. 
-I/Users/seb/src/qt-mac-free-3.3/include -o audiooutputca.o 
audiooutputca.cpp
In file included from audiooutputca.cpp:23:
audiooutputca.h:11:1: warning: "AUDBUFSIZE" redefined
In file included from audiooutputca.h:7,
                  from audiooutputca.cpp:23:
audiooutputbase.h:21:1: warning: this is the location of the previous 
definition
audiooutputca.cpp: In constructor 'AudioOutputCA::AudioOutputCA(QString, 
QString, int, int, int, AudioOutputSource, bool, bool)':
audiooutputca.cpp:49: error: expected `{' before 'coreaudio_data'
audiooutputca.cpp:49: error: 
'((AudioOutputCA*)this)->AudioOutputCA::coreaudio_data' cannot be used as 
a function
audiooutputca.cpp:50: error: 
'((AudioOutputCA*)this)->AudioOutputCA::bufferedBytes' cannot be used as a 
function
audiooutputca.cpp:51: error: expected `;' before '{' token
audiooutputca.cpp:59: error: no matching function for call to 
'AudioOutputCA::AudioOutputCA()'
audiooutputca.h:26: note: candidates are: virtual 
AudioOutputCA::~AudioOutputCA()
audiooutputca.cpp:60: error: expected `;' before '{' token
audiooutputca.cpp:67: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:164: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:180: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:213: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:220: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:225: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:230: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:235: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:246: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:264: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:280: error: a function-definition is not allowed here 
before '{' token
audiooutputca.cpp:289: error: expected `}' at end of input
make[2]: *** [audiooutputca.o] Error 1
make[1]: *** [sub-libmyth] Error 2
make: *** [sub-libs] Error 2


More information about the mythtv-dev mailing list