develooper Front page | perl.perl5.porters | Postings from May 2019

[perl #134023] perl5 blead fails to build on NetBSD-8.0 with g++

From:
coypu@sdf.org via RT
Date:
May 31, 2019 04:05
Subject:
[perl #134023] perl5 blead fails to build on NetBSD-8.0 with g++
Message ID:
rt-4.0.24-20918-1559189585-716.134023-15-0@perl.org
this is the netbsd fix, and will be in netbsd 8.1 when it is released (soon): http://mail-index.netbsd.org/source-changes-hg/2019/05/29/msg057353.html

why the code was failing on netbsd:

/* from netbsd assert.h */
#define static_assert bad_definition

/* from perl.h */
#ifndef static_assert
#define static_assert good_definition
#endif


why the definition was bad:
it relied on GCC _Static_assert.
Building for old C++ standards it's not available.

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org/Ticket/Display.html?id=134023



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About