You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: