Daniel Dunbar wrote:
> On Sat, Oct 17, 2009 at 12:37 PM, Sebastian Redl
> <[email protected]> wrote:
>   
>> Author: cornedbee
>> Date: Sat Oct 17 14:37:06 2009
>> New Revision: 84347
>>
>> URL: http://llvm.org/viewvc/llvm-project?rev=84347&view=rev
>> Log:
>> In some dependent contexts, incomplete array types persist into 
>> FinalizeDeclaratorGroup. Don't require them to have a complete type. This 
>> allows us to compile Hello World with the Apache stdcxx library. If you 
>> don't use endl, it even links and runs.
>>     
>
> What is the "it"?
>   
The Hello World program, i.e.

#include <iostream>
int main() { std::cout << "Hello, Clang!\n"; }

The problem was (until my most recent change) that this program:

#include <iostream>
int main() { std::cout << "Hello, Clang!" << std::endl; }

would not instantiate the std::endl function template and thus fail to link.

Sebastian
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to