Displaying 2 results from an estimated 2 matches for "u2018class".
2010 Nov 10
2
[LLVMdev] llvm-gcc not compatible with gcc on a small case?
...the most recent llvm-gcc.
Here is the case:
template <int N>
class T {
public:
int V;
};
T<4> test(T<4> a[4][8]) {
return a[3][3];
}
llvm-gcc dumped:
fail.cpp: In function \u2018T<4> test(T<4> (*)[8])\u2019:
fail.cpp:7: error: invalid use of incomplete type \u2018class T<4>\u2019
fail.cpp:2: error: declaration of \u2018class T<4>\u2019
Guys, any idea for this issue?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101110/9bac5119/attachment.html>
2010 Nov 10
1
[LLVMdev] Fw: llvm-gcc not compatible with gcc on a small case?
...>>};
>>
>>T<4> test(T<4> a[4][8]) {
>> return a[3][3];
>>}
>>
>>
>>
>>llvm-gcc dumped:
>>
>>fail.cpp: In function \u2018T<4> test(T<4> (*)[8])\u2019:
>>fail.cpp:7: error: invalid use of incomplete type \u2018class T<4>\u2019
>>fail.cpp:2: error: declaration of \u2018class T<4>\u2019
>>
>>Guys, any idea for this issue?
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/201...