I have a old static library(class implement), I'd like to change a non virtual function to virtual function in a class, should I recompile the library?
Asked
Active
Viewed 57 times
0

curiousguy
- 8,038
- 2
- 40
- 58

liuaifu
- 147
- 1
- 8
-
Added [tag:vtable] because the vtable layout is affected. – curiousguy Jul 27 '16 at 21:59
2 Answers
2
I wanted to add little more reasoning to answer of @jesper Yes because now there will be new entry per new virtual function in vtable so recompilation is must.

Ali Kazmi
- 1,460
- 9
- 22