List:MySQL++« Previous MessageNext Message »
From:Chris Frey Date:January 27 2006 5:51pm
Subject:Re: Build Errors - Borland
View as plain text  
On Mon, Jan 23, 2006 at 09:48:51AM -0800, Frederic Laruelle wrote:
> I am getting the following build errors when trying to compile the simple1
> or simple2 examples with Borland BDS 2006:
> 
>  
> 
> [C++ Error] convert.h(109): E2268 Call to undefined function 'strtoll'
> 
> [C++ Error] convert.h(110): E2268 Call to undefined function 'strtoull'

You'll have to find equivalent functions like these in Borland, or if you
can't, modify the code to disable the larger sizes when compiling with
Borland.  The first method is preferrable.


> [C++ Error] null.h(150): E2468 Value of type void is not allowed
> 
> [C++ Error] null.h(177): E2466 void & is not a valid type
> 
> [C++ Error] null.h(203): E2466 void & is not a valid type
> 
> [C++ Error] null.h(214): E2466 void & is not a valid type

There is a specialization of the NULL template for void, but it is inside
the DOXYGEN_IGNORE define.  You might want to make sure that it is
compiling properly.  See the null.h header for more details.


> [C++ Error] null.h(248): E2238 Multiple declaration for
> 'Null<void,NullisNull>::Null(const null_type &)'
> 
> [C++ Error] null.h(191): E2344 Earlier declaration of
> 'Null<void,NullisNull>::Null(const null_type &)'
> 
> [C++ Error] null.h(254): E2238 Multiple declaration for
> 'Null<void,NullisNull>::operator =(const null_type &)'
> 
> [C++ Error] null.h(225): E2344 Earlier declaration of
> 'Null<void,NullisNull>::operator =(const null_type &)'

Ok, this indicates you are compiling the specialization.  Does Borland
support template specializations?  Partial template specializations?

- Chris

Thread
Build Errors - BorlandFrederic Laruelle23 Jan
Re: Build Errors - BorlandChris Frey27 Jan