[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gold/23424] gold doesn't build on Darwin
From: |
zenith432 at users dot sourceforge.net |
Subject: |
[Bug gold/23424] gold doesn't build on Darwin |
Date: |
Tue, 17 Jul 2018 18:31:43 +0000 |
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 theX;
extern "C" int main()
{
return 0;
}
clang main.cxx
main.cxx:7:14: error: expected expression
X(void) : s({1, 2}) {}
^
1 error generated.
clang -std=c++11 main.cxx
[ok]
--
You are receiving this mail because:
You are on the CC list for the bug.
- [Bug gold/23424] New: gold doesn't build on Darwin, harryf at gmx dot com, 2018/07/17
- [Bug gold/23424] gold doesn't build on Darwin, harryf at gmx dot com, 2018/07/17
- [Bug gold/23424] gold doesn't build on Darwin,
zenith432 at users dot sourceforge.net <=
- [Bug gold/23424] gold doesn't build on Darwin, ccoutant at gmail dot com, 2018/07/17
- [Bug gold/23424] gold doesn't build on Darwin, harryf at gmx dot com, 2018/07/22
- [Bug gold/23424] gold doesn't build on Darwin, harryf at gmx dot com, 2018/07/23
- [Bug gold/23424] gold doesn't build on Darwin, zenith432 at users dot sourceforge.net, 2018/07/24