dbTalk Databases Forums  

Build Errors - Borland

mailing.database.mysql-plusplus mailing.database.mysql-plusplus


Discuss Build Errors - Borland in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Frederic Laruelle
 
Posts: n/a

Default Build Errors - Borland - 01-23-2006 , 11:49 AM






------=_NextPart_000_0000_01C62002.38645240
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit

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'

[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

[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>:perator =(const null_type &)'

[C++ Error] null.h(225): E2344 Earlier declaration of
'Null<void,NullisNull>:perator =(const null_type &)'



Compiled the MySQL++ into a library without problem, added both binary lib
and header files to project,

Also added Mysqllib.lib to the project and mysql header files (using MYSQL
5).



Any help would be appreciated.



Fred.




------=_NextPart_000_0000_01C62002.38645240--


Reply With Quote
  #2  
Old   
Chris Frey
 
Posts: n/a

Default Re: Build Errors - Borland - 01-27-2006 , 11:51 AM






On Mon, Jan 23, 2006 at 09:48:51AM -0800, Frederic Laruelle wrote:
Quote:
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.


Quote:
[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.


Quote:
[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>:perator =(const null_type &)'

[C++ Error] null.h(225): E2344 Earlier declaration of
'Null<void,NullisNull>:perator =(const null_type &)'
Ok, this indicates you are compiling the specialization. Does Borland
support template specializations? Partial template specializations?

- Chris


--
MySQL++ Mailing List
For list archives: http://lists.mysql.com/plusplus
To unsubscribe: http://lists.mysql.com/plusplus?unsu...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.