-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Update source_location
to use __builtin_FUNCSIG
#3206
Conversation
…ON (might be too much TRANSITION)
one more place:
|
Oh good that's where I was already looking at |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FAIL: std :: tests/GH_001411_core_headers:23 (23 of 29)
******************** TEST 'std :: tests/GH_001411_core_headers:23' FAILED ********************
Build setup steps:
Build steps:
Build step failed unexpectedly.
Command: "C:\Program Files\Microsoft Visual Studio\2022\Preview\VC\Tools\MSVC\14.35.32019\bin\HostX64\x64\cl.EXE" "-c" "C:\Dev\STL\tests\std\tests\GH_001411_core_headers\test.cpp" "-IC:\Dev\STL\out\build\x64\out\inc" "-IC:\Dev\STL\llvm-project\libcxx\test\support" "-IC:\Dev\STL\tests\std\include" "/nologo" "/Od" "/W4" "/w14061" "/w14242" "/w14265" "/w14582" "/w14583" "/w14587" "/w14588" "/w14749" "/w14841" "/w14842" "/w15038" "/w15214" "/w15215" "/w15216" "/w15217" "/w15262" "/sdl" "/WX" "/Zc:strictStrings" "/D_ENABLE_STL_INTERNAL_CHECK" "/bigobj" "/FIforce_include.hpp" "/w14365" "/D_ENFORCE_FACET_SPECIALIZATIONS=1" "/D_STL_CALL_ABORT_INSTEAD_OF_INVALID_PARAMETER" "/BE" "/c" "/EHsc" "/MT" "/std:c++20" "/permissive-" "/w14640" "/Zc:threadSafeInit-"
Exit Code: 2
Standard Output:
--
test.cpp
"C:\Dev\STL\out\build\x64\out\inc\source_location", line 31: error: identifier
"__builtin_FUNCSIG" is undefined
const char* const _Function_ = __builtin_FUNCSIG()) noexcept {
^
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Similar to
Line 51 in 2f8342a
#else // ^^^ workaround / no workaround vvv |
Co-Authored-By: Igor Zhukov <fsb4000@yandex.ru>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-Authored-By: nicole mazzuca <83086508+strega-nil-ms@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks so much!
I pushed tiny changes to fix a comment missing an underscore, and to restore a tiny bit of test coverage (exercising what happens when a lambda's definition occurs on a different line from its call). FYI @CaseyCarter, @strega-nil-ms. |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Have to drop this from the current merge batch because the internal build is starting with a compiler that's too old:
|
Casey thinks that MSVC-PR-440319 has the toolset update we need, which should be merged soon. |
I'm mirroring this to the MSVC-internal repo - please notify me if any further changes are pushed. |
Thanks for significantly improving the displayed information here! 📈 🚀 😻 |
Fixes #3063
x1
is different to all others