Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Duplicated symbol #23

Open
MichaelVoelkel opened this issue Feb 4, 2023 · 3 comments
Open

Duplicated symbol #23

MichaelVoelkel opened this issue Feb 4, 2023 · 3 comments

Comments

@MichaelVoelkel
Copy link

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?

@Joyrocky
Copy link

how could you slove the problem? I have encounter the same one

@MichaelVoelkel
Copy link
Author

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

@SterlingHeaton
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants