mariadb/storage
Dmitry Shulga 1fde785315 MDEV-31890: Compilation failing on MacOS (unknown warning option -Wno-unused-but-set-variable)
For clang compiler the compiler's flag -Wno-unused-but-set-variable
was set based on compiler version. This approach could result in
false positive detection for presence of compiler option since
only first three groups of digits in compiler version taken into account
and it could lead to inaccuracy in determining of supported compiler's
features.

Correct way to detect options supported by a compiler is to use
the macros  MY_CHECK_CXX_COMPILER_FLAG and to check the result of
variable with prefix have_CXX__
So, to check whether compiler does support the option
 -Wno-unused-but-set-variable
the macros
 MY_CHECK_CXX_COMPILER_FLAG(-Wno-unused-but-set-variable)
should be called and the result variable
 have_CXX__Wno_unused_but_set_variable
be tested for assigned value.
2023-08-28 16:47:00 +07:00
..
archive
blackhole
cassandra MDEV-31358: Update description for MariaDB debian/rpm packages 2023-07-03 17:45:58 +10:00
connect MDEV-31003: Second execution for ps-protocol 2023-07-26 17:15:00 +07:00
csv
example
federated
federatedx
heap
innobase MDEV-31890: Compilation failing on MacOS (unknown warning option -Wno-unused-but-set-variable) 2023-08-28 16:47:00 +07:00
maria Fix use of uninitialized variable 2023-07-03 15:46:58 +02:00
mroonga MDEV-31003: Second execution for ps-protocol 2023-07-26 17:15:00 +07:00
myisam
myisammrg
oqgraph MDEV-31358: Update description for MariaDB debian/rpm packages 2023-07-03 17:45:58 +10:00
perfschema
rocksdb MDEV-31358: Update description for MariaDB debian/rpm packages 2023-07-03 17:45:58 +10:00
sequence
sphinx
spider MDEV-31117 Fix spider connection info parsing 2023-08-23 11:21:14 +10:00
test_sql_discovery
tokudb MDEV-31003: Second execution for ps-protocol 2023-07-26 17:15:00 +07:00