From 224384612e37d0d9f44fe0214930ceffcebdf354 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 14 Nov 2021 15:04:11 -0500 Subject: Build fixes for clang --- 3rdparty/asio/include/asio/detail/config.hpp | 2 +- src/devices/bus/archimedes/podule/lark.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/3rdparty/asio/include/asio/detail/config.hpp b/3rdparty/asio/include/asio/detail/config.hpp index 78fa8540ee9..be350c4e6d0 100644 --- a/3rdparty/asio/include/asio/detail/config.hpp +++ b/3rdparty/asio/include/asio/detail/config.hpp @@ -1869,7 +1869,7 @@ # endif // defined(_RESUMABLE_FUNCTIONS_SUPPORTED) # endif // (_MSC_FULL_VER >= 190023506) # elif defined(__clang__) -# if (__cplusplus >= 201703) && (__cpp_coroutines >= 201703) +# if (__cplusplus >= 201703) && defined(__cpp_coroutines) && (__cpp_coroutines >= 201703) # if __has_include() # define ASIO_HAS_CO_AWAIT 1 # endif // __has_include() diff --git a/src/devices/bus/archimedes/podule/lark.cpp b/src/devices/bus/archimedes/podule/lark.cpp index 1a02c74b0c3..54bfa5cd480 100644 --- a/src/devices/bus/archimedes/podule/lark.cpp +++ b/src/devices/bus/archimedes/podule/lark.cpp @@ -74,7 +74,7 @@ private: void arc_lark_device::ioc_map(address_map &map) { map(0x0000, 0x1fff).lr8(NAME([this](offs_t offset) { return m_podule_rom->base()[offset | ((m_rom_page << 11) & 0x1f800)]; })).umask32(0x000000ff); - map(0x0000, 0x0000).lw8(NAME([this](u8 data) { })); // XC3030 FPGA + map(0x0000, 0x0000).lw8(NAME([](u8 data) { })); // XC3030 FPGA map(0x2000, 0x2000).lw8(NAME([this](u8 data) { m_rom_page = data; })); map(0x3000, 0x3000).rw(FUNC(arc_lark_device::status_r), FUNC(arc_lark_device::control_w)); map(0x3400, 0x341f).rw("uart", FUNC(ns16550_device::ins8250_r), FUNC(ns16550_device::ins8250_w)).umask32(0x000000ff); -- cgit v1.2.3