mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
extended "-O allow-cond" to apply to both gen-C++ and gen-standalone-C++
This commit is contained in:
parent
5c38f7637d
commit
a68ffc5316
1 changed files with 2 additions and 2 deletions
|
@ -294,8 +294,8 @@ static void init_options() {
|
|||
if ( analysis_options.use_CPP && generating_CPP )
|
||||
reporter->FatalError("generating C++ incompatible with using C++");
|
||||
|
||||
if ( analysis_options.allow_cond && ! analysis_options.gen_standalone_CPP )
|
||||
reporter->FatalError("\"-O allow-cond\" only relevant when also using \"-O gen-standalone-C++\"");
|
||||
if ( analysis_options.allow_cond && ! generating_CPP )
|
||||
reporter->FatalError("\"-O allow-cond\" only relevant when using \"-O gen-C++\" or \"-O gen-standalone-C++\"");
|
||||
|
||||
auto usage = getenv("ZEEK_USAGE_ISSUES");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue