You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 23, 2023. It is now read-only.
This contains a grab bag of fixes to fix the build with clang 10.
- #23075
Fix missing includes in coreclr/src/debug/createdump/
- dotnet/runtime#33096
SList::Init: add missing constructor
- A subset of #22129
Just the parts that introduce the THROW_DECL macro in pal.h
- dotnet/runtime#32837
This fixes THROW_DECL introduce in the previous PR to work with clang, which
is required in clang 10.
- One new change:
In a significant divergance, this commits adds more THROW_DECL macros
to all the math functions to address a ton of errors pointed out when
building SOS:
In file included from /home/omajid/devel/dotnet/coreclr/src/ToolBox/SOS/Strike/strike.cpp:116:
In file included from /home/omajid/devel/dotnet/coreclr/src/vm/hillclimbing.h:19:
In file included from /home/omajid/devel/dotnet/coreclr/src/inc/complex.h:16:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/math.h:36:
In file included from /usr/bin/../lib/gcc/x86_64-redhat-linux/10/../../../../include/c++/10/cmath:45:
In file included from /usr/include/math.h:290:
/usr/include/bits/mathcalls.h:53:13: error: exception specification in declaration does not match previous declaration
__MATHCALL (acos,, (_Mdouble_ __x));
^
/home/omajid/devel/dotnet/coreclr/src/pal/inc/pal.h:4395:26: note: previous declaration is here
PALIMPORT double __cdecl acos(double);
^
Then, to make sure the declarations and implementations match, it adds
THROW_DECL to the definitions in src/pal/src/cruntime/math.cpp
Co-authored-by: Mike McLaughlin <[email protected]>
Co-authored-by: Sinan Kaya <[email protected]>
Co-authored-by: Tom Deseyn <[email protected]>
Co-authored-by: Mike McLaughlin <[email protected]>
Co-authored-by: Sinan Kaya <[email protected]>
Co-authored-by: Tom Deseyn <[email protected]>
0 commit comments