Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

SSQLS Compile Errors: msg#00122

db.mysql.c++

Subject: SSQLS Compile Errors

I'm trying to compile the following code on QNX 6.3:

sql_create_c_order_8( GrossCount, 2, 0,
int, CounterNum, 1,
int, EventID, 8,
string, GCType, 2,
int, Count, 3,
string, Description, 4,
double, LiveTime, 5,
double, RealTime, 6,
double, DeadTime, 7 )

However, I'm getting the following errors:

src/SFXCounter.cpp: In function `void populate_GrossCount(GrossCount*, const
mysqlpp::Row&) [with mysqlpp::sql_dummy_type dummy = sql_dummy]':
src/SFXCounter.cpp:55: instantiated from here
src/SFXCounter.cpp:55: error: invalid static_cast from type `const
mysqlpp::ColData' to type `std::basic_string<char,
std::char_traits<char>,
std::allocator<char> >'
src/SFXCounter.cpp:55: instantiated from here
src/SFXCounter.cpp:55: 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: *** [sfxcounter] Error 1

I got the same errors when trying to compile the examples, so I'm sure it's
related. I was told that the problem might be buried deep in
custom-macros.h. I was curious if any progress had been made on this? I'd
like to use SSQLS because it makes the insertion of data into the database
easier. I didn't see any examples of putting information into a database
unless it was using SSQLS. If there is another way, I'd be happy to
entertain it. Or if someone could point me in the direction to fix this
problem, I'll see if I can.

Thanks,
Chuck

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

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.


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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
solaris.opensol...    editors.vim/200...    web.turbogears....    jakarta.ant.dev...    mathematics.max...    text.unicode.ge...    lang.ruby.core/...    xfce.announce/2...    network.centeri...    php.cvs.pear/20...    user-groups.lin...    kde.devel.quant...    file-systems.ar...    redhat.fedora.t...    apple.fink.auto...    gnome.orbit.gen...    qplus.devel/200...    culture.transpo...    video.dri.user/...    operators.nanog...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation