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@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