[haiku-development] Re: broken <string> or messed up system?

  • From: scott mc <scottmc2@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Fri, 11 Sep 2009 12:02:03 -0700

2009/9/11 André Braga <meianoite@xxxxxxxxx>:
> 2009/9/11 scott mc <scottmc2@xxxxxxxxx>:
>> I'm seeing a lot of errors in a program I'm trying to build, but it
>> may be because I messed up my local system.  Does this little program
>> compile without issues for you?
>>
>> #include <string>
>> int main()
>> {
>>   printf("Hello, world");
>> }
>
> Uhm, this might have nothing to do with the error you're experiencing,
> but printf is part of <stdio>, not <string>.
>
>
> Cheers,
> A.
>
>

I just put it in there since that was the include that triggered the
mess I was seeing in a larger program, and it did the same thing in a
basic hellow world program, see yeah it was there on purpose.  Still
waiting for someone to verify if it's my local system or a larger
Haiku problem.
-scottmc

Other related posts: