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

Adding a note #16472

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions druntime/src/importc.h
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ typedef unsigned long long __uint64_t;

// This header disables the Windows API Annotations macros
// Need to include sal.h to get the pragma once to prevent macro redefinition.
// Note: these includes require include paths to `cl.exe` as envoronment variables that are set by
// executing `vcvarsall.bat` (this is automatically done when using a VS command propmt). -- TODO Gitbub actions
Copy link
Member

@maxhaton maxhaton May 16, 2024

Choose a reason for hiding this comment

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

Suggested change
// executing `vcvarsall.bat` (this is automatically done when using a VS command propmt). -- TODO Gitbub actions
// executing `vcvarsall.bat` (this is automatically done when using a VS command propmt). -- TODO Github actions

Copy link
Contributor

Choose a reason for hiding this comment

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

Noted, but this should get overwritten at some point anyway.

// This will cause the compilation to fail (error C1083) if the environment has not been properly configured prior.
#include "sal.h"
#include "no_sal2.h"
#endif
Expand Down