Skip to content

Build issue of consumers with gcc13 #28

@heirecka

Description

@heirecka

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions