unable to make install under cygwin

Angelo Fraietta angelo_f at bigpond.com
Wed Mar 12 21:38:49 UTC 2003


Ralf Corsepius wrote:

>Am Mit, 2003-03-12 um 05.08 schrieb Angelo Fraietta:
>
>><snip>
>>
>>and I was successfully able to build and run the hello world example
>>The libcpp project did not build
>>
>This is something else, more details (logs) please.
>
There was a compile error firstly because the function read in fool.h

friend ostream& operator << (ostream&,const foo&);

I placed
using std::ostream
to fix this compile error

After this, a compile error occurred stating
friend ostream& operator << (ostream&,const foo&, const foo&);

must take exactly two arguments. I commented out the function and then 
in foo.cpp removed the second parameter.
This then Built.

I have attached the two modified files for you.

-- 
Angelo Fraietta

PO Box 859
Hamilton NSW 2303

Home Page


http://www.users.bigpond.com/angelo_f/

There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
    Bernard of Clairvaux (1090 - 1153)


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20030313/3cdbb66f/attachment-0001.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: foo1.cpp
URL: <http://lists.rtems.org/pipermail/users/attachments/20030313/3cdbb66f/attachment-0001.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: foo.h
URL: <http://lists.rtems.org/pipermail/users/attachments/20030313/3cdbb66f/attachment-0001.h>


More information about the users mailing list