RTEMS | confdefs.h fails to compile when included in C++20 source (#5145)
Lucian Silistru (@lsilistr)
gitlab at rtems.org
Fri Nov 8 10:28:18 UTC 2024
Lucian Silistru commented on a discussion: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5145#note_114604
This works to make the compiler errors go away.
Funny enough so did https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=gcc/testsuite/g%2B%2B.dg/cpp0x/nsdmi-union7.C;h=c840ddf5fbc5b964ccf3d235630379f40f1ada95;hb=df118d7ba138cacb17203d4a1b5f27730347cc77 - adding a pad member to unions that use the structs in question.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5145#note_114604
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20241108/f0d57498/attachment.htm>
More information about the bugs
mailing list