Source: parser
Severity: serious
Justification: fails to build from source (but built successfully in the past)

operator new appears to have a different signature in g++-4.9's stdlib 
implementation,
which breaks the compilation of pa_pool.C / pa_memory.h.

Same problem in new[], delete, etc.

In file included from /usr/include/c++/4.9/ext/new_allocator.h:33:0,
                 from 
/usr/include/x86_64-linux-gnu/c++/4.9/bits/c++allocator.h:33,
                 from /usr/include/c++/4.9/bits/allocator.h:46,
                 from /usr/include/c++/4.9/string:41,
                 from /usr/include/x86_64-linux-gnu/unicode/std_string.h:30,
                 from /usr/include/x86_64-linux-gnu/unicode/unistr.h:31,
                 from /usr/include/x86_64-linux-gnu/unicode/strenum.h:14,
                 from /usr/include/x86_64-linux-gnu/unicode/uenum.h:24,
                 from /usr/include/x86_64-linux-gnu/unicode/ucnv.h:51,
                 from /usr/include/libxml2/libxml/encoding.h:31,
                 from ../../src/include/pa_charset.h:24,
                 from pa_pool.C:12:
/usr/include/c++/4.9/new:129:41: error: declaration of 'void* operator 
new(std::size_t) throw (std::bad_alloc)' has a different exception specifier
   __attribute__((__externally_visible__));
                                         ^
In file included from ../../src/include/pa_array.h:15:0,
                 from ../../src/include/pa_pool.h:15,
                 from pa_pool.C:8:
.../../src/include/pa_memory.h:76:14: error: from previous declaration 'void* 
operator new(size_t)'
 inline void *operator new(size_t size) {
              ^

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.19.0-16-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

_______________________________________________
Reproducible-builds mailing list
Reproducible-builds@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/reproducible-builds

Reply via email to