Date: Fri, 11 Jan 2013 14:59:04 -0800 From: Garrett Cooper <yanegomi@gmail.com> To: "O. Hartmann" <ohartman@zedat.fu-berlin.de> Cc: "freebs >> Current FreeBSD" <freebsd-current@FreeBSD.org>, Dimitry Andric <dim@FreeBSD.org> Subject: Re: r245310: /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:64:10: error: too few arguments to function call, expected 4, have 3 Message-ID: <DCCD4542-5E2B-4264-A3A0-C925CEDC5A63@gmail.com> In-Reply-To: <50F06AE7.5000404@zedat.fu-berlin.de> References: <50F06AE7.5000404@zedat.fu-berlin.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Dimitry cced. Sent from my iPhone On Jan 11, 2013, at 11:41 AM, "O. Hartmann" <ohartman@zedat.fu-berlin.de> wrote: > When building the system, I receive very quickly the following error > when /usr/src/lib/libcxxrt is compiled: > > > c++ -fpic -DPIC -O2 -pipe -O3 -march=native > -I/usr/src/lib/libcxxrt/../../contrib/libcxxrt -Qunused-arguments > -fstack-protector -Wno-empty-body -Wno-string-plus-int > -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality > -Wno-unused-function -Wno-conversion -Wno-switch -Wno-switch-enum > -Wno-parentheses -stdlib=libc++ -std=c++11 -c > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc -o memory.So > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:64:10: error: too > few arguments to function call, expected 4, have 3 > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:64:10: error: too > few arguments to function call, expected 4, have 3 > return ATOMIC_SWAP(&new_handl, handler); > return ATOMIC_SWAP(&new_handl, handler); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:14:47: note: > expanded from macro 'ATOMIC_SWAP' > __atomic_exchange(addr, val, __ATOMIC_ACQ_REL) > ~~~~~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:69:10: error: too > few arguments to function call, expected 3, have 2 > return ATOMIC_LOAD(&new_handl); > ^~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:25:38: note: > expanded from macro 'ATOMIC_LOAD' > __atomic_load(addr, __ATOMIC_ACQUIRE) > ~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:149:6: warning: > function previously declared with an implicit exception specification > redeclared with an explicit exception specification > [-Wimplicit-exception-spec-mismatch] > void operator delete[](void * ptr) throw() > ^ > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:14:47: note: > expanded from macro 'ATOMIC_SWAP' > __atomic_exchange(addr, val, __ATOMIC_ACQ_REL) > ~~~~~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:69:10: error: too > few arguments to function call, expected 3, have 2 > return ATOMIC_LOAD(&new_handl); > ^~~~~~~~~~~~~~~~~~~~~~~ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/atomic.h:25:38: note: > expanded from macro 'ATOMIC_LOAD' > __atomic_load(addr, __ATOMIC_ACQUIRE) > ~~~~~~~~~~~~~ ^ > /usr/src/lib/libcxxrt/../../contrib/libcxxrt/memory.cc:149:6: warning: > function previously declared with an implicit exception specification > redeclared with an explicit exception specification > [-Wimplicit-exception-spec-mismatch] > void operator delete[](void * ptr) throw() > ^ > 1 warning and 2 errors generated. > 1 warning and 2 errors generated. > *** [memory.So] Error code 1 > *** [memory.o] Error code 1 > 2 errors > *** [lib/libcxxrt__L] Error code 2 > 1 error > *** [libraries] Error code 2 > 1 error > *** [_libraries] Error code 2 > 1 error > *** [buildworld] Error code 2 > 1 error >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DCCD4542-5E2B-4264-A3A0-C925CEDC5A63>
