[vtkusers] stl related errors..
K.R.Subramanian
krs at cs.uncc.edu
Thu May 30 00:48:36 EDT 2002
Its been a while I had to deal with this. In going to 4.0, I get the following
errors on streams (multiple definitions) on SGI IRIX, although I dont
use these streams in this source file..
-- krs
ace% make
CC -g -LANG:std -I/home/krs/src/vtk052902/Common
-I/home/krs/src/vtk052902/Graphics -I/home/krs/src/vtk052902/Imaging
-I/home/krs/src/vtk052902/Rendering -I/home/krs/src/vtk052902/Patented
-I/home/krs/src/vtk052902/Filtering -I/home/krs/src/vtk052902/IO
-I/home/krs/src/vtk052902 -c main.cc -o main.o
cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 51
"ostream" has already been declared in the current scope.
class ostream ;
^
cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 54
"ios" has already been declared in the current scope.
class ios {
^
cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 363
"istream" has already been declared in the current scope.
class istream : virtual public ios {
^
cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 652
"cin" has already been declared in the current scope.
extern istream_withassign cin ;
^
cc-1101 CC: ERROR File = /usr/include/CC/iostream.h, Line = 653
"cout" has already been declared in the current scope.
--
K.R.Subramanian Phone: (704) 687-4872
Department of Computer Science FAX: (704) 687-4893
UNC Charlotte, CARC 311 Email: krs at cs.uncc.edu
Charlotte, NC 28223-0001 Web: http://www.cs.uncc.edu/~krs
More information about the vtkusers
mailing list