Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec0273d

Browse files
committedApr 14, 2025
Merge remote-tracking branch 'origin/master' into build-flags-bench
2 parents 7c1a997 + 04adfc8 commit ec0273d

File tree

223 files changed

+17494
-2676
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

223 files changed

+17494
-2676
lines changed
 

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
docs/
66
/tdlib/
77
vcpkg/
8+
.clang-tidy

‎CMake/TdSetUpCompiler.cmake

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ function(td_set_up_compiler)
154154
# see http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#1579
155155
add_cxx_compiler_flag("-Wno-redundant-move")
156156
endif()
157-
if (GCC AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 12.0))
157+
if (GCC)
158158
add_cxx_compiler_flag("-Wno-stringop-overflow") # some false positives
159159
endif()
160160
if (CLANG AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 3.5))
@@ -164,6 +164,7 @@ function(td_set_up_compiler)
164164
if (GCC AND (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 13.0))
165165
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104030
166166
add_cxx_compiler_flag("-Wbidi-chars=none")
167+
add_cxx_compiler_flag("-Wno-bidirectional")
167168
endif()
168169

169170
if (MINGW)

0 commit comments

Comments
 (0)