Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restrict the use of _s (Annex K) functions to MSVC #436

Merged
merged 1 commit into from
Jan 11, 2025

Conversation

Gnimuc
Copy link
Contributor

@Gnimuc Gnimuc commented Jan 11, 2025

These _s secure functions are introduced in C11 as optional bounds-checking interfaces, there is no guarantee that they are implemented/enabled by other compilers.

These `_s` secure functions are introduced in C11 as optional bounds-checking interfaces, there is no guarantee that they are implemented/enabled by other compilers.
Copy link
Contributor

clang-tidy review says "All clean, LGTM! 👍"

Copy link

codecov bot commented Jan 11, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.96%. Comparing base (b93db9c) to head (48229ee).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #436   +/-   ##
=======================================
  Coverage   70.96%   70.96%           
=======================================
  Files           9        9           
  Lines        3541     3541           
=======================================
  Hits         2513     2513           
  Misses       1028     1028           
Files with missing lines Coverage Δ
lib/Interpreter/Compatibility.h 88.28% <ø> (ø)
lib/Interpreter/CppInterOp.cpp 80.34% <ø> (ø)
Files with missing lines Coverage Δ
lib/Interpreter/Compatibility.h 88.28% <ø> (ø)
lib/Interpreter/CppInterOp.cpp 80.34% <ø> (ø)

Copy link
Contributor

@vgvassilev vgvassilev left a comment

Choose a reason for hiding this comment

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

Lgtm!

@vgvassilev vgvassilev merged commit 396d7a1 into compiler-research:main Jan 11, 2025
47 checks passed
@Gnimuc Gnimuc deleted the mingw-compat branch January 11, 2025 12:57
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