Board index » delphi » Error after installation of 8.1

Error after installation of 8.1

Hi,

After installing 8.1 on BCB5 I get the following error when trying to
compile an example program -

[C++ Error] IdThread.hpp(73): E2141 Declaration syntax error

???

TIA

 

Re:Error after installation of 8.1


Quote
"wayne" <wa...@julieandwayne.com> wrote in message

news:3b55b4bb$1_2@dnews...

Quote
> Hi,

> After installing 8.1 on BCB5 I get the following error when trying to
> compile an example program -

> [C++ Error] IdThread.hpp(73): E2141 Declaration syntax error

> ???

> TIA

This is the result of the fullc5.bat run. Notice the line -
"Indy50.dpk(156) Warning: Exported package threadvar 'IdThread.ThreadSelf'
cannot
 be used outside of this package"
Is this a problem?

F:\Program Files\Borland\tools\Indy\Source>fullc5
Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise Corporation
IdCompilerDefines.inc(42)
IdException.pas(87)
IdResourceStrings.pas(354)
IdWinsock.pas(1236)
IdStackConsts.pas(166)
IdStack.pas(314)
IdStackWinsock.pas(519)
IdURI.pas(173)
IdGlobal.pas(1234)
IdBaseComponent.pas(30)
IdAntiFreezeBase.pas(84)
IdAntiFreeze.pas(56)
IdAssignedNumbers.pas(1127)
IdComponent.pas(161)
IdSocketHandle.pas(362)
IdIntercept.pas(75)
IdIOHandler.pas(27)
IdTCPStream.pas(50)
IdStream.pas(60)
IdIOHandlerSocket.pas(58)
IdTCPConnection.pas(929)
IdThread.pas(177)
IdThreadMgrDefault.pas(44)
IdTCPServer.pas(459)
IdThreadMgr.pas(77)
IdChargenServer.pas(67)
IdCoder.pas(70)
IdCoder3to4.pas(156)
IdEMailAddress.pas(630)
IdCoderHeader.pas(662)
IdCoderMIME.pas(53)
IdCoderQuotedPrintable.pas(167)
IdCoderUUE.pas(102)
IdCoderXXE.pas(53)
IdCookie.pas(731)
IdCookieManager.pas(201)
IdStrings.pas(81)
IdDateTimeStamp.pas(1382)
IdSocks.pas(81)
IdTCPClient.pas(325)
IdDayTime.pas(51)
IdDayTimeServer.pas(54)
IdDICTServer.pas(173)
IdDiscardServer.pas(52)
IdUDPBase.pas(218)
IdUDPClient.pas(36)
IdDNSResolver.pas(1581)
IdEcho.pas(75)
IdEchoServer.pas(51)
IdFinger.pas(109)
IdFingerServer.pas(78)
IdFTPList.pas(438)
IdSimpleServer.pas(127)
IdFTP.pas(600)
IdHeaderList.pas(372)
IdGopherConsts.pas(115)
IdGopher.pas(647)
IdGopherServer.pas(158)
IdHash.pas(50)
IdHashCRC.pas(138)
IdHashElf.pas(38)
IdHashMessageDigest.pas(36) Warning: Return value of function
'TIdHashMessageDig
est2.HashValue' might be undefined
IdHashMessageDigest.pas(43) Warning: Return value of function
'TIdHashMessageDig
est4.HashValue' might be undefined
IdHashMessageDigest.pas(50) Warning: Return value of function
'TIdHashMessageDig
est5.HashValue' might be undefined
IdHashMessageDigest.pas(53)
IdHostnameServer.pas(123)
IdSSLIntercept.pas(31)
IdHTTP.pas(1044)
IdHTTPServer.pas(991)
IdRawBase.pas(142)
IdRawClient.pas(21)
IdRawHeaders.pas(325)
IdIcmpClient.pas(229)
IdIdent.pas(165)
IdIdentServer.pas(105)
IdIMAP4Server.pas(496)
IdIOHandlerStream.pas(65)
IdIPWatch.pas(321)
IdIrcServer.pas(476)
IdLogBase.pas(91)
IdLogDebug.pas(98)
IdMappedPortTCP.pas(109)
IdUDPServer.pas(229)
IdMappedPortUDP.pas(70)
IdMessageCoder.pas(252)
IdMessageCoderMIME.pas(197)
IdMessage.pas(685)
IdMessageClient.pas(390)
IdMessageCoderUUE.pas(135)
IdMessageCoderXXE.pas(46)
IdMIMETypes.pas(150)
IdNetworkCalculator.pas(529)
IdNNTP.pas(701)
IdNNTPServer.pas(358)
IdPOP3.pas(214)
IdPOP3Server.pas(241)
IdQotd.pas(49)
IdQotdServer.pas(61)
IdRawFunctions.pas(495)
IdRemoteCMDClient.pas(201)
IdRemoteCMDServer.pas(76)
IdRexec.pas(64)
IdRexecServer.pas(58)
IdRSH.pas(66)
IdRSHServer.pas(69)
IdSMTP.pas(282)
IdSMTPServer.pas(1016)
IdSNMP.pas(618)
IdSNTP.pas(194)
IdSSLOpenSSLHeaders.pas(4591)
IdSSLOpenSSL.pas(1218)
IdTelnet.pas(528)
IdTelnetServer.pas(152)
IdThreadMgrPool.pas(107)
IdTime.pas(140)
IdTimeServer.pas(74)
IdTrivialFTPBase.pas(105)
IdTrivialFTP.pas(269)
IdTrivialFTPServer.pas(349)
IdTunnelCommon.pas(381)
IdTunnelMaster.pas(779)
IdTunnelslave.pas(998)
IdVCard.pas(1344)
IdWhois.pas(57)
IdWhoIsServer.pas(81)
Indy50.dpk(155)
Indy50.dpk(156) Warning: Unit 'IdStrings' implicitly imported into package
'Indy
50'
Indy50.dpk(156) Warning: Exported package threadvar 'IdThread.ThreadSelf'
cannot
 be used outside of this package
41603 lines, 3.19 seconds, 1267 bytes code, 0 bytes data.
Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise Corporation
Indy50.dpk(155)
Warning: Unit 'IdStrings' implicitly imported into package 'Indy50'
Warning: Exported package threadvar 'IdThread.ThreadSelf' cannot be used
outside
 of this package
Hint: Package 'Indy50' does not use or export 'IdCookie.IsTopDomain'
Hint: Package 'Indy50' does not use or export 'IdCookie.IsDomain'
Hint: Package 'Indy50' does not use or export 'IdCookie.IsFQDN'
156 lines, 0.77 seconds, 469728 bytes code, 8021 bytes data.
Creating Indy50.LIB file, please wait...
DOS-reported error: Permission denied
DOS-reported error: Permission denied
DOS-reported error: Permission denied
Could Not Find F:\Program Files\Borland\tools\Indy\C5\Indy50.bak
Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise Corporation
IdAbout.pas(855)
IdDsnBaseCmpEdt.pas(46)
IdDsnPropEdBinding.pas(292)
IdDsnRegister.pas(35)
IdRegister.pas(123)
dclIndy50.dpk(41)
1398 lines, 0.36 seconds, 24628 bytes code, 197 bytes data.

Re:Error after installation of 8.1


Quote
> This is the result of the fullc5.bat run. Notice the line -
> "Indy50.dpk(156) Warning: Exported package threadvar 'IdThread.ThreadSelf'
> cannot
>  be used outside of this package"
> Is this a problem?

I don't think. I get the same warning (not error!) when I compile Indy 8.1 -
but everything works fine. Okay, we have one difference: I'm using Delphi...

Helge.

Re:Error after installation of 8.1


Just a wild guess, but I'd bet that the problem lies in the "DOS-reported
error: Permission denied" errors. The linker is trying to write something
that it doesn't have access to.

HTH...

brian

Quote
"wayne" <wa...@julieandwayne.com> wrote in message news:3b55b854_1@dnews...
> "wayne" <wa...@julieandwayne.com> wrote in message
> news:3b55b4bb$1_2@dnews...
> > Hi,

> > After installing 8.1 on BCB5 I get the following error when trying to
> > compile an example program -

> > [C++ Error] IdThread.hpp(73): E2141 Declaration syntax error

> > ???

> > TIA

> This is the result of the fullc5.bat run. Notice the line -
> "Indy50.dpk(156) Warning: Exported package threadvar 'IdThread.ThreadSelf'
> cannot
>  be used outside of this package"
> Is this a problem?

> F:\Program Files\Borland\tools\Indy\Source>fullc5
> Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise Corporation
> IdCompilerDefines.inc(42)
> IdException.pas(87)
> IdResourceStrings.pas(354)
> IdWinsock.pas(1236)
> IdStackConsts.pas(166)
> IdStack.pas(314)
> IdStackWinsock.pas(519)
> IdURI.pas(173)
> IdGlobal.pas(1234)
> IdBaseComponent.pas(30)
> IdAntiFreezeBase.pas(84)
> IdAntiFreeze.pas(56)
> IdAssignedNumbers.pas(1127)
> IdComponent.pas(161)
> IdSocketHandle.pas(362)
> IdIntercept.pas(75)
> IdIOHandler.pas(27)
> IdTCPStream.pas(50)
> IdStream.pas(60)
> IdIOHandlerSocket.pas(58)
> IdTCPConnection.pas(929)
> IdThread.pas(177)
> IdThreadMgrDefault.pas(44)
> IdTCPServer.pas(459)
> IdThreadMgr.pas(77)
> IdChargenServer.pas(67)
> IdCoder.pas(70)
> IdCoder3to4.pas(156)
> IdEMailAddress.pas(630)
> IdCoderHeader.pas(662)
> IdCoderMIME.pas(53)
> IdCoderQuotedPrintable.pas(167)
> IdCoderUUE.pas(102)
> IdCoderXXE.pas(53)
> IdCookie.pas(731)
> IdCookieManager.pas(201)
> IdStrings.pas(81)
> IdDateTimeStamp.pas(1382)
> IdSocks.pas(81)
> IdTCPClient.pas(325)
> IdDayTime.pas(51)
> IdDayTimeServer.pas(54)
> IdDICTServer.pas(173)
> IdDiscardServer.pas(52)
> IdUDPBase.pas(218)
> IdUDPClient.pas(36)
> IdDNSResolver.pas(1581)
> IdEcho.pas(75)
> IdEchoServer.pas(51)
> IdFinger.pas(109)
> IdFingerServer.pas(78)
> IdFTPList.pas(438)
> IdSimpleServer.pas(127)
> IdFTP.pas(600)
> IdHeaderList.pas(372)
> IdGopherConsts.pas(115)
> IdGopher.pas(647)
> IdGopherServer.pas(158)
> IdHash.pas(50)
> IdHashCRC.pas(138)
> IdHashElf.pas(38)
> IdHashMessageDigest.pas(36) Warning: Return value of function
> 'TIdHashMessageDig
> est2.HashValue' might be undefined
> IdHashMessageDigest.pas(43) Warning: Return value of function
> 'TIdHashMessageDig
> est4.HashValue' might be undefined
> IdHashMessageDigest.pas(50) Warning: Return value of function
> 'TIdHashMessageDig
> est5.HashValue' might be undefined
> IdHashMessageDigest.pas(53)
> IdHostnameServer.pas(123)
> IdSSLIntercept.pas(31)
> IdHTTP.pas(1044)
> IdHTTPServer.pas(991)
> IdRawBase.pas(142)
> IdRawClient.pas(21)
> IdRawHeaders.pas(325)
> IdIcmpClient.pas(229)
> IdIdent.pas(165)
> IdIdentServer.pas(105)
> IdIMAP4Server.pas(496)
> IdIOHandlerStream.pas(65)
> IdIPWatch.pas(321)
> IdIrcServer.pas(476)
> IdLogBase.pas(91)
> IdLogDebug.pas(98)
> IdMappedPortTCP.pas(109)
> IdUDPServer.pas(229)
> IdMappedPortUDP.pas(70)
> IdMessageCoder.pas(252)
> IdMessageCoderMIME.pas(197)
> IdMessage.pas(685)
> IdMessageClient.pas(390)
> IdMessageCoderUUE.pas(135)
> IdMessageCoderXXE.pas(46)
> IdMIMETypes.pas(150)
> IdNetworkCalculator.pas(529)
> IdNNTP.pas(701)
> IdNNTPServer.pas(358)
> IdPOP3.pas(214)
> IdPOP3Server.pas(241)
> IdQotd.pas(49)
> IdQotdServer.pas(61)
> IdRawFunctions.pas(495)
> IdRemoteCMDClient.pas(201)
> IdRemoteCMDServer.pas(76)
> IdRexec.pas(64)
> IdRexecServer.pas(58)
> IdRSH.pas(66)
> IdRSHServer.pas(69)
> IdSMTP.pas(282)
> IdSMTPServer.pas(1016)
> IdSNMP.pas(618)
> IdSNTP.pas(194)
> IdSSLOpenSSLHeaders.pas(4591)
> IdSSLOpenSSL.pas(1218)
> IdTelnet.pas(528)
> IdTelnetServer.pas(152)
> IdThreadMgrPool.pas(107)
> IdTime.pas(140)
> IdTimeServer.pas(74)
> IdTrivialFTPBase.pas(105)
> IdTrivialFTP.pas(269)
> IdTrivialFTPServer.pas(349)
> IdTunnelCommon.pas(381)
> IdTunnelMaster.pas(779)
> IdTunnelslave.pas(998)
> IdVCard.pas(1344)
> IdWhois.pas(57)
> IdWhoIsServer.pas(81)
> Indy50.dpk(155)
> Indy50.dpk(156) Warning: Unit 'IdStrings' implicitly imported into package
> 'Indy
> 50'
> Indy50.dpk(156) Warning: Exported package threadvar 'IdThread.ThreadSelf'
> cannot
>  be used outside of this package
> 41603 lines, 3.19 seconds, 1267 bytes code, 0 bytes data.
> Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise Corporation
> Indy50.dpk(155)
> Warning: Unit 'IdStrings' implicitly imported into package 'Indy50'
> Warning: Exported package threadvar 'IdThread.ThreadSelf' cannot be used
> outside
>  of this package
> Hint: Package 'Indy50' does not use or export 'IdCookie.IsTopDomain'
> Hint: Package 'Indy50' does not use or export 'IdCookie.IsDomain'
> Hint: Package 'Indy50' does not use or export 'IdCookie.IsFQDN'
> 156 lines, 0.77 seconds, 469728 bytes code, 8021 bytes data.
> Creating Indy50.LIB file, please wait...
> DOS-reported error: Permission denied
> DOS-reported error: Permission denied
> DOS-reported error: Permission denied
> Could Not Find F:\Program Files\Borland\tools\Indy\C5\Indy50.bak
> Borland Delphi  Version 13.0  Copyright (c) 1983,99 Inprise Corporation
> IdAbout.pas(855)
> IdDsnBaseCmpEdt.pas(46)
> IdDsnPropEdBinding.pas(292)
> IdDsnRegister.pas(35)
> IdRegister.pas(123)
> dclIndy50.dpk(41)
> 1398 lines, 0.36 seconds, 24628 bytes code, 197 bytes data.

Other Threads