Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
__empty in cdefs.h conflicts with g++/bits/stl_deque.h
Hi,
Build failure occurs after introduction of __empty to sys/cdefs.h.
It seems to conflict with g++/bits/stl_deque.h.
Thanks
rin
--- nv50_ir_lowering_gm107.pico ---
In file included from /var/build/dest/i386/usr/include/g++/deque:64:0,
from /var/build/xsrc/external/mit/MesaLib/dist/src/gallium/driv
ers/nouveau/codegen/nv50_ir.h:29,
from /var/build/xsrc/external/mit/MesaLib/dist/src/gallium/driv
ers/nouveau/codegen/nv50_ir_lowering_gm107.cpp:24:
/var/build/dest/i386/usr/include/g++/bits/stl_deque.h: In member function 'std::
_Deque_base<_Tp, _Alloc>::_Deque_impl std::_Deque_base<_Tp, _Alloc>::_M_move_imp
l()':
/var/build/dest/i386/usr/include/g++/bits/stl_deque.h:647:21: error: expected ';
' before '{' token
_Deque_base __empty{__alloc};
^
/var/build/dest/i386/usr/include/g++/bits/stl_deque.h:648:9: error: invalid use
of 'void'
__empty._M_initialize_map(0);
^
/var/build/dest/i386/usr/include/g++/bits/stl_deque.h:652:30: error: invalid use
of 'void'
_M_impl._M_swap_data(__empty._M_impl);
^
Home |
Main Index |
Thread Index |
Old Index