From: Warren Young Date: October 17 2006 10:12am Subject: Re: Problems with timestamp List-Archive: http://lists.mysql.com/plusplus/6039 Message-Id: <4534ACAB.6030507@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Королев Илья wrote: >> Search custom.pl for MYSQLPP_NO_STATIC, or see the way this feature is >> tested in examples/util.cpp. > > I guess, in such case I can't use field_list() function? Beside, field_list() > use names[], but in my patch there are no names[] at all. I think you misunderstand the feature. You #include custom.h normally within one module, and #define MYSQLPP_NO_STATIC before including it again in other modules. This ensures that the static members are defined only once, thus avoiding the problems of multiply defined static data members.