Kacper Gutowski
2017-05-06 10:24:40 UTC
Attempting to compile r941 with g++ 6.3.0 fails due to it not liking
your coding style and -Werror:
Command.cc: In static member function ‘static bool Command::check_params(std::ostream&, const char*, int, const char*)’:
Command.cc:163:20: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
case '.': if (a[1] == '.' && a[2] == '.')
^~
Command.cc:164:56: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
many = true; continue; // ...
^~~~~~~~
-k
your coding style and -Werror:
Command.cc: In static member function ‘static bool Command::check_params(std::ostream&, const char*, int, const char*)’:
Command.cc:163:20: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
case '.': if (a[1] == '.' && a[2] == '.')
^~
Command.cc:164:56: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
many = true; continue; // ...
^~~~~~~~
-k