[Wayland-bugs] [Bug 90674] Unknown type name 'uint32_t' in config-parser.h

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed May 27 01:41:09 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=90674

            Bug ID: 90674
           Summary: Unknown type name 'uint32_t' in config-parser.h
           Product: Wayland
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: sakari.m.kapanen at gmail.com

Created attachment 116071
  --> https://bugs.freedesktop.org/attachment.cgi?id=116071&action=edit
Minimal test file to reproduce the uint32_t errors

I'm trying to build Weston's desktop-shell out of the Weston source tree, ie.
by including the Weston headers from /usr/include/weston like this:

#include <weston/config-parser.h>
etc.

When compiling the shell plugin, gcc gives errors about an unknown type
'uint32_t' in config-parser.h. This can be solved by including stdint.h before
including config-parser.h. However, I think stdint.h should be included in the
config-parser.h header.

I've attached a simple, minimal test file to reproduce the problem. The errors
will be reproduced by running `gcc test.c`. The version of Weston in question
is 1.7.93.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150527/59bed639/attachment-0001.html>


More information about the wayland-bugs mailing list