https://sourceware.org/bugzilla/show_bug.cgi?id=23424
--- Comment #5 from zenith432 at users dot sourceforge.net ---
This can be silenced with CXXFLAGS="-std=c++11 -Wno-c++11-narrowing", but
should probably be reported separately as a bug. The enum in namespace elfcpp
ends up having type "unsigne
https://sourceware.org/bugzilla/show_bug.cgi?id=23424
--- Comment #4 from Harald Fernengel ---
FYI - switching to C++11 also requires the following patch, as one of the case
labels is larger than INT_MAX
diff --git a/gold/x86_64.cc b/gold/x86_64.cc
index 27f273d64b..a88f534d60 100644
--- a/gold/
https://sourceware.org/bugzilla/show_bug.cgi?id=23424
--- Comment #3 from Harald Fernengel ---
(In reply to Cary Coutant from comment #2)
> > It seems that using PTHREAD_ONCE_INIT can only be used in a static context,
> > as
> > documented in the man page (https://linux.die.net/man/3/pthread_onc
https://sourceware.org/bugzilla/show_bug.cgi?id=23424
--- Comment #2 from Cary Coutant ---
> It seems that using PTHREAD_ONCE_INIT can only be used in a static context, as
> documented in the man page (https://linux.die.net/man/3/pthread_once). Since
> it's POD, doing a deep copy with a staticall
https://sourceware.org/bugzilla/show_bug.cgi?id=23424
--- Comment #1 from zenith432 at users dot sourceforge.net ---
Feeding CXXFLAGS="-std=c++11" to configure also does the job...
cat main.cxx
class X
{
public:
struct _T { int a; int b; } s;
X(void) : s({1, 2}) {}
};
static X
https://sourceware.org/bugzilla/show_bug.cgi?id=23424
Harald Fernengel changed:
What|Removed |Added
Host||Darwin
--
You are receiving this