[PD] Compiling msd* with gcc 4

Thomas Grill gr at grrrr.org
Mon May 15 13:33:40 CEST 2006


Hi Andrew,
obviously your cvs checkout is not up to date:

The last lines should be
#define MSD(NAME,CLASS,N) \
typedef msdN<N> CLASS; \
template<> FLEXT_NEW_V(NAME,CLASS)

which fixes the compilation problem.

greetings,
Thomas

Am 15.05.2006 um 02:29 schrieb Andrew Johnston:

> > What are the last lines in your msd.h?
>
> oops- and probably you are interested in the lines before those also. 
> The last 9 lines:
>
> template<int N> const t_symbol *msdN<N>::S_massesPosYL;
> template<int N> const t_symbol *msdN<N>::S_massesPosZL;
> template<int N> const t_symbol *msdN<N>::S_massesPosStd;
> template<int N> const t_symbol *msdN<N>::S_massesPosMean;
> template<int N> const t_symbol *msdN<N>::S_massesForcesL;
>
> #define MSD(NAME,CLASS,N) \
> typedef msdN<N> CLASS; \
> FLEXT_NEW_V(NAME,CLASS)
>
> Andrew
> -- 
> Andrew Johnston
> http://andrewjohnston.net/
>
>





More information about the Pd-list mailing list