xml2json
xml2json copied to clipboard
Duplicated symbol
Hi,
there are some function definitions without static, so their linkage is external, so if I import your header from multiple translation units at once, I get duplicated symbols.
Probably, linkage needs to be internal? Not sure why no-one reported this?
how could you slove the problem? I have encounter the same one
I removed the lib :)
I used to convert XML to JSON to send it to a JS lib. Now, I let the JS lib do the conversion client-side. So probably not helpful for yourself
how could you slove the problem? I have encounter the same one
Not sure if you still need this or not, but for anyone else who comes across this. I just added static to the other functions and it seems to be working.