From: Warren Young Date: May 23 2011 5:28am Subject: Re: Patch for number of fields from ssqls classes List-Archive: http://lists.mysql.com/plusplus/9359 Message-Id: <9F4B207D-B902-48F0-B371-42DF052ADE3A@etr-usa.com> MIME-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable On May 22, 2011, at 10:04 AM, Adrian Cornish wrote: > Trying to use ssqls::field_count in initializer produces errors like = this > ./test/qssqls.cpp:56:1: error: pasting "test" and "::" does not give a > valid preprocessing token I haven't looked at the rest of your patch yet, but this is what I meant = by my admission that I was obviously on drugs when I initially discussed = this. You don't want to use the token pasting operator (##) here at = all. Just say NAME::field_count.