$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Jens Maurer (Jens.Maurer_at_[hidden])
Date: 2001-01-21 15:10:58
John Maddock wrote:
>
> > Anyone can help me compile this?
>
> I tried this with mingw32 + STLPort and see similar problems; it appears to
> not like the line:
>
> std::string out_name(std::string(argv[i]) + std::string(".htm"));
gcc seems to interpret this as a declaration of a function named "out_name",
returning std::string and .... then failing.
> Try replacing this with:
>
> std::string out_name(argv[i]);
> out_name.append(".htm");
std::string out_name = std::string(argv[i]) + std::string(".htm");
works as well, and is much nicer to the eye.
I've fixed it in the CVS.
Jens Maurer