Created attachment 133962 [details] [review] patch for building with clang This affects 0.59.0 (and 0.58.0) but does not affect 0.57.0. The build failure with clang is ``` CXX libpoppler_la-StructElement.lo StructElement.cc:264:32: error: default initialization of an object of const type 'const AttributeDefaults' without a user-provided default constructor static const AttributeDefaults attributeDefaults; ^ {} 1 error generated. make[1]: *** [libpoppler_la-StructElement.lo] Error 1 make: *** [install-recursive] Error 1 ``` A full build log is here: https://gist.github.com/ilovezfs/84c900483ecb5633d1fad299c5f94c57 I am working around it with the following patch: https://raw.githubusercontent.com/Homebrew/formula-patches/3b766b9/poppler/clang.diff See https://github.com/Homebrew/homebrew-core/pull/17556
that must be an old clang, my local clang 4.0 just builds fine, but i guess we can add that to make old clang happy.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.