🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.ms.programmer
Article #192

Can not compile owl.h with TC++ 3.0.

#192
From: Richard James Taylor
Date: Mon, 06 Apr 1992 16:05
47 lines
2930 bytes
   We recently upgraded from BC++ 2.0 to BC++ 3.0. We already had the OWL libraries and these worked fine with BC++ 2.0.

   When we tried to compile an application that used owl.h we got errors from the compiler. We thought it might be somthing in our application but we found that
even the example program step1.cpp would not compile. We tried BC++ 3.0 and
TC++ 3.0 without success. The errors from the compiler are as follows.


Compiling STEP1.CPP:
Warning ..\..\INCLUDE\TCOLLECT.H 18: Style of function definition is now obsolete
Error ..\..\INCLUDE\TCOLLECT.H 18: Multiple declaration for 'Pvoid'
Warning ..\..\INCLUDE\TCOLLECT.H 19: Style of function definition is now obsolete
Error ..\..\INCLUDE\TCOLLECT.H 19: Multiple declaration for 'Pvoid'
Error ..\..\INCLUDE\TCOLLECT.H 22: Undefined symbol 'Pvoid'
Error ..\..\INCLUDE\TCOLLECT.H 22: Not an allowed type
Warning ..\..\INCLUDE\TCOLLECT.H 22: Division by zero
Error ..\..\INCLUDE\TCOLLECT.H 36: Type name expected
Error ..\..\INCLUDE\TCOLLECT.H 36: Declaration missing ;
Error ..\..\INCLUDE\TCOLLECT.H 37: 'Pvoid' cannot start a parameter declaration
Error ..\..\INCLUDE\TCOLLECT.H 41: 'Pvoid' cannot start a parameter declaration
Error ..\..\INCLUDE\TCOLLECT.H 43: 'Pvoid' cannot start a parameter declaration
Error ..\..\INCLUDE\TCOLLECT.H 46: ) expected
Error ..\..\INCLUDE\TCOLLECT.H 47: ) expected
Error ..\..\INCLUDE\TCOLLECT.H 48: 'Pvoid' cannot start a parameter declaration
Error ..\..\INCLUDE\TCOLLECT.H 52: Type name expected
Error ..\..\INCLUDE\TCOLLECT.H 52: Multiple declaration for 'Pvoid'
Error ..\..\INCLUDE\TCOLLECT.H 52: Declaration missing ;
Error ..\..\INCLUDE\TCOLLECT.H 53: Type name expected
Error ..\..\INCLUDE\TCOLLECT.H 53: Multiple declaration for 'Pvoid'
Error ..\..\INCLUDE\TCOLLECT.H 53: Declaration missing ;
Error ..\..\INCLUDE\TCOLLECT.H 54: ) expected
Error ..\..\INCLUDE\TCOLLECT.H 66: Type name expected
Error ..\..\INCLUDE\TCOLLECT.H 66: Multiple declaration for 'Pvoid'
Error ..\..\INCLUDE\TCOLLECT.H 66: Declaration missing ;
Error ..\..\INCLUDE\TCOLLECT.H 74: 'Pvoid' cannot start a parameter declaration
Error ..\..\INCLUDE\TCOLLECT.H 85: 'Pvoid' cannot start a parameter declaration
Error ..\..\INCLUDE\TCOLLECT.H 87: 'Pvoid' cannot start a parameter declaration
Error ..\..\INCLUDE\TCOLLECT.H 87: Too many error or warning messages

   I am new to windows, BC++ and PC's in general, so I do not understand what is
happening here. I have tried everything I can think of.

Any ideas would be greatly appreciated.

Richard Taylor

rjt8@uk.ac.aber
Technical Details
Message-ID: <1992Apr6.160529.15456@aber.ac.uk>
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!dcl-cs!gdt!aber!rjt8

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!dcl-cs!gdt!aber!rjt8
From: rjt8@aber.ac.uk (Richard James Taylor)
Newsgroups: comp.windows.ms.programmer
Subject: Can not compile owl.h with TC++ 3.0.
Message-ID: <1992Apr6.160529.15456@aber.ac.uk>
Date: 6 Apr 92 16:05:29 GMT
Organization: University College of Wales, Aberystwyth
Lines: 47