[Chore](build) enable -Wpedantic and update lowest gcc version to 11.1 (#16290)

enable -Wpedantic and update lowest gcc version to 11.1
This commit is contained in:
Pxl
2023-02-03 11:28:48 +08:00
committed by GitHub
parent 7d5a10e1af
commit 5e4bb98900
121 changed files with 248 additions and 323 deletions

View File

@ -41,10 +41,10 @@ public:
}
/// Get the main function name.
String get_name() const override { return fn_.name.function_name; };
String get_name() const override { return fn_.name.function_name; }
const DataTypes& get_argument_types() const override { return _argument_types; };
const DataTypePtr& get_return_type() const override { return _return_type; };
const DataTypes& get_argument_types() const override { return _argument_types; }
const DataTypePtr& get_return_type() const override { return _return_type; }
PreparedFunctionPtr prepare(FunctionContext* context, const Block& sample_block,
const ColumnNumbers& arguments, size_t result) const override {