Skip to content

Fix warning and add emscripten CI step#4738

Merged
nlohmann merged 11 commits into
developfrom
issue4662
Apr 13, 2025
Merged

Fix warning and add emscripten CI step#4738
nlohmann merged 11 commits into
developfrom
issue4662

Conversation

@nlohmann

@nlohmann nlohmann commented Apr 12, 2025

Copy link
Copy Markdown
Owner
  • Fixes a -Wsign-conversion compiler warning that occurred when compiling the library with Emscripten em++.
  • Add a CI step that compiles the library with Emscripten em++. We don't yet enable maximal warning flags here, but will probably do so in the future.

Closes #4662

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
@coveralls

coveralls commented Apr 12, 2025

Copy link
Copy Markdown

Coverage Status

coverage: 99.186%. remained the same
when pulling 2844976 on issue4662
into 93e9573 on develop.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
@nlohmann nlohmann marked this pull request as ready for review April 13, 2025 14:17
@nlohmann nlohmann added the review needed It would be great if someone could review the proposed changes. label Apr 13, 2025
@nlohmann nlohmann added this to the Release 3.12.1 milestone Apr 13, 2025

@vittorioromeo vittorioromeo left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@nlohmann nlohmann merged commit 4cca3b9 into develop Apr 13, 2025
@nlohmann nlohmann deleted the issue4662 branch April 13, 2025 15:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI documentation M review needed It would be great if someone could review the proposed changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

-Wsign-conversion warning to look into when compiling with emscripten em++

3 participants