On Mon, Mar 30, 2020 at 11:34:15AM -0600, Nathanael D. Noblet wrote: > I have a project that isn't part of Fedora yet - though really I > should add it at this point. Its php-cpp. It allows me to write c++ > extensions for PHP. Its worked well for a couple years. I upgraded to > F32 beta and now when compiling anything that includes its headers > compilation fails and I'm not entirely sure why. > > g++ -MT pdf-image.o -MMD -MP -MF .d/pdf-image.Td -Wall -g -c -O2 > -std=c++11 -fPIC `pkg-config poppler-cpp fontconfig openssl -- > cflags` -DVERSION=\"0.11.16\" -c -o pdf-image.o pdf-image.cpp > In file included from /usr/include/phpcpp.h:38, > from pdf-image.cpp:8: > /usr/include/phpcpp/throwable.h:29:1: error: expected class-name before > ‘{’ token > > I've attached the header. Any gcc experts out there able to tell me > what's wrong with the header format that used to compile but no longer > does? Please mail me a preprocessed source instead (e.g. rerun the g++ command line with -save-temps option and mail pdf-image.ii the compiler creates, or drop -M* options and their arguments, change -c to -E and pdf-image.o to pdf-image.ii). Thanks. Jakub _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx