* Martin Michlmayr <t...@hpe.com> [2016-01-19 20:52]: > Package: openimageio > Version: 1.5.23~dfsg0-1 > > > from > > /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.hpp:20, > > from /<<PKGBUILDDIR>>/src/libOpenImageIO/formatspec.cpp:46: > > /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.cpp: In member function > > 'void OpenImageIO::v1_5::pugi::xml_document::create()': > > /<<PKGBUILDDIR>>/src/include/OpenImageIO/pugixml.cpp:5143:58: error: > > placement new constructing an object of type > > 'OpenImageIO::v1_5::pugi::impl::xml_document_struct' and size '88' in a > > region of type 'char [1]' and size '1' [-Werror=placement-new] > > _root = new (page->data) impl::xml_document_struct(page);
This was a bug in the compiler, although it seems from the log that the code is unusual. Please read https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69662 But now it fails with: /<<PKGBUILDDIR>>/src/dpx.imageio/libdpx/Writer.cpp: In member function 'bool dpx::Writer::WriteElement(int, void*, long int)': /<<PKGBUILDDIR>>/src/dpx.imageio/libdpx/Writer.cpp:212:2: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] this->header.SetDataOffset(element, this->fileLoc); ^~~~ /<<PKGBUILDDIR>>/src/dpx.imageio/libdpx/Writer.cpp:208:5: note: ...this 'if' clause, but it is not if (! this->WritePadData(0x2000)) ^~ /<<PKGBUILDDIR>>/src/dpx.imageio/libdpx/Writer.cpp: In member function 'bool dpx::Writer::WriteElement(int, void*, dpx::DataSize)': /<<PKGBUILDDIR>>/src/dpx.imageio/libdpx/Writer.cpp:251:2: error: statement is indented as if it were guarded by... [-Werror=misleading-indentation] if (element == 0) ^~ /<<PKGBUILDDIR>>/src/dpx.imageio/libdpx/Writer.cpp:247:5: note: ...this 'if' clause, but it is not if (! this->WritePadData(0x2000)) -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise