bison section 10

Justin justinwhelan at
Tue Dec 27 10:18:57 PST 2005

Joe Ciccone wrote:

>2 tests for you.
>gcc -v
works fine, tells me where the spec file is, compile options and does 
not report any problems.

>echo "int main () { cout << "Hi" << endl; }" > dummy.cpp
>g++ dummy.cpp -o dummy

dummy.cpp:1: error: cout not declared in this scope
dummy.cpp:2: error: endl not declared in this scope

does this not need any #includes?

I will send the gcc -v results on soon, need to reboot each time I try 

Cheers, Justin

More information about the cross-lfs mailing list