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
Hello and thanks for the library and documentation.
Today I tested a cmake-based project where I attempted to compartmentalize the codebase to define different api endpoints in different files. While doing so, I ran into difficulties while importing lithium_http_backend.hh.
There were "multiple definition" errors for the following variable and function definitions:
I manually added "inline" designations to these problematic variables and functions in the "compiled" .hh file. It compiled, and the program seems to work okay, but this is of course a horrible hack and not sustainable.
Am I using the library outside of its intended use practices or was this a bug?
Thank you
The text was updated successfully, but these errors were encountered:
Hello and thanks for the library and documentation.
Today I tested a cmake-based project where I attempted to compartmentalize the codebase to define different api endpoints in different files. While doing so, I ran into difficulties while importing lithium_http_backend.hh.
There were "multiple definition" errors for the following variable and function definitions:
I manually added "inline" designations to these problematic variables and functions in the "compiled" .hh file. It compiled, and the program seems to work okay, but this is of course a horrible hack and not sustainable.
Am I using the library outside of its intended use practices or was this a bug?
Thank you
The text was updated successfully, but these errors were encountered: