[Poppler-bugs] [Bug 102538] New: clang build failure for 0.59.0 due to missing user-provided default constructor
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Sep 4 15:59:00 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102538
Bug ID: 102538
Summary: clang build failure for 0.59.0 due to missing
user-provided default constructor
Product: poppler
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: general
Assignee: poppler-bugs at lists.freedesktop.org
Reporter: ilovezfs at icloud.com
Created attachment 133962
--> https://bugs.freedesktop.org/attachment.cgi?id=133962&action=edit
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
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20170904/ecd68c77/attachment.html>
More information about the Poppler-bugs
mailing list