dbTalk Databases Forums  

Custom.pl error

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Custom.pl error in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default Custom.pl error - 07-13-2006 , 12:43 PM






------_=_NextPart_001_01C6A6A3.A613A860
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

New user here. I am using MSVS .NET 2003 and mysql++2.1.1. When I try
to build the examples, 12 of the 19 build and run perfectly, but 7 of
them (the ones that include <custom.h> give me this error:

=20

Compiling...

custom1.cpp

...\lib\custom.h(16) : fatal error C1189: #error : Please run the
MySQL++ script lib/custom.pl with the -v compatibility flag.

=20

What am I doing wrong?? From reading the archives, I thought this
problem was fixed in v2.1.1.

=20

TIA.=20

=20

=20


------_=_NextPart_001_01C6A6A3.A613A860--

Reply With Quote
  #2  
Old   
AT
 
Posts: n/a

Default Re: Custom.pl error - 07-18-2006 , 05:18 AM






Allen, Shannon AMRDEC/Summit wrote:
Quote:
..\lib\custom.h(16) : fatal error C1189: #error : Please run the
MySQL++ script lib/custom.pl with the -v compatibility flag.

What am I doing wrong?? From reading the archives, I thought this
problem was fixed in v2.1.1.
Re-running custom.pl with the -v compatibility flag *is* the fix in
v2.1.1. That reverts custom.h to its previous form, disabling the new
SSQLS feature that causes the problem. If you need the ability to
#include headers containing SSQLS definitions in multiple modules,
you'll have to upgrade to VC++ 2005.

You'll need a Perl interpreter of some sort. The ones from Cygwin and
ActiveState are easiest to set up.

--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.