Skip to content

Tidy up cp_acp work#165

Merged
EmJayGee merged 3 commits intomainfrom
micgrier/cp_acp
Apr 10, 2026
Merged

Tidy up cp_acp work#165
EmJayGee merged 3 commits intomainfrom
micgrier/cp_acp

Conversation

@EmJayGee
Copy link
Copy Markdown
Collaborator

@EmJayGee EmJayGee commented Apr 9, 2026

No description provided.

Michael Grier added 3 commits April 9, 2026 10:58
Bug fixes:

- Fix infinite loop in error_macros.h unregister_handler (missing ++it)

- Fix std::forward syntax error in mutex.h with_lock C++20 fallback

- Fix off-by-one in smallest_size.h boundary checks (< to <=)

- Fix missing break in image_import_descriptor.h pe32 switch case

- Fix WIN32 typo (was WIN322) in registry_key_log_entries.cpp

- Fix const rvalue ref to rvalue ref on bitset_bit_allocator move ctor

- Remove std::invoke_r (C++23) in atomic.h; use static_cast+std::invoke for C++20

GCC support:

- Add M_HAS_GCC / M_NOINLINE / C++20/23 detection to compiler.h

- Add GCC diagnostic pragmas for -Wterminate in bitset.h

- Add GCC diagnostic suppression for -Wchanges-meaning in command_options.h

- Add public ctor workaround for literal_string_view.h (GCC friend decl bug)

Other:

- Add missing includes to algorithm.h for self-containment

- Fix MSVC C++23 detection threshold (202004L to 202302L) in compiler.h

- Restore explicit on timer tag type default ctors in timer_base.h

- Add GCC build checklist and CMake presets for Linux
@EmJayGee EmJayGee merged commit 299f78f into main Apr 10, 2026
5 checks passed
@EmJayGee EmJayGee deleted the micgrier/cp_acp branch April 10, 2026 14:52
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.

1 participant