[mono] Fix warnings on OSX, re-enable -Werror on CI with CMake (#44747)
authorRyan Lucia <rylucia@microsoft.com>
Thu, 26 Nov 2020 08:18:02 +0000 (03:18 -0500)
committerGitHub <noreply@github.com>
Thu, 26 Nov 2020 08:18:02 +0000 (03:18 -0500)
commit96fe6f3c17d9e8a8cbbbecf8a557aa582b798126
tree99134f3cea6fd7d9a4e0046a33859d694054da4e
parentffa24bd954dd102da68d42f4d6fbece03e82d1f4
[mono] Fix warnings on OSX, re-enable -Werror on CI with CMake (#44747)

* Ifdef out removed icalls on netcore

* Fix format string for cross builds

desc here is based on the pointer size of the target, whereas void* is based on the host

* Re-enable -WError on CI for OSX and Wasm

This got lost in the CMake transition

* Improve ep_rt_thread_id_t handling.

* Make types_str local to mono_fdhandle_insert

* Fix OSX build error.

* Align os thread id to uint64_t.

* Update src/mono/mono/sgen/sgen-descriptor.c

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
* Update src/mono/mono/sgen/sgen-descriptor.c

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
* Update src/mono/mono/sgen/sgen-descriptor.c

Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
* Revert "Make types_str local to mono_fdhandle_insert"

This reverts commit 04f56efcb8e9d33dca12f831f9c05591c649678c.

* Put types_str under appropriate ifdef

* Disable Werror on wasm

Co-authored-by: lateralusX <lateralusx.github@gmail.com>
Co-authored-by: Aleksey Kliger (λgeek) <akliger@gmail.com>
Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
17 files changed:
src/mono/mono.proj
src/mono/mono/eventpipe/ep-rt-mono.h
src/mono/mono/eventpipe/ep-rt-types-mono.h
src/mono/mono/metadata/fdhandle.c
src/mono/mono/metadata/icall.c
src/mono/mono/sgen/sgen-descriptor.c
src/native/eventpipe/ds-server.c
src/native/eventpipe/ep-buffer-manager.c
src/native/eventpipe/ep-buffer.c
src/native/eventpipe/ep-config.c
src/native/eventpipe/ep-event-instance.c
src/native/eventpipe/ep-json-file.c
src/native/eventpipe/ep-rt.h
src/native/eventpipe/ep-sample-profiler.c
src/native/eventpipe/ep-session.c
src/native/eventpipe/ep-thread.c
src/native/eventpipe/ep-thread.h