[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings From BCB5
From: |
Alexander J. Oss |
Subject: |
Re: Warnings From BCB5 |
Date: |
Wed, 20 Feb 2002 21:20:58 -0500 |
I didn't have the VERSION, HOST, toupper and isspace problems you mentioned.
I didn't think that configure scripts were available for win32... just for
Linux/Unix users, which can run shell scripts. But I'm not sure.
----- Original Message -----
From: "Piotr Dobrogost" <"address@hidden"@poczta.onet.pl>
To: <address@hidden>
Sent: Wednesday, February 20, 2002 3:03 PM
Subject: Re: Warnings From BCB5
-- Piotr Dobrogost
On Thu, 14 Feb 2002, Edward Diener wrote:
> Yes, this is a bug in BCB5 and has been discussed on the BCB language NG.
> The fix for it in FormEntry.h is to add these lines after line 42, which
> is "#include <cfloat>,
>
> #ifdef WIN32
> #ifdef __BORLANDC__
> #include <float.h>
> #endif
> #endif
After making this change the code should compile without adding "std::"
prefix before DBL_MAX as it's not in std namespace anymore. But it
doesn't. I had to add std:: before DBL_MAX. I don't get it.
I had a very strange problem regarding defines VERSION and HOST used in
file cgicc.cpp and defiend in CgiDefs.h - I've got "Undefiend symbol..."
errors.
I had to also prefix calls to isspace and toupper with std::.
I didn't run any configure or similar script before compiling though.
Include guards mustn't start with underscore which is reserved for
compiler/library vendor.
Bottom line - we need more support from users of BCB line...
Regards,
Piotr Dobrogost
--
Okresl Swoje potrzeby - my znajdziemy oferte za Ciebie!
[ http://oferty.onet.pl ]
_______________________________________________
help-cgicc mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-cgicc