We build tcl8.6.1 and its related package itcl4.0.0 using VS2005. While linking and building the newly generated dll tcl86t and itcl40t to our project we are getting the below mentioned errors.The header files included in our project are tcl.h,itcl.h,itclInt.h,itclIntDecls.h. Earlier configuration of our project was with tcl8.4.13 and itcl3.3 in which the linking and build were successful.
tcl_new/pkgs/itcl4.0.0/generic/itclIntDecls.h(16) : error C2143: syntax error : missing ')' before '->'
tcl_new/pkgs/itcl4.0.0/generic/itclIntDecls.h(16) : error C2143: syntax error : missing ';' before '->'
tcl_new/pkgs/itcl4.0.0/generic/itclIntDecls.h(16) : error C2040: 'itclIntStubsPtr' : 'int' differs in levels of indirection from 'const ItclIntStubs *'
tcl_new/pkgs/itcl4.0.0/generic/itclIntDecls.h(16) : error C2059: syntax error : ')'
Sorry, I have no windows development environment.
Nevertheless in my itclIntDecls.h line 16 is in the middle of a comment block (trunk version).
Thanks for the update.I am attaching a part of the build log for your reference.
Line 16 is ITCLAPI int Itcl_IsClassNamespace(Tcl_Namespace namesp);In the attached build log we can see more lines in this itclIntDecls.h throwing similar error.
error C2040: 'itclIntStubsPtr' : 'int' differs in levels of indirection from 'const ItclIntStubs '
error C2373: 'itclIntStubsPtr' : redefinition; different type modifiers
Could you please let me know if this is the fix provided?
http://core.tcl.tk/itcl/info/de3f0cf752
Yes I think you are right, I assume Jan forgot to close the bug and I
did not remember his fix.
Can you eventually check out the sources an try if the problem is fixed?
If you can confirm, I will close the ticket.
Arnulf
Am 18.02.2014 23:14, schrieb Jojo:
Related
Bugs:
#249Hi Arnulf,
With the suggested modification in itcl code the mentioned errors are resolved.Thank you..
You can close this ticket.But in my task to migrate from itcl3.3 to itcl4.0 i am getting few more errors as some methods and objects are deprecated in the latest release.However i will create new tickets for getting help in this regard.Thank you!!!
Jojo
fixed in trunk, will be in version 4.0.1