#185 closed defect (fixed)
Compiling error
Reported by: | César Pérez Álvarez | Owned by: | manuelb |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Various | Version: | head |
Severity: | blocker | Keywords: | |
Cc: |
Description
The CVS-version can't compile. The error report is here:
Deleting intermediate files and output files for project 'tollib - Win32 Release'.
Compiling...
StdAfx.cpp
Compiling...
...
bdb.cpp
../btol/matrix_type\tol_bmatrix.h(72) : warning C4660: template-class
specialization 'BArray<int>' is already instantiated
bdspool.cpp
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1240) : error C2065: 'vector' :
undeclared identifier
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1240) : error C2062: type 'char'
unexpected
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1243) : error C2057: expected
constant expression
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1243) : error C2466: cannot
allocate an array of constant size 0
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1243) : error C2133: 'fieldNames' :
unknown size
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1248) : error C2057: expected
constant expression
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1248) : error C2466: cannot
allocate an array of constant size 0
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1248) : error C2133: 'serieNames' :
unknown size
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1251) : error C2062: type 'void'
unexpected
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1252) : error C2062: type 'void'
unexpected
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1254) : error C2275: 'BText' :
illegal use of this type as an expression
../bbasic\tol_btext.h(62) : see declaration of 'BText'
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1254) : error
C2065: 'prefixNames' : undeclared identifier
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1260) : error C2065: 'types' :
undeclared identifier
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1260) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1260) : error C2106: '=' : left
operand must be l-value
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1261) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1270) : error C2065: 'lastIndex' :
undeclared identifier
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1270) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1270) : error C2440: '=' : cannot
convert from 'class BText *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style
cast
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1271) : error
C2065: 'currentIndex' : undeclared identifier
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1271) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1271) : error C2440: '=' : cannot
convert from 'class BText *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style
cast
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1276) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1276) : error C2440: '=' : cannot
convert from 'class BDate *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style
cast
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1277) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1277) : error C2440: '=' : cannot
convert from 'class BDate *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style
cast
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1282) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1282) : error C2440: '=' : cannot
convert from 'class BDat *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style
cast
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1283) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1283) : error C2440: '=' : cannot
convert from 'class BDat *' to 'int'
This conversion requires a reinterpret_cast, a C-style cast or function-style
cast
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1293) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1293) : error C2106: '=' : left
operand must be l-value
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1294) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1303) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1308) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1309) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1314) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1315) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1320) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1321) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1333) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1333) : error C2106: '=' : left
operand must be l-value
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1334) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1342) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1347) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1348) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1353) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1354) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1359) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1360) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1393) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1398) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1399) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1400) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1402) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1402) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1409) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1410) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1410) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1412) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1412) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1419) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1420) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1420) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1422) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1422) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1434) : error C2228: left of '.size'
must have class/struct/union type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1458) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1464) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1465) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1471) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1472) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1478) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1479) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1495) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1521) : error C2228: left of '.size'
must have class/struct/union type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1521) : error C2109: subscript
requires array or pointer type
C:\users\cperez\bsd\tol\btol\bdb\bdspool.cpp(1521) : fatal error C1903: unable to
recover from previous error(s); stopping compilation
dbtol.cpp
gra.cpp
graacc.cpp
...
Change History (5)
comment:1 Changed 21 years ago by
Status: | new → assigned |
---|
comment:2 Changed 21 years ago by
status_whiteboard: | → The damn VC++ own STLs get on the way: Will be fixed soon. |
---|
comment:3 Changed 21 years ago by
status_whiteboard: | The damn VC++ own STLs get on the way: Will be fixed soon. |
---|
comment:4 Changed 21 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
The problem is ok now.
I use STL vector to keep track of things instead of plain arrays.
comment:5 Changed 18 years ago by
bug_file_loc: | → http://www.tol-project.org |
---|
A workarround for this is allready on the cvs, but needs a couple of optimizations.
I will leave it opened until those problems are fixed.