2 messages in com.mysql.lists.plusplusFatal C1001 with con.storein() in VC6...| From | Sent On | Attachments |
|---|---|---|
| Marco Menti | 18 Jun 2002 01:44 | |
| Benjamin Pflugmann | 18 Jun 2002 04:30 |
| Subject: | Fatal C1001 with con.storein() in VC6 SP5![]() |
|---|---|
| From: | Marco Menti (ma...@bug.ch) |
| Date: | 06/18/2002 01:44:56 AM |
| List: | com.mysql.lists.plusplus |
Hi there...
I've just tried to compile this codesnippet:
#include <mysql++> #include <custom.hh>
sql_create_5 (stock, // struct name, 1, 5, // I'll explain these latter string, item, // type, id int, num, double, weight, double, price, Date, sdate)
int main () { Connection con (use_exceptions); con.connect ("mysql_cpp_data"); Query query = con.query (); query << "select * from stock";
vector < stock > res; query.storein (res); return 0; }
But I'll receive the following error (Sorry, it's a german VSS :) :
(...)
C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\xlocnum(267) : fatal
error C1001: INTERNER COMPILER- FEHLER (Compiler-Datei "msc1.cpp", Zeile
1794)
(...) C:\Programme\Microsoft Visual Studio\VC98\INCLUDE\xlocnum(263) :
Bei der Kompilierung der Member-Funktion 'class
std::istreambuf_iterator<char,struct std::char_traits<char> > __thiscall
std::num_get<char,class std::istreambuf_iterator<char,struct
std::char_traits<char> > >::do_get(class
std::istreambuf_iterator<char,struct std::char_traits<char> >,class
std::istreambuf_iterator<char,struct std::char_traits<char> >,class
std::ios_base &,int &,void *& ) const' der Klassenvorlage(...)
I'm using LazyFox's 1.7.1 & just inserted the code @ the "sample project" running under VC6++ SP5 (german). The machine is running under WINXP.
I was searching the "whole" net but didn't found a "working fix"
Any ideas? workarounds?
Thanks in advance
Marco




