public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/100438] New: `_serialize` macro clashes with user defined identifiers
@ 2021-05-05 18:49 heinzisoft at web dot de
  2021-05-05 18:51 ` [Bug libstdc++/100438] " heinzisoft at web dot de
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: heinzisoft at web dot de @ 2021-05-05 18:49 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100438

            Bug ID: 100438
           Summary: `_serialize` macro clashes with user defined
                    identifiers
           Product: gcc
           Version: 11.1.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: heinzisoft at web dot de
  Target Milestone: ---

[CryFS](https://github.com/cryfs/cryfs) compiled fine with GCC 10, but it
breaks with GCC 11 because the standard library is now defining a `_serialize`
macro that leaks into user code. When CryFS is trying to call a local
`_serialize` function, the macro is picked instead.

It looks like the macro got introduced here:
https://patchwork.ozlabs.org/project/gcc/patch/CAMe9rOp_DLg55kRxw2v75PPeqj-8tDKob5z-+EWPpf-L3OuKKw@mail.gmail.com/

Also, there's reports in other bug trackers about the same issue:
- https://github.com/cryfs/cryfs/issues/389
- https://bugs.gentoo.org/786459

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2021-08-06  1:45 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-05 18:49 [Bug libstdc++/100438] New: `_serialize` macro clashes with user defined identifiers heinzisoft at web dot de
2021-05-05 18:51 ` [Bug libstdc++/100438] " heinzisoft at web dot de
2021-05-06  6:31 ` [Bug target/100438] " rguenth at gcc dot gnu.org
2021-05-06  8:03 ` jakub at gcc dot gnu.org
2021-05-06  8:59 ` redi at gcc dot gnu.org
2021-05-06  9:01 ` redi at gcc dot gnu.org
2021-05-06 10:33 ` heinzisoft at web dot de
2021-05-06 10:37 ` jakub at gcc dot gnu.org
2021-08-03 17:35 ` filbranden at gmail dot com
2021-08-03 18:01 ` hjl.tools at gmail dot com
2021-08-06  1:27 ` filbranden at gmail dot com
2021-08-06  1:29 ` filbranden at gmail dot com
2021-08-06  1:45 ` hjl.tools at gmail dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).