[vtkusers] error compiling nightly tcl wrappings

Goodwin Lawlor goodwin.lawlor at ucd.ie
Wed Jan 23 18:44:53 EST 2002


A -P flag in the borland compiler config file (bcc32.cfg) caused
vtkParse.tab.c to be treated as a cxx file and caused the error below...
thanks to Bill who spoted it.

Goodwin


>----- Original Message -----
> >From: <mailto:billlist at nycap.rr.com>William A. Hoffman
> >To: <mailto:goodwin.lawlor at ucd.ie>Goodwin Lawlor ;
> ><mailto:vtkusers at public.kitware.com>VTK mailing list
> >Sent: Tuesday, January 22, 2002 8:11 PM
> >Subject: Re: [vtkusers] error compiling nightly tcl wrappings
> >
> >I just tried a cvs update and make here.
> >It seems to compile for me.
> >
> >Could be flag settings for the compiler:
> >
> >CMAKE_CXX_FLAGS:STRING=-w- -whid -waus -wpar -tWM
> >//Flags for C compiler.
> >CMAKE_C_FLAGS:STRING=-w- -whid -waus -tWM
> >
> >
> >
> >What is the compiler line that fails?
> >
> >
> >
> >At 06:47 PM 1/22/2002 +0000, Goodwin Lawlor wrote:
> >>Hi,
> >>Has anyone seen and solved this compilation error?
> >>Thanks,
> >>Goodwin
> >>University College Dublin
> >>
> >>Win98, vtk4.x from 22nd Jan CVS, Cmake 1.0, Borland compiler (bcc55),
> >>static libs
> >>
> >>Here's the complaint:
> >>
> >>Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> >>C:/Kitware/VTK/Wrapping/vtkParse.tab.c:
> >>Error E2034 vtkParse.y 56: Cannot convert 'void *' to 'char *' in
> >>function vtkstrdup(const char *)
> >>Error E2268 vtkParse.l 11: Call to undefined function 'input' in
function
> >>yylex()
> >>Error E2268 vtkParse.l 25: Call to undefined function 'input' in
function
> >>yylex()
> >>Error E2268 vtkParse.l 34: Call to undefined function 'input' in
function
> >>yylex()
> >>Error E2268 vtkParse.l 40: Call to undefined function 'input' in
function
> >>yylex()
> >>*** 5 errors in Compile ***
> >>
> >>** error 1 ** deleting vtkParse.tab.obj
> >>
> >>** error 1 ** deleting build_Wrapping
> >>
> >>** error 1 ** deleting default_target
>




More information about the vtkusers mailing list