Compiling With Borland C++ Builder And DEBUG
"Alexander J. Oss" <[email protected]> Mon, 16 Jun 2003 12:56:16 -0400
| Newsgroups | gmane.comp.gcc.cgicc.bugs |
|---|---|
| Message-ID | <[email protected]> |
I've found a few things during compilation of cgicc from today's CVS that
look like they could use some fixing.
1. In CgiUtils.h, LOGLN is #defined to dump s and STDNS endl, but I think
STDNS has gone away to be replaced by std::.
2. On lines 159 and 174 of CgiEnvironment.cpp, as well as a number of
places in FormEntry.cpp, atol() and atof() are used without std::.
3. The return statement in CgiInput::getenv() has a string and a char * on
either side of the colon, which Borland complains about ("two operands must
evaluate to the same type") but I think that's a Borland bug since I believe
the standard allows different when one can convert to the other. I just put
the second operand in a string constructor ("string(var)") to make it
explicit.
Pretty minor stuff!