[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Warnings From BCB5
From: |
Piotr Dobrogost |
Subject: |
Re: Warnings From BCB5 |
Date: |
Wed, 20 Feb 2002 21:03:43 +0100 (Central European Standard Time) |
-- 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 ]