Skip to content

Part 1: Removal of various warnings supression and fixing their warnings, chagning class and delete C++ keywords in names, and changes related to compile common target as C++#3416

Open
hemagx wants to merge 62 commits into
masterfrom
compile_cpp
Open

Part 1: Removal of various warnings supression and fixing their warnings, chagning class and delete C++ keywords in names, and changes related to compile common target as C++#3416
hemagx wants to merge 62 commits into
masterfrom
compile_cpp

Conversation

@hemagx

@hemagx hemagx commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Pull Request Prelude

Changes Proposed

The following warnings suppression has been removed and their warnings were fixed:

  • discarded-qualifiers
  • missing-field-initializers
  • incompatible-pointer-types-discards-qualifiers
  • deprecated-non-prototype
  • unused-but-set-variable
  • enum-enum-conversion
  • sign-compare

The following keywords has been changed in source:

  • class -> class_
  • delete -> delete_
  • new -> new_

ERS now has ownership over the name given to it, and similarly various functions that were taking char * and expecting constant strings were changed to take const char *

Issues addressed:

@hemagx hemagx changed the base branch from stable to master June 30, 2026 20:16
@MishimaHaruna MishimaHaruna force-pushed the compile_cpp branch 2 times, most recently from 7d4d5d5 to 6f49cfa Compare July 1, 2026 18:46
@hemagx hemagx added this to the Release v2026.07 milestone Jul 5, 2026
@hemagx hemagx force-pushed the compile_cpp branch 12 times, most recently from a9a16d4 to 51c9aac Compare July 12, 2026 04:59
@hemagx hemagx force-pushed the compile_cpp branch 10 times, most recently from 505d167 to 6382e17 Compare July 13, 2026 01:54
Warnings reported by clangd/clang-tidy

Signed-off-by: Haru <haru@dotalux.com>
Signed-off-by: Haru <haru@dotalux.com>
hemagx and others added 27 commits July 13, 2026 05:43
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
…use of a packet structure

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
…ns caused by code after disp_error_message()

The warning is suppressed instead of removing the dead code because in debug builds it fails to detect that disp_error_message never returns
* According to original author the code might have been a left over from
  a previous fix, a test was conducted and confirmed the code isn't
  required.

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
…hat reports intended behavior/features

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
and openssl on other platforms

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
dependencies and caches them for use in later builds, improving build
speed.

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants