On 2018-04-20, Richard Shaw <hobbes1069@xxxxxxxxx> wrote: > > I'm getting the following error when I build with mock in both f27 and > rawhide: > > BUILDSTDERR: In file included from > /builddir/build/BUILD/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:18: > BUILDSTDERR: /usr/include/pcre.h:325:33: error: conflicting declaration > 'typedef struct real_pcre8_or_16 pcre' > BUILDSTDERR: typedef struct real_pcre8_or_16 pcre; > BUILDSTDERR: ^~~~ > BUILDSTDERR: In file included from > /builddir/build/BUILD/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:14: > BUILDSTDERR: > /builddir/build/BUILD/OpenCOLLADA-1.6.62/COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h:17:26: > note: previous declaration as 'typedef struct real_pcre pcre' > BUILDSTDERR: typedef struct real_pcre pcre; > BUILDSTDERR: ^~~~ > > I do not get this error doing a local build on my f27 desktop... > This is change in pcre-8.42-RC1 that fixed out-dated typedefs: -struct real_pcre; /* declaration; the definition is private */ -typedef struct real_pcre pcre; +struct real_pcre8_or_16; /* declaration; the definition is private */ +typedef struct real_pcre8_or_16 pcre; -struct real_pcre16; /* declaration; the definition is private */ -typedef struct real_pcre16 pcre16; +struct real_pcre8_or_16; /* declaration; the definition is private */ +typedef struct real_pcre8_or_16 pcre16; Your code COLLADABaseUtils/include/COLLADABUPcreCompiledPattern.h:17 redefines them: struct real_pcre; typedef struct real_pcre pcre; OpenCOLLADA should remove the redifinitions. -- Petr _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx