[Bug 889716] New: pthread header files are installed not to the root of "include" directory

bugzilla at redhat.com bugzilla at redhat.com
Sat Dec 22 21:20:41 UTC 2012


Product: Fedora EPEL
https://bugzilla.redhat.com/show_bug.cgi?id=889716

            Bug ID: 889716
           Summary: pthread header files are installed not to the root of
                    "include" directory
           Product: Fedora EPEL
           Version: el5
         Component: mingw32-pthreads
          Severity: low
          Priority: unspecified
          Reporter: max.salov at gmail.com

Description of problem:

Header files are installed into
/usr/i686-pc-mingw32/sys-root/mingw/include/pthread/ directory instead of
/usr/i686-pc-mingw32/sys-root/mingw/include/. As a result pthread.h header file
is not accessible with #include <pthread.h> directive.

If use #include <pthread/pthread.h>, other headers from pthread library are not
found during compilation process, because are included without directory prefix
(e.g. #include <sched.h>, not #include <pthread/sched.h>).

The only way to use mingw32-pthread I see is to add
-I/usr/i686-pc-mingw32/sys-root/mingw/include/pthread/ to CFLAGS and use
#include <pthread.h> directive.

Version-Release number of selected component (if applicable):
2.8.0-4.el5

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=8vnwgOGS8H&a=cc_unsubscribe


More information about the mingw mailing list