public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug gcov-profile/106036] New: Missing stdint.h include in libgcc/libgcov.h
@ 2022-06-20 21:45 kacper.slominski72 at gmail dot com
  2022-06-21  7:18 ` [Bug gcov-profile/106036] " marxin at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kacper.slominski72 at gmail dot com @ 2022-06-20 21:45 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 106036
           Summary: Missing stdint.h include in libgcc/libgcov.h
           Product: gcc
           Version: 12.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: gcov-profile
          Assignee: unassigned at gcc dot gnu.org
          Reporter: kacper.slominski72 at gmail dot com
                CC: marxin at gcc dot gnu.org
  Target Milestone: ---

The libgcc/libgcov.h header (and users of it) do not include stdint.h before
using int64_t and uint64_t (via typedefs in gcc/gcov-io.h).

Looking a bit deeper, gcc/tsystem.h includes a bunch of libc headers but omits
stdint.h, which, on glibc, gets inadvertently brought in by stdlib.h and
sys/types.h, but POSIX does not specify that it needs to.

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

end of thread, other threads:[~2022-06-27  9:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-20 21:45 [Bug gcov-profile/106036] New: Missing stdint.h include in libgcc/libgcov.h kacper.slominski72 at gmail dot com
2022-06-21  7:18 ` [Bug gcov-profile/106036] " marxin at gcc dot gnu.org
2022-06-21 14:31 ` kacper.slominski72 at gmail dot com
2022-06-27  9:08 ` marxin at gcc dot gnu.org

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).