Displaying 5 results from an estimated 5 matches for "main_bug".
Did you mean:
main_arg
2012 Sep 27
4
[LLVMdev] Clang bug?
...empl8 {
struct Member {
typename map<K,Member*>::iterator it;
};
typedef typename map<K,Member*>::iterator iterator_type;
};
int main() {
Templ8<int> test;
}
This is the command-line:
clang++ -stdlib=libc++ -std=c++11 main_bug.cpp
If either of the flags are removed (to compile in C++03 mode, or to
use the non-clang standard library), the code compiles. If the
typedef is removed or commented out, clang++ compiles the code fine.
If the typedef is moved inside the "Member" inner class, the code
compiles fine (eve...
2012 Sep 28
0
[LLVMdev] Clang bug?
...map<K,Member*>::iterator it;
> };
> typedef typename map<K,Member*>::iterator iterator_type;
> };
>
> int main() {
> Templ8<int> test;
> }
>
>
>
> This is the command-line:
> clang++ -stdlib=libc++ -std=c++11 main_bug.cpp
> If either of the flags are removed (to compile in C++03 mode, or to
> use the non-clang standard library), the code compiles. If the
> typedef is removed or commented out, clang++ compiles the code fine.
> If the typedef is moved inside the "Member" inner class, the cod...
2012 Sep 28
4
[LLVMdev] Clang bug?
...gt; > typedef typename map<K,Member*>::iterator iterator_type;
> > };
> >
> > int main() {
> > Templ8<int> test;
> > }
> >
> >
> >
> > This is the command-line:
> > clang++ -stdlib=libc++ -std=c++11 main_bug.cpp
> > If either of the flags are removed (to compile in C++03 mode, or to
> > use the non-clang standard library), the code compiles. If the
> > typedef is removed or commented out, clang++ compiles the code fine.
> > If the typedef is moved inside the "Member"...
2012 Sep 29
0
[LLVMdev] Clang bug?
...K,Member*>::iterator iterator_type;
>> > };
>> >
>> > int main() {
>> > Templ8<int> test;
>> > }
>> >
>> >
>> >
>> > This is the command-line:
>> > clang++ -stdlib=libc++ -std=c++11 main_bug.cpp
>> > If either of the flags are removed (to compile in C++03 mode, or to
>> > use the non-clang standard library), the code compiles. If the
>> > typedef is removed or commented out, clang++ compiles the code fine.
>> > If the typedef is moved inside the &qu...
2012 Sep 29
1
[LLVMdev] Clang bug?
...t; > };
> >> >
> >> > int main() {
> >> > Templ8<int> test;
> >> > }
> >> >
> >> >
> >> >
> >> > This is the command-line:
> >> > clang++ -stdlib=libc++ -std=c++11 main_bug.cpp
> >> > If either of the flags are removed (to compile in C++03 mode, or to
> >> > use the non-clang standard library), the code compiles. If the
> >> > typedef is removed or commented out, clang++ compiles the code fine.
> >> > If the typedef is...