List:MySQL++« Previous MessageNext Message »
From:Charles A. Haines Date:August 18 2005 5:58pm
Subject:RE:Compile Error on QNX 6.3 (was: RELEASE: v2.0.2)
View as plain text  
Alright, getting closer to getting this compiled on QNX 6.3.  The previous
error has now been fixed, but with the new release, I've not got the
following error later in the build process:

QCC -DHAVE_CONFIG_H -I. -I. -I.. -I../lib  -I/usr/local/mysql/include
-lsocket -lm -c -o custom1.o custom1.cpp
custom1.cpp: In function `void populate_stock(stock*, const mysqlpp::Row&)
   [with mysqlpp::sql_dummy_type dummy = sql_dummy]':
custom1.cpp:56:   instantiated from here
custom1.cpp:56: error: invalid static_cast from type `const
mysqlpp::ColData'
   to type `std::basic_string<char, std::char_traits<char>,
   std::allocator<char> >'
cc:
/usr/qnx630/host/qnx6/x86/usr/lib/gcc-lib/i386-pc-nto-qnx6.3.0/3.3.1/cc1plus
error 1
make[2]: *** [custom1.o] Error 1
make[2]: Leaving directory `/home/hainesca/mysql++-2.0.2/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/hainesca/mysql++-2.0.2'
make: *** [all] Error 2

For the time being, if I could disable the examples (if they have no bearing
on using the MySQL++ library), I will.  I tried --disable-examples, but that
didn't work.

Thanks,
Chuck

--
Charles Haines
Software Engineer / QA
Remote Sensing Lab - Andrews
------------------------------
Phone: (301) 817-3409
Pager: (800) 759-8888 #1209278
Email: hainesca@stripped
------------------------------

This e-mail and any attachments may contain privacy act information. If you
received this message in error or are not the intended recipient, you should
destroy this message and any attachments, and you are prohibited from
retaining, distributing, disclosing, or using any information contained
herein.  Please inform us of the erroneous delivery by return e-mail.  Thank
you for your cooperation. 
-----Original Message-----
From: Warren Young [mailto:mysqlpp@stripped] 
Sent: Thursday, August 18, 2005 1:29 PM
To: MySQL++ Mailing List
Subject: RELEASE: v2.0.2

Fixed a few buglets that slipped into the final release.

     o Fixes to makemake system for cmd.exe.

     o Fixed the case where the system's C++ library includes an slist
       implementation in namespace std.

As always, it is available at http://tangentsoft.net/mysql++/

-- 
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe:    http://lists.mysql.com/plusplus?unsub=1


Thread
RE:Compile Error on QNX 6.3 (was: RELEASE: v2.0.2)Charles A. Haines18 Aug
  • Re: Compile Error on QNX 6.3 (was: RELEASE: v2.0.2)Warren Young18 Aug