-
Notifications
You must be signed in to change notification settings - Fork 284
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
fmt header dependncies in cppcommon which bleed into cppserver #74
Comments
Fixed in CppCommon. Please update and check on your side. |
Great. I updated and can confirm that this fixed the issue. |
Hi Ivan,
Can only work for FMT_VERSION newer than 9 and not on any fmt. Ubuntu 22.04 LTS is packaged with fmt 8.1 by default and those header files fail to compile. |
Hi,
I ran into this when I included cppserver in a custom C++ project, and was specifically including
server/asio/tcp_client.h
.This file is including several files from
CppCommon
some of them (for example:/cppserver/modules/CppCommon/include/system/stack_trace.inl
and/cppserver/modules/CppCommon/include/system/source_location.inl
) depend on the fmt library but do not specifically include the fmt header file they depend on. This creates an issue for compilation unless the user will include the fmt header before including the high level file from cppserverSo for
server/asio/tcp_client.h
, this is required:I think it would be better if these files explicitly include the fmt header file they depend on.
The text was updated successfully, but these errors were encountered: