By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,421 Members | 1,127 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,421 IT Pros & Developers. It's quick & easy.

template-id 'VISDictionary<const char *, VISNamedContainerTypeCode *>' used as a declarator

P: n/a
Hope this is the right group to post to.

I compiled C++ code that ran fine on Windows with VisualStudio 6.0.

I then moved the code to Solaris 9 and compiled with g++, but am
getting the following errors :

In file included from corba.h:97,
from code_ims_c.hh:13,
from code_s.hh:11,
from code_impl.h:18,
from server.cpp:25:
vtcimp.h:141: parse error before `;'
vtcimp.h:142: template-id `VISDictionary<const char *,
VISNamedContainerTypeCode *>' used as a declarator
vtcimp.h:142: parse error before `;'
vtcimp.h:191: parse error before `;'
vtcimp.h:192: template-id `VISDictionary<const char *, VISEnumTypeCode
*>' used as a declarator
vtcimp.h:192: parse error before `;'
vtcimp.h:214: parse error before `;'
vtcimp.h:215: template-id `VISDictionary<const char *,
VISUnionTypeCode *>' used as a declarator

The header files that are generating the errors are CORBA header files
for Borland Enterprise Server.

Any help would be greatly appreciated!
Jul 22 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.