Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issue of consumers with gcc13 #28

Open
heirecka opened this issue Jan 14, 2023 · 1 comment
Open

Build issue of consumers with gcc13 #28

heirecka opened this issue Jan 14, 2023 · 1 comment

Comments

@heirecka
Copy link

Like some new versions before it, GCC 13 moves around some internal includes and <stdint.h>/<cstdint> seem no longer transitively included.
This becomes a problem when building trojita for example:

/usr/x86_64-pc-linux-gnu/include/mimetic/rfc822/messageid.h:29:23: error: expected ')' before 'thread_id'
   29 |     MessageId(uint32_t thread_id = 0 );
      |              ~        ^~~~~~~~~~
      |                       )

Even though messageid.h includes <stdint.h>, it does so behind a #ifdef HAVE_STDINT_H, which isn't defined anywhere in the installed headers.

jktjkt pushed a commit to jktjkt/trojita that referenced this issue Mar 31, 2023
This fixes building with GCC 13. See also the issue created upstream:
tat/mimetic#28
@lukem
Copy link
Contributor

lukem commented Dec 29, 2023

I haven't noticed this using g++ 13.1.1 (on RHEL 8) with missing / <stdint.h>

I did experience various build warnings (especially with -Wall), which I fixed in various commits in pull request #30 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants