11 messages in com.mysql.lists.plusplusRe: gcc 3.3.2 my++-1.7.9 w/ gcc 3.3 p...| From | Sent On | Attachments |
|---|---|---|
| Steven Webb | 14 Jan 2004 15:41 | |
| Mickaël Wolff | 15 Jan 2004 04:42 | |
| Mickaël Wolff | 15 Jan 2004 10:25 | |
| Mickaël Wolff | 15 Jan 2004 13:34 | |
| Mickaël Wolff | 16 Jan 2004 04:35 | |
| Sinisa Milivojevic | 16 Jan 2004 04:51 | |
| Mickaël Wolff | 16 Jan 2004 05:11 | |
| Sinisa Milivojevic | 17 Jan 2004 04:39 | |
| Daniel Löfquist | 17 Jan 2004 06:23 | |
| Mickaël Wolff | 17 Jan 2004 06:57 | |
| Sinisa Milivojevic | 17 Jan 2004 06:57 |
| Subject: | Re: gcc 3.3.2 my++-1.7.9 w/ gcc 3.3 patch not working.![]() |
|---|---|
| From: | Daniel Löfquist (dan...@kingsofcode.net) |
| Date: | 01/17/2004 06:23:51 AM |
| List: | com.mysql.lists.plusplus |
OK, this is what I'm doing exactly when trying to install:
1. tar -xzf mysql++-1.7.9.tar.gz 2. cd mysql++-1.7.9 3. patch -p1 < ../patch_gcc_3.3 Now I get a question from the patching process: The next patch would create file sqlplusint/Makefile.in, which already exists! Assume -R? [n] If my answer is "n"(as in "no") I get another question right away: Apply anyway? [n] If I answer "y"(as in "yes") on the first question it just keeps on patching. So there are three possible combination of answers to these two questions(n+n, n+y and y). 4. ./configure 5. make After a while make crashes and this is what I get on my screen: ... custom1.cc: In function `void populate_stock(stock*, const MysqlRow&) [with sql_dummy_type dummy = sql_dummy]': custom1.cc:10: instantiated from here custom1.cc:10: error: ambiguous overload for 'operator=' in 's->stock::item = MysqlRow::operator[](int) const(0)' /usr/local/include/c++/3.3.2/bits/basic_string.h:361: error: candidates are: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] /usr/local/include/c++/3.3.2/bits/basic_string.h:364: error: std::basic_string<_CharT, _Traits, _Alloc>& std::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>] make[2]: *** [custom1.o] Error 1 make[2]: Leaving directory `/usr/local/mysql++-1.7.9/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/mysql++-1.7.9' make: *** [all-recursive-am] Error 2
No matter what I answer on the patching-questions I still get this same crash and error. Now tell me, what am I doing wrong? I'm gonna lose my mind if I don't get this working soon :-P Please help.
Sincerely,
Daniel Löfquist
PS. Oh, and Sinisa - sorry about that. It won't happen again.
-- Excuse me, I believe you have my stapler...?




