db149c1ca5
SetupBuildFlags.cmake: Remove "-Wl,--no-undefined" from compiler flags
...
It's meant to be used by the linker, not by the compiler, thus keep
it only for the linker flags. Clang claims the argument is not used.
2024-03-05 11:13:42 +01:00
360bc9f77f
build: Use -Wshadow build option, if available
2023-11-03 17:30:59 +01:00
ed89af2702
eds-M!68 - SetupBuildFlags.cmake: Correct testing of two compiler/linker build flags
...
Closes https://gitlab.gnome.org/GNOME/evolution-data-server/-/merge_requests/68
2021-04-19 16:03:55 +02:00
1624857fc5
SetupBuildFlags.cmake: Use -Werror=implicit-function-declaration only for C code compilation
...
The C++ code produces a compile time warning:
cc1plus: warning: ‘-Werror=’ argument ‘-Werror=implicit-function-declaration’ is not valid for C++
despite CMake's check_cxx_compiler_flag() returning success.
2020-05-13 09:23:40 +02:00
a1a7b52627
eds-I#120 - Fails to build with libasan using Clang (undefined symbols)
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/120
2019-05-22 18:06:02 +02:00
59c1428fa9
eds-I#94 - Remove -Wabi from the default C++ warning flags
...
Related to https://gitlab.gnome.org/GNOME/evolution-data-server/issues/94
2019-03-14 14:18:25 +01:00
dc9ec02227
Correct how extra compiler warnings are used in the maintainer mode
...
...and address the newly shown warnings as well.
2018-11-14 12:58:37 +01:00
3f4cfa9956
Bug 781833 - Do not set '-Wl,--no-undefined' on BSD
2017-04-28 10:01:12 +02:00
f6620a0e39
Do not require C++ compiler, when not used
2016-11-10 15:49:31 +01:00
3cba495195
Convert from autotools to CMake
2016-10-10 14:46:59 +02:00