[gme-users] BON VC7.1 Support
Peter Volgyesi
peter.volgyesi at vanderbilt.edu
Mon Feb 23 12:01:09 CST 2004
In the interfaces folder, you should patch the InterfaceColl.h file:
(add the lines marked with an asterix):
cpp_quote("#ifdef __cplusplus") \
* cpp_quote("extern \"C++\" ") \
* cpp_quote("{ ") \
cpp_quote(MAKESTRING(template<> struct ::TypeName_MgaColl2Elem<COLL>)) \
cpp_quote(MAKESTRING({ typedef COLL collection_type; typedef ELEM
element_type; };)) \
cpp_quote(MAKESTRING(template<> struct ::TypeName_MgaElem2Coll<ELEM>)) \
cpp_quote(MAKESTRING({ typedef COLL collection_type; typedef ELEM
element_type; };)) \
* cpp_quote("} ") \
cpp_quote("#endif")
The fix will be contained by our next release. Unfortunatelly, we have
other probelms with VC7.1 (see Gabriele's mail), that I have to resolve.
--
peter
> Hi,
>
> I have been trying to create an interpreter for GME using VC7.1 and
> BON2, but the created solution does not compile. Here are some of the
> errors I encounter :
>
> c:\Users\Image\CADML\GME\SDK\IMAGEComponent\ComponentLib.h(8332) : error
> C2894: templates cannot be declared to have 'C' linkage
>
> (about 200 of these, coming only from file ComponentLib.h)
>
> I don't know if it's difficult, but I think correcting this error could
> make component creation compatible with VC7.1. Then I don't know if it
> would really work with GME, but I thought I would try.
>
> All help is appreciated. Thank you.
>
> Jacques Kerner.
> R&D Engineer
> Oktal.
> _______________________________________________
> gme-users mailing list
> gme-users at list.isis.vanderbilt.edu
> http://list.isis.vanderbilt.edu/mailman/listinfo/gme-users
More information about the gme-users
mailing list