How to handle a class name conflict when porting old code?

后端 未结 5 1609
情话喂你
情话喂你 2021-01-05 23:04

I\'m trying to port an old library (that doesn\'t use namespaces as far as I can tell) to modern compilers. One of my targets can\'t tell the difference between System::TObj

5条回答
  •  不知归路
    2021-01-05 23:30

    You could make a wrapper for all the old functions and package them up into a DLL or static library.

提交回复
热议问题