|
|
Choosing A Webhost: |
SSQLS Compile Errors: msg#00122db.mysql.c++
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> |
|---|---|---|
| Previous by Date: | Re: Newbie VC build help, cwic |
|---|---|
| Next by Date: | more mingw build problems, Patrick McMichael |
| Previous by Thread: | Newbie VC build help, ed we |
| Next by Thread: | Re: SSQLS Compile Errors, Warren Young |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive 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 |