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

unguarded headers #15

Closed
Eddie-cz opened this issue Jul 25, 2022 · 2 comments
Closed

unguarded headers #15

Eddie-cz opened this issue Jul 25, 2022 · 2 comments

Comments

@Eddie-cz
Copy link

There are still some unguarded headers, like aedis/impl/error.ipp and few others.

@mzimbres
Copy link
Collaborator

error.ipp is an implementation file and not a header. You are probably misusing #include <aedis/src.hpp>, it should be include in a single .cpp in your application. The easiest way to do this is to include it in the file where you define the main function. Alternatively, you can also create a file called aedis.cpp with the content

#include <aedis/src.hpp>

and add it to your build system.

@Eddie-cz
Copy link
Author

yey, thats is inproper misusing of impl files

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

2 participants