Hello,
I have problems compiling ocad2mp (tried both in Linux and MacOS), which
seem to be because some non-standard C++. (?)
ocad2mp.cpp:70: error: ambiguous overload for ‘operator[]’ in
‘s[i]’
ocad2mp.cpp:70: note: candidates are: operator[](const char*, long int)
<built-in>
lib/StdString.h:3658: note: CT&
CStdStr<CT>::operator[](int) [with CT = char]
lib/StdString.h:3663: note: const CT&
CStdStr<CT>::operator[](int) const [with CT = char]
lib/StdString.h:3668: note: CT&
CStdStr<CT>::operator[](unsigned int) [with CT = char]
lib/StdString.h:3673: note: const CT&
CStdStr<CT>::operator[](unsigned int) const [with CT = char]
same for line 72, 76. I tried to convert size_t to int, but got other
problems then...
Also free is used instead of delete in some places (no malloc pointers)
ocad.h:1622: error: ‘free’ was not declared in this scope
Nobody/Anonymous ( nobody ) - 2009-07-12 14:49
3
Closed
None
Nobody/Anonymous
None
None
Public
|
Date: 2009-09-04 16:26 ocad2mp can be compiled with gcc 4.3 since SVN rev. 260 at least |
|
Date: 2009-07-14 13:13 You forget to point your OS & compiler info. Probably, you have very old or |
| Field | Old Value | Date | By |
|---|---|---|---|
| status_id | Open | 2009-09-04 16:26 | lly |
| close_date | - | 2009-09-04 16:26 | lly |
| data_type | 742301 | 2009-07-14 13:13 | lly |
| priority | 5 | 2009-07-14 13:13 | lly |