Re: [LAD] Fwd: Re: basic g++ compiling of faust programs

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: hermann <brummer-@...>
Cc: linux-audio-dev@lists.linuxaudio.org <linux-audio-dev@...>
Date: Friday, February 3, 2012 - 11:25 pm

On Fri, 03 Feb 2012 21:34:18 +0100
hermann wrote:

> Am Freitag, den 03.02.2012, 19:37 +0100 schrieb Renato:

hmm it seems like I'm getting the same error... BTW I have no
"qmake-qt4" on my Archlinux system, only "qmake" (which belongs to
package qt-4.8.0)

$ make -C .
make: Entering directory `/home/renato/Documents/faust/simple'
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I/usr/lib/faust -I/usr/lib/faust/gui -I/usr/lib/faust/osclib -I. -I. -o simple.dsp.o simple.dsp.cpp
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:62:0,
from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/algorithm:63,
from /usr/include/QtCore/qglobal.h:68,
from /usr/include/QtCore/qnamespace.h:45,
from /usr/include/QtCore/qobjectdefs.h:45,
from /usr/include/QtCore/qobject.h:47,
from /usr/include/QtCore/qcoreapplication.h:45,
from /usr/include/QtGui/qapplication.h:45,
from /usr/include/QtGui/QApplication:1,
from /usr/lib/faust/gui/faustqt.h:34,
from simple.dsp.cpp:48:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:358:41: error: macro "max" passed 3 arguments, but takes just 2
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:369:41: error: macro "min" passed 3 arguments, but takes just 2
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:62:0,
from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/algorithm:63,
from /usr/include/QtCore/qglobal.h:68,
from /usr/include/QtCore/qnamespace.h:45,
from /usr/include/QtCore/qobjectdefs.h:45,
from /usr/include/QtCore/qobject.h:47,
from /usr/include/QtCore/qcoreapplication.h:45,
from /usr/include/QtGui/qapplication.h:45,
from /usr/include/QtGui/QApplication:1,
from /usr/lib/faust/gui/faustqt.h:34,
from simple.dsp.cpp:48:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected unqualified-id before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected ‘)’ before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected ‘)’ before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected ‘)’ before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:354:5: error: expected initializer before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:358:5: error: template declaration of ‘const _Tp& std::max’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected unqualified-id before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected ‘)’ before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected ‘)’ before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected ‘)’ before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:365:5: error: expected initializer before ‘const’
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/algorithmfwd.h:369:5: error: template declaration of ‘const _Tp& std::min’
In file included from /usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/algorithm:63:0,
from /usr/include/QtCore/qglobal.h:68,
from /usr/include/QtCore/qnamespace.h:45,
from /usr/include/QtCore/qobjectdefs.h:45,
from /usr/include/QtCore/qobject.h:47,
from /usr/include/QtCore/qcoreapplication.h:45,
from /usr/include/QtGui/qapplication.h:45,
from /usr/include/QtGui/QApplication:1,
from /usr/lib/faust/gui/faustqt.h:34,
from simple.dsp.cpp:48:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance)’:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:3285:26: error: expected unqualified-id before ‘(’ token
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h: In function ‘void std::__merge_sort_loop(_RandomAccessIterator1, _RandomAccessIterator1, _RandomAccessIterator2, _Distance, _Compare)’:
/usr/lib/gcc/i686-pc-linux-gnu/4.6.2/../../../../include/c++/4.6.2/bits/stl_algo.h:3308:26: error: expected unqualified-id before ‘(’ token
simple.dsp.cpp: At global scope:
simple.dsp.cpp:78:14: warning: unused parameter ‘m’ [-Wunused-parameter]
simple.dsp.cpp:83:14: warning: unused parameter ‘samplingFreq’ [-Wunused-parameter]
make: *** [simple.dsp.o] Error 1
make: Leaving directory `/home/renato/Documents/faust/simple'
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Fwd: Re: basic g++ compiling of faust programs, Renato Budinich, (Fri Feb 3, 2:17 pm)
Re: [LAD] Fwd: Re: basic g++ compiling of faust programs, Renato, (Fri Feb 3, 11:25 pm)