Missing function ShallowCopy in TColgp_HSequenceOfVec.hxx

guidovanhilst's picture

Hi All.

When linking my code I got missing implementations of the TColgp_HSequence code.
It seems that all HSequence code is missing implementation of ShallowCopy, that causes unresolved link errors:

error LNK2028: unresolved token (0A000683) "public: class Handle_TColgp_HSequenceOfVec __cdecl TColgp_HSequenceOfVec::ShallowCopy(void)const

This is happening for all HSequence classes.

Maybe this has to do with migration of generated code ? (maybe old in cdl or missing macro)?

Kind regards,

Guido

kgv's picture

Hello, it seems patch for

Hello, it seems patch for #0024805 (Eliminate unused static functions and methods: ShallowDump(), ShallowCopy(), STANDARD_TYPE(...)) was incomplete - method was removed from TCollection_HSequence.gxx, but not from TCollection_HSequence.cdl.

guidovanhilst's picture

Thank you for your reply. Is

Thank you for your reply.

Is this already fixed? (in git?)

Thanks, Guido

kgv's picture

>> Is this already fixed?

Is this already fixed? (in git?)

It is not.
You can register bug for the issue (and provide / test the fix).

kgv's picture

I have registered patch for

I have registered patch for this issue here: #0025790

www.opencascade.com

Copyright 2011-2017
OPEN CASCADE SAS
Contact us