<html><head></head><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:13px"><div>Hi,</div><div id="yui_3_16_0_ym19_1_1465416602922_9360"><br></div><div id="yui_3_16_0_ym19_1_1465416602922_9175">Building current openscenegraph-git, with a fully updated msys2, fails with this error:</div><div id="yui_3_16_0_ym19_1_1465416602922_9359"><br></div><div id="yui_3_16_0_ym19_1_1465416602922_9254" dir="ltr">In file included from C:/msys64/usr/include/sys/select.h:26:0,<br id="yui_3_16_0_ym19_1_1465416602922_9232">                 from C:/msys64/usr/include/sys/types.h:68,<br id="yui_3_16_0_ym19_1_1465416602922_9233">                 from C:/msys64/usr/include/stdio.h:48,<br id="yui_3_16_0_ym19_1_1465416602922_9234">                 from C:/msys64/mingw64/include/libavutil/common.h:38,<br id="yui_3_16_0_ym19_1_1465416602922_9235">                 from C:/msys64/mingw64/include/libavutil/avutil.h:288,<br id="yui_3_16_0_ym19_1_1465416602922_9236">                 from C:/msys64/mingw64/include/libavutil/samplefmt.h:24,<br id="yui_3_16_0_ym19_1_1465416602922_9237">                 from C:/msys64/mingw64/include/libavcodec/avcodec.h:31,<br id="yui_3_16_0_ym19_1_1465416602922_9238">                 from D:/MINGW-packages/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:11,<br id="yui_3_16_0_ym19_1_1465416602922_9239">                 from D:/MINGW-packages/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,<br id="yui_3_16_0_ym19_1_1465416602922_9240">                 from D:/MINGW-packages/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:2:<br id="yui_3_16_0_ym19_1_1465416602922_9241">C:/msys64/usr/include/sys/_timeval.h:40:18: error: conflicting declaration 'typedef long int time_t'<br id="yui_3_16_0_ym19_1_1465416602922_9242"> typedef _TIME_T_ time_t;<br id="yui_3_16_0_ym19_1_1465416602922_9243">                  ^<br id="yui_3_16_0_ym19_1_1465416602922_9244">In file included from C:/msys64/mingw64/x86_64-w64-mingw32/include/stddef.h:7:0,<br id="yui_3_16_0_ym19_1_1465416602922_9245">                 from C:/msys64/mingw64/lib/gcc/x86_64-w64-mingw32/5.4.0/include/stddef.h:1,<br id="yui_3_16_0_ym19_1_1465416602922_9246">                 from C:/msys64/usr/include/sys/reent.h:14,<br id="yui_3_16_0_ym19_1_1465416602922_9247">                 from C:/msys64/usr/include/sys/errno.h:11,<br id="yui_3_16_0_ym19_1_1465416602922_9248">                 from C:/msys64/usr/include/errno.h:9,<br id="yui_3_16_0_ym19_1_1465416602922_9249">                 from D:/MINGW-packages/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:9,<br id="yui_3_16_0_ym19_1_1465416602922_9250">                 from D:/MINGW-packages/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,<br id="yui_3_16_0_ym19_1_1465416602922_9251">                 from D:/MINGW-packages/mingw-w64-openscenegraph-git/src/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegClocks.cpp:2:<br id="yui_3_16_0_ym19_1_1465416602922_9252">C:/msys64/mingw64/x86_64-w64-mingw32/include/crtdefs.h:138:20: note: previous declaration as 'typedef __time64_t time_t'<br id="yui_3_16_0_ym19_1_1465416602922_9253"> typedef __time64_t time_t;</div><div id="yui_3_16_0_ym19_1_1465416602922_9255" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1465416602922_9339" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1465416602922_9340" dir="ltr">I also see a number of warnings apparently related to system and gcc includes.</div><div id="yui_3_16_0_ym19_1_1465416602922_9341" dir="ltr"><br></div><div id="yui_3_16_0_ym19_1_1465416602922_9356" dir="ltr">Any pointer on how to address such issues ?</div><div id="yui_3_16_0_ym19_1_1465416602922_9342" dir="ltr">Is it a problem with system headers or with openscenegraph ?<br></div><div dir="ltr"><br> </div><div dir="ltr">Fixing system headers is not something i am comfortable with.<br></div><div id="yui_3_16_0_ym19_1_1465416602922_9115"><br></div><div>Cheers,</div><div>Philippe.<br></div></div></body></html>