HomeFreeBSD

emulators/xbraitenberg: Fix build with Clang 6

Description

emulators/xbraitenberg: Fix build with Clang 6

In file included from actuator.cc:5:
In file included from ./vehicle.hh:5:
./vector.hh:10:21: error: 'operator new' cannot be declared static in global scope
static inline void *operator new(size_t, void *v) { return v; }

^

http://beefy11.nyi.freebsd.org/data/head-i386-default/p478276_s338342/logs/errors/xbraitenberg-0.9_2.log

Details

Provenance
tobikAuthored on
Parents
rP478618: Let the test target do more of the work
Branches
Unknown
Tags
Unknown