[PD-dev] msd and gcc4
Mathieu Bouchard
matju at artengine.ca
Sun Nov 20 19:36:01 CET 2005
On Sun, 20 Nov 2005, cyrille henry wrote:
> since i'm on ubuntu brezy, (using gcc 4.0 by default) i'm not able to compile
> msd anymore...
> main.cpp:3: erreur: explicit specialization of 'flext_obj*
> msdN<1>::__init__(int, t_atom*)' must be introduced by 'template <>'
> main.cpp:3: erreur: template-id '__init__<>' for 'flext_obj*
> msdN<1>::__init__(int, t_atom*)' does not match any template declaration
> main.cpp:3: erreur: déclaration de fonction invalide
Just do what the error message tells you to do. Insert "template <>" at
the beginning of the declaration and/or definition.
I've had similar problems a while ago trying to compile GridFlow with
newer GCC's. The fix was as easy as just that.
____________________________________________________________________
Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju
Freelance Digital Arts Engineer, Montréal QC Canada
More information about the Pd-dev
mailing list