Replies: 1 comment 2 replies
-
The correct change would be: -#include "message.h"
+#include <capnp/message.h> This is needed since (Actually, bazel prefers that all includes are absolute includes using quoted syntax. This is a weird Google-ism that I very much disagree with. In capnp we follow the rule that quoted includes are relative, |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We use bazel to build and started using capnproto bazel rules directly (since last week). Earlier we were doing a configure_make step to pull in the repo. Using bazel-rules directly was must faster/easier however we ran into a build issue on the server side when we use ez-rpc. Including ez-rpc.h header leads to below build failure
The straight forward fix here of adding an include path did not seem to work. Because that started re-ordering include paths for all builds leading to problems like this below
I tried this patch below and it seems to resolve the build issues for us. Before I deploy, wanted to make sure I wasn't missing something obvious or if this is wrong because it could lead to future issues etc. Does this look okay?
Beta Was this translation helpful? Give feedback.
All reactions