[cfe-dev] Revision 153723 breaks build of libc++
Dmitri Shubin
sbn at tbricks.com
Fri Mar 30 04:47:05 PDT 2012
Hello!
Commit 153723 broke build of libc++
Minimized test:
$ cat brk.cpp
int main(int argc, char* argv[])
{
switch (argc) {
case 0:
{
const int s[] = { 0 };
break;
}
case 1:
{
const int s[] = { 1, 2 };
break;
}
}
return 0;
}
$ clang++ brk.cpp
brk.cpp:11:23: error: problem emitting static variable: already present
as different kind of symbol
const int s[] = { 1, 2 };
^
1 error generated.
$ clang++ --version
clang version 3.1 (trunk 153723)
Target: i386-pc-solaris2.10
Thread model: posix
More information about the cfe-dev
mailing list