We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d31668 commit 2d8b99bCopy full SHA for 2d8b99b
src/flatc.cpp
@@ -789,6 +789,13 @@ void FlatCompiler::ValidateOptions(const FlatCOptions &options) {
789
"--cs-gen-json-serializer requires --gen-object-api to be set as "
790
"well.");
791
}
792
+
793
+ // wireshark generator requires `--bfbs-builtins` to get access to well-known
794
+ // attributes.
795
+ if (opts.lang_to_generate & IDLOptions::Language::kWireshark &&
796
+ !opts.binary_schema_builtins) {
797
+ Error("--bfbs-builtins must be set to generate Wireshark dissectors.");
798
+ }
799
800
801
flatbuffers::Parser FlatCompiler::GetConformParser(
0 commit comments