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 35 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 35 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_

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
Warnings reported by clangd/clang-tidy

Signed-off-by: Haru <haru@dotalux.com>
Signed-off-by: Haru <haru@dotalux.com>
This never triggered due to an impossible condition, and it had the potential to overrun the buffer it was scanning

Signed-off-by: Haru <haru@dotalux.com>
hemagx added 13 commits July 1, 2026 20:40
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>
…reate, and changed duel->create to return unsigned integer as all functions expects an unsigned id

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
… to be a signed int similar to how we store nameid

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
…d int

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
…igned int

Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
hemagx added 10 commits July 3, 2026 01:58
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>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
…no-deprecated-non-prototype

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>
hemagx added 7 commits July 3, 2026 01:59
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
* Add casts where necessary mostly for void * -> any other type
* Replaced use of min, max, swap macros with std variant
* Fixed where `const char` strings were passed/stored to non-const variables
* Updated VECTOR_RESIZE with C++ variant that relays on decltype to make type safe cast from memory manager
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>
…move old broken applescript counterpart

Signed-off-by: Haru <haru@dotalux.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