Robin Gareus
6d4b94df13
This works around for compilers with non-static-data-member initialization. spinlock_t is-a struct { lockType _; } and BOOST_DETAIL_SPINLOCK_INIT initializes the first member of the struct. All defines of BOOST_DETAIL_SPINLOCK_INIT include c-style curly braces to initialize the struct's data member. However, modern C++ compiler interpret the braces differently resulting in copy constriction of the initializer. |
||
---|---|---|
.. | ||
boost-debug | ||
msvc | ||
MSVCpbd | ||
pbd | ||
test | ||
base_ui.cc | ||
basename.cc | ||
boost_debug.cc | ||
cartesian.cc | ||
ChangeLog | ||
cocoa_open_uri.mm | ||
command.cc | ||
configuration_variable.cc | ||
controllable.cc | ||
convert.cc | ||
COPYING | ||
cpus.cc | ||
crossthread.cc | ||
crossthread.posix.cc | ||
crossthread.win.cc | ||
debug_rt_alloc.c | ||
debug.cc | ||
demangle.cc | ||
enums.cc | ||
enumwriter.cc | ||
epa.cc | ||
error.cc | ||
event_loop.cc | ||
ffs.cc | ||
file_archive.cc | ||
file_utils.cc | ||
fpu.cc | ||
gettext.h | ||
id.cc | ||
libpbd.pc.in | ||
libpbd.spec.in | ||
locale_guard.cc | ||
localtime_r.cc | ||
malign.cc | ||
md5.cc | ||
mountpoint.cc | ||
openuri.cc | ||
pathexpand.cc | ||
pbd.cc | ||
pool.cc | ||
property_list.cc | ||
pthread_utils.cc | ||
reallocpool.cc | ||
receiver.cc | ||
resource.cc | ||
run-tests.sh | ||
search_path.cc | ||
semutils.cc | ||
shortpath.cc | ||
signals.cc | ||
spinlock.cc | ||
stacktrace.cc | ||
stateful_diff_command.cc | ||
stateful.cc | ||
string_convert.cc | ||
strreplace.cc | ||
strsplit.cc | ||
system_exec.cc | ||
textreceiver.cc | ||
timer.cc | ||
timing.cc | ||
tlsf.cc | ||
transmitter.cc | ||
undo.cc | ||
uuid.cc | ||
whitespace.cc | ||
windows_mmcss.cc | ||
windows_special_dirs.cc | ||
windows_timer_utils.cc | ||
wscript | ||
xml++.cc |