----- Forwarded by Thomas J Amato/US/Raytheon on 04/24/02 09:31 AM ----- Thomas J Amato To: gcc-help@gcc.gnu.org cc: 04/24/02 Subject: Help with initializing static 09:26 AM data members of a class template..... Hi, I'm hoping someone can point me in the right direction here. I'm trying to initialize a static data member of a class template (using gcc 3.0.3 on Solaris 2.7) but for some reason I keep getting a conflicting type error. Is this a bug in gcc or is my syntax incorrect. Any help would be great. Thanks, Tom Here is the error I'm getting: si.h:140: warning: `class si::Val__' only defines a private destructor and has no friends si.h:149: conflicting types for `T si::Val__::per_[nBaseDims]' si.h:54: previous declaration as `T si::Val__::per_[nBaseDims]' si.h:352:15: warning: pasting "p1" and "+" does not give a valid preprocessing token si.h:352:15: warning: pasting "+" and "q" does not give a valid preprocessing token si.h:352:15: warning: pasting "p2" and "+" does not give a valid preprocessing token si.h:352:15: warning: pasting "+" and "q" does not give a valid preprocessing token si.h:352:15: warning: pasting "p3" and "+" does not give a valid preprocessing token si.h:352:15: warning: pasting "+" and "q" does not give a valid preprocessing token si.h:352:15: warning: pasting "p4" and "+" does not give a valid preprocessing token and here is the header file: (See attached file: si.h)