From: Warren Young Date: July 6 2005 5:52pm Subject: Re: static globals in SSQL macro expansion -> multiple definition linker errors List-Archive: http://lists.mysql.com/plusplus/4602 Message-Id: <42CC1A59.2030102@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Chris Frey wrote: > // file: stock.cpp - the only file that has the static data > #define SSQLS_GENERATE_STATICS > #include "tables.h" Doesn't work. I tried it. You can't have an ifdef inside a macro.