envoyproxy / envoyproxy/envoy-filter-example
: Compiling echo2_config.cc failed: (Exit 1): `error: virtual function 'createFilterFactoryFromProto' has a different return type`
- Dominant language
- C++
- Stars
- 360
- Forks
- 220
- PR merge metrics
- No merged PRs in 30d
Description
ERROR: /source/BUILD:33:17: Compiling echo2_config.cc failed: (Exit 1): clang failed: error executing CppCompile command (from target //:echo2_config) /usr/lib/llvm-14/bin/clang -U_FORTIFY_SOURCE -fstack-protector -Wall -Wthread-safety -Wself-assign -Wunused-but-set-parameter -Wno-free-nonheap-object -fcolor-diagnostics -fno-omit-frame-pointer ... (remaining 191 arguments skipped)
Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
echo2_config.cc:17:28: error: virtual function 'createFilterFactoryFromProto' has a different return type ('Network::FilterFactoryCb' (aka 'function')) than the function it overrides (which has return type 'absl::StatusOr' (aka 'StatusOr>'))
Network::FilterFactoryCb createFilterFactoryFromProto(const Protobuf::Message&,
~~~~~~~~~~~~~~~~~~~~~~~~ ^
external/envoy/envoy/server/filter_config.h:177:3: note: overridden virtual function is here
createFilterFactoryFromProto(const Protobuf::Message& config,
^
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.