On Thu, Dec 30, 1999 at 02:40:46AM +1100, Andy Farkas wrote:
> In file included from include/PortMgr.h:29,
>                  from Connection.cc:33:
> include/LevelStat.h:55: invalid type `const char[1]' for default argument
> to `const String &'
..snip..
> The "offending" code looks like this:
>     ostream &print(ostream &os, const String &pfx = "") const;

What is the prototype for this function?  Hint take a look.  You have bad
(ie, now invalid by stricter compilers) C++ code.


> When I did a 'touch Connection.o ; make' it compiled another source file
> that included PortMgr.h / LevelStat.h just fine, but bombed out elsewhere!

I can't even fathom what you expected to accomplish by this.
Are you a programmer?

-- 
-- David    ([EMAIL PROTECTED])


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to