Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
30 changes: 28 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2022, The Arqma Network
# Copyright (c) 2018 - 2026, The Arqma Network
# Copyright (c) 2014-2018, The Monero Project
#
# All rights reserved.
Expand Down Expand Up @@ -711,11 +711,23 @@ if(CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
if(ARM)
set(WARNINGS "${WARNINGS} -Wno-error=inline-asm")
endif()
# Suppress Clang-specific warnings (macOS)
set(WARNINGS "${WARNINGS} -Wno-unknown-warning-option -Wno-deprecated-declarations")
# Clang may also show stringop-overflow warnings, suppress them
set(WARNINGS "${WARNINGS} -Wno-stringop-overflow")
# Suppress unused variable warnings (Clang on macOS)
set(WARNINGS "${WARNINGS} -Wno-unused-but-set-variable -Wno-unused-private-field -Wno-vla")
else()
set(WARNINGS "${WARNINGS} -Wlogical-op -Wno-error=maybe-uninitialized -Wno-error=cpp")
# Suppress GCC-specific warnings (Ubuntu/Linux)
set(WARNINGS "${WARNINGS} -Wno-deprecated-declarations -Wno-stringop-overflow -Wno-array-bounds -Wno-maybe-uninitialized -Wno-uninitialized -Wno-sign-compare")
endif()
if(CMAKE_CXX_COMPILER_ID MATCHES "GNU" AND NOT (CMAKE_CXX_COMPILER_VERSION VERSION_LESS 10.5))
set(WARNINGS "${WARNINGS} -Wno-string-compare -Wno-unused-but-set-variable -Wno-unused-private-field")
set(WARNINGS "${WARNINGS} -Wno-string-compare -Wno-unused-but-set-variable")
# -Wno-unused-private-field is Clang-specific, not supported by GCC
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(WARNINGS "${WARNINGS} -Wno-unused-private-field")
endif()
endif()
if(MINGW)
set(WARNINGS "${WARNINGS} -Wno-error=unused-value -Wno-error=unused-but-set-variable")
Expand All @@ -733,7 +745,21 @@ if(ARM7)
set(WARNINGS "${WARNINGS} -Wno-psabi -Wno-maybe-uninitialized")
endif()
set(C_WARNINGS "-Waggregate-return -Wnested-externs -Wold-style-definition -Wstrict-prototypes")
# Suppress additional C warnings
if(CMAKE_C_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(C_WARNINGS "${C_WARNINGS} -Wno-deprecated-declarations -Wno-vla")
else()
# GCC-specific C warnings suppression (Ubuntu/Linux)
set(C_WARNINGS "${C_WARNINGS} -Wno-deprecated-declarations -Wno-stringop-overflow -Wno-array-bounds -Wno-maybe-uninitialized")
endif()
set(CXX_WARNINGS "-Wno-reorder -Wno-missing-field-initializers")
# Suppress additional C++ warnings
if(CMAKE_CXX_COMPILER_ID MATCHES "Clang" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CXX_WARNINGS "${CXX_WARNINGS} -Wno-deprecated-declarations -Wno-implicit-fallthrough -Wno-misleading-indentation")
else()
# GCC-specific C++ warnings suppression (Ubuntu/Linux)
set(CXX_WARNINGS "${CXX_WARNINGS} -Wno-deprecated-declarations -Wno-stringop-overflow -Wno-array-bounds -Wno-maybe-uninitialized -Wno-uninitialized -Wno-sign-compare -Wno-implicit-fallthrough -Wno-misleading-indentation")
endif()

arqma_enable_coverage()
# With GCC 6.1.1 the compiled binary malfunctions due to aliasing. Until that
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md.TODO
Original file line number Diff line number Diff line change
Expand Up @@ -2832,7 +2832,7 @@
</tr>
<tr>
<td id="L59" class="blob-num js-line-number js-code-nav-line-number" data-line-number="59"></td>
<td id="LC59" class="blob-code blob-code-inner js-file-line">Copyright (c) 2018-2020 The Arqma Network.</td>
<td id="LC59" class="blob-code blob-code-inner js-file-line">Copyright (c) 2018 - 2026 The Arqma Network.</td>
</tr>
<tr>
<td id="L60" class="blob-num js-line-number js-code-nav-line-number" data-line-number="60"></td>
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2018-2022, The Arqma Network
Copyright (c) 2018 - 2026, The Arqma Network
Copyright (c) 2014-2018, The Monero Project

All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) 2018-2022, The Arqma Network
# Copyright (c) 2018 - 2026, The Arqma Network
# Copyright (c) 2014-2018, The Monero Project
#
# All rights reserved.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Arqma Network

Copyright (c) 2018-2025, The Arqma Network
Copyright (c) 2018 - 2026, The Arqma Network
Copyright (c) 2014-2018, The Monero Project
Portions Copyright (c) 2012-2013 The Cryptonote developers.

Expand Down
Loading