[cfe-dev] libcxx install location?

Larry Evans cppljevans at suddenlink.net
Sun Feb 6 02:17:32 PST 2011


On 02/05/11 20:56, Larry Evans wrote:
> On 02/05/11 09:09, Jean-Daniel Dupas wrote:
> [snip]
>> After theses changes, I was able to compile a simple hello world program.
>>
>> --------- hello.cpp
>> #include <iostream>
>>
>> int main (int argc, char * const argv[]) {
>>     // insert code here...
>>     std::cout << "Hello, World!\n";
>>     return 0;
>> }
>> ------------------------
>>
>> Unfortunalty, this simple code does not run properly. It prints "Hello
>> World", and then a lot of garbage (and sometimes segfault too).
>>
>> But this may be a good base to start hacking on libc++.
>>
> 
> The attached code, with:
> 
>   #define EMTPY_STDOUT_STR
> 
> runs OK; however, with:
> 
>   //#define EMTPY_STDOUT_STR
> 
> it prints the "?" followed by a bunch of garbage just like you
> describe.
[snip]
This problem had already been reported as a bug here:

http://llvm.org/bugs/show_bug.cgi?id=8992




More information about the cfe-dev mailing list