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]);
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.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk