From f5e65426ea3c0e7d34eb28ea20550cdfc817bcdb Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Sat, 30 Jul 2005 11:19:34 +0000 Subject: comply to language restrictions of newer g++ compilers svn path=/trunk/externals/nusmuk/; revision=3387 --- msd.h | 53 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 37 insertions(+), 16 deletions(-) diff --git a/msd.h b/msd.h index 7b2b8c1..fa8fa24 100644 --- a/msd.h +++ b/msd.h @@ -1858,22 +1858,43 @@ private: // -------------------------------------------------------------- STATIC VARIABLES // ------------------------------------------------------------------------------- +template const t_symbol *msdN::S_Reset; +template const t_symbol *msdN::S_Mass; +template const t_symbol *msdN::S_Link; +template const t_symbol *msdN::S_iLink; +template const t_symbol *msdN::S_tLink; +template const t_symbol *msdN::S_nLink; +template const t_symbol *msdN::S_Mass_deleted; +template const t_symbol *msdN::S_Link_deleted; +template const t_symbol *msdN::S_massesPos; +template const t_symbol *msdN::S_massesPosNo; +template const t_symbol *msdN::S_massesPosId; +template const t_symbol *msdN::S_linksPos; +template const t_symbol *msdN::S_linksPosNo; +template const t_symbol *msdN::S_linksPosId; +template const t_symbol *msdN::S_linksLenghts; +template const t_symbol *msdN::S_linksLenghtsMean; +template const t_symbol *msdN::S_linksLenghtsStd; +template const t_symbol *msdN::S_linksLenghtsNo; +template const t_symbol *msdN::S_linksLenghtsId; +template const t_symbol *msdN::S_massesForces; +template const t_symbol *msdN::S_massesForcesMean; +template const t_symbol *msdN::S_massesForcesStd; +template const t_symbol *msdN::S_massesForcesNo; +template const t_symbol *msdN::S_massesForcesId; +template const t_symbol *msdN::S_massesSpeeds; +template const t_symbol *msdN::S_massesSpeedsMean; +template const t_symbol *msdN::S_massesSpeedsStd; +template const t_symbol *msdN::S_massesSpeedsNo; +template const t_symbol *msdN::S_massesSpeedsId; +template const t_symbol *msdN::S_massesPosL; +template const t_symbol *msdN::S_massesPosXL; +template const t_symbol *msdN::S_massesPosYL; +template const t_symbol *msdN::S_massesPosZL; +template const t_symbol *msdN::S_massesPosStd; +template const t_symbol *msdN::S_massesPosMean; +template const t_symbol *msdN::S_massesForcesL; + #define MSD(NAME,CLASS,N) \ -const t_symbol \ - *msdN::S_Reset,*msdN::S_Mass, \ - *msdN::S_Link,*msdN::S_iLink,*msdN::S_tLink,*msdN::S_nLink, \ - *msdN::S_Mass_deleted,*msdN::S_Link_deleted, \ - *msdN::S_massesPos,*msdN::S_massesPosNo,*msdN::S_massesPosId, \ - *msdN::S_linksPos,*msdN::S_linksPosNo,*msdN::S_linksPosId, \ - *msdN::S_linksLenghts,*msdN::S_linksLenghtsMean,*msdN::S_linksLenghtsStd, \ - *msdN::S_linksLenghtsNo,*msdN::S_linksLenghtsId, \ - *msdN::S_massesForces,*msdN::S_massesForcesMean,*msdN::S_massesForcesStd, \ - *msdN::S_massesForcesNo,*msdN::S_massesForcesId, \ - *msdN::S_massesSpeeds,*msdN::S_massesSpeedsMean,*msdN::S_massesSpeedsStd, \ - *msdN::S_massesSpeedsNo,*msdN::S_massesSpeedsId, \ - *msdN::S_massesPosL,*msdN::S_massesPosXL,*msdN::S_massesPosYL, \ - *msdN::S_massesPosZL,*msdN::S_massesPosStd,*msdN::S_massesPosMean,\ - *msdN::S_massesForcesL; \ -\ typedef msdN CLASS; \ FLEXT_NEW_V(NAME,CLASS) -- cgit v1.2.1