Hi all:
I have old pieces of code like this:
//distsgip.cc
const RWCString var1;
//ReceptorDistIP.cc
extern const RWCString var1;
I don't like to use extern, but it is not my code.
I have a linkage error with var1 (undefined symbol)
If I remove const in both cases, code compiles and links ok.
¿Have a different linkage const and not const variables?
¿How can I solve the problem mantaining const?
Thanks in advance.