[Live-devel] Compile issue with 2004.02.09 code

Duncan Hill live at nacnud.force9.co.uk
Thu Feb 12 15:57:05 PST 2004


On Thursday 12 February 2004 15:33, Clark N. Taylor wrote:
> I found the same problem when compiling on Solaris.  This is what I did
> to fix it.
>
> The "<<" function is defined in
> BasicUsageEnvironment/BasicUsageEnvironment.cpp.  This is the only thing
> that points to cerr.
>
> I changed those functions to the following (don't remember what it was
> before...):
>
> UsageEnvironment& BasicUsageEnvironment::operator<<(char const* str) {
>   fprintf (stderr,"%s",str);
>     return *this;
> }

:(

BasicUsageEnvironment.cpp: In member function `virtual UsageEnvironment&
   BasicUsageEnvironment::operator<<(const char*)':
BasicUsageEnvironment.cpp:83: error: `stderr' undeclared (first use this
   function)

Thanks for the try though.


More information about the live-devel mailing list