Skip to content

Fix friend class declaration - #268

Merged
janvorli merged 1 commit into
dotnet:masterfrom
franksinankaya:frkaya/gccompile
Nov 26, 2019
Merged

janvorli merged 1 commit into
dotnet:masterfrom
franksinankaya:frkaya/gccompile

Conversation

@franksinankaya

Copy link
Copy Markdown
Contributor

[ 27%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/arch/amd64/signalhandlerhelper.cpp.o
coreclr/src/pal/src/thread/thread.cpp:1613:1: error: ‘CorUnix::PAL_ERROR CorUnix::InternalSetThreadDescription(CorUnix::CPalThread*, HANDLE, PCWSTR)’ has not been declared within CorUnix [-Werror]
CorUnix::InternalSetThreadDescription(
^~~~~~~
In file included from coreclr/src/pal/src/include/pal/dbgmsg.h:160:0,
from coreclr/src/pal/src/thread/thread.cpp:21:
coreclr/src/pal/src/include/pal/thread.hpp:204:13: note: only here as a friend
InternalSetThreadDescription(

[ 27%] Building CXX object src/pal/src/CMakeFiles/coreclrpal.dir/arch/amd64/signalhandlerhelper.cpp.o
coreclr/src/pal/src/thread/thread.cpp:1613:1: error: ‘CorUnix::PAL_ERROR CorUnix::InternalSetThreadDescription(CorUnix::CPalThread*, HANDLE, PCWSTR)’ has not been declared within CorUnix [-Werror]
 CorUnix::InternalSetThreadDescription(
 ^~~~~~~
In file included from coreclr/src/pal/src/include/pal/dbgmsg.h:160:0,
                 from coreclr/src/pal/src/thread/thread.cpp:21:
coreclr/src/pal/src/include/pal/thread.hpp:204:13: note: only here as a friend
             InternalSetThreadDescription(
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the area-PAL-coreclr only for closed issues label Nov 26, 2019
@franksinankaya

Copy link
Copy Markdown
Contributor Author

@jkotas @janvorli

@janvorli janvorli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM, thank you!

@janvorli
janvorli merged commit e6d8017 into dotnet:master Nov 26, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Dec 11, 2020
radical pushed a commit to radical/runtime that referenced this pull request Jul 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-PAL-coreclr only for closed issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants