Public bug reported: byte and std::byte definitions in rpcndr and cstddef conflict. I have managed to solve it by adding a define guard, but upstream maintainers think it is not a bug because "they shouldn't conflict". So we need to fix this bug separately. I attach a patch, but it is incomplete. Tbe definition near #define __cpp_lib_byte 201603 should also be fixed the same way.
** Affects: gcc-mingw-w64 (Ubuntu) Importance: Undecided Status: New ** Patch added: "mingw.patch" https://bugs.launchpad.net/bugs/1845966/+attachment/5292832/+files/mingw.patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1845966 Title: Conflicts between std::byte and byte To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gcc-mingw-w64/+bug/1845966/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs