From: Warren Young Date: December 18 2007 6:25pm Subject: Re: Linking errors after moving to SSQLSs, macro problem List-Archive: http://lists.mysql.com/plusplus/7279 Message-Id: <476810AE.3010403@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Warren Young wrote: > #ifndef CLASSWITHSSQLS_H > #define CLASSWITHSSQLS_H > > #define MYSQLPP_SSQLS_NO_STATICS // *** ditto ClassWithSSQLS.h Ooops, this one shouldn't be there. Basically, the rule is to tell the preprocessor to not define the statics in every .cpp file before the #include for *either* ssqls.h or ClassWithSSQLS.h. It's essentially the same thing the manual talks about. You've just added a second file, but not changed the actual problem.