dbTalk Databases Forums  

ALPHA RELEASE: v2.1.0.alpha3

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


Discuss ALPHA RELEASE: v2.1.0.alpha3 in the mailing.database.mysql-plusplus forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Warren Young
 
Posts: n/a

Default ALPHA RELEASE: v2.1.0.alpha3 - 03-04-2006 , 03:24 AM






I wouldn't have released this one so soon, if it wasn't for the
potentially destructive uninstall target in the previous version.
Hopefully I'll slow down from releasing tarballs every day.

So, changes since alpha2:

- Fixed uninstall target; will no longer erase *.h files belonging to
other packages.

- Got it working on OS X

- Thread handling works correctly for autoconf target now

- Applied Waba's custom.pl correctness patches

- Applied Viktor Stark's multiple static member SSQLS patch

As always, you can download it at http://tangentsoft.net/mysql++/

--
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
  #2  
Old   
Chris Frey
 
Posts: n/a

Default Re: ALPHA RELEASE: v2.1.0.alpha3 - 03-04-2006 , 03:16 PM






On Sat, Mar 04, 2006 at 02:23:51AM -0700, Warren Young wrote:
Quote:
- Applied Viktor Stark's multiple static member SSQLS patch
Was just playing with the new gcc 4.1.0 and giving mysql++ a test compile,
and it spit out this new warning:

.../lib/custom.h:18:31: warning: ISO C does not permit named variadic macros

That line is:

#ifdef MYSQLPP_SSQLS_NO_STATICS
#define MYSQLPP_SSQLS_EXPAND(a...)
#else
#define MYSQLPP_SSQLS_EXPAND(a...) a <--- here
#endif

This probably doesn't matter if it works on all our supported compilers,
just thought I'd mention it.

- 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
  #3  
Old   
Matt Dargavel
 
Posts: n/a

Default Re: ALPHA RELEASE: v2.1.0.alpha3 - 03-06-2006 , 03:56 AM



--------------060909010605050602070007
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi Chris / Warren.

Just to let you know that when I applied the SSQLS statics patch
on version 2.0.7 and then built it using Visual C++ it didn't like the
macro Chris mentions below. In Visual C I think you have to use the
macro __VA_ARGS__. I've attached the code I've used below in case it's
useful.

Regards,

Matt.


#ifdef MYSQLPP_SSQLS_NO_STATICS
#ifdef _MSC_VER
#define MYSQLPP_SSQLS_EXPAND(...)
#else
#define MYSQLPP_SSQLS_EXPAND(a...)
#endif
#else
#ifdef _MSC_VER
#define MYSQLPP_SSQLS_EXPAND(...) __VA_ARGS__
#else
#define MYSQLPP_SSQLS_EXPAND(a...) a
#endif
#endif


Chris Frey wrote:
Quote:
On Sat, Mar 04, 2006 at 02:23:51AM -0700, Warren Young wrote:

- Applied Viktor Stark's multiple static member SSQLS patch


Was just playing with the new gcc 4.1.0 and giving mysql++ a test compile,
and it spit out this new warning:

../lib/custom.h:18:31: warning: ISO C does not permit named variadic macros

That line is:

#ifdef MYSQLPP_SSQLS_NO_STATICS
#define MYSQLPP_SSQLS_EXPAND(a...)
#else
#define MYSQLPP_SSQLS_EXPAND(a...) a <--- here
#endif

This probably doesn't matter if it works on all our supported compilers,
just thought I'd mention it.

- Chris




--

================================================== ====
*Matthew Dargavel*
Software Engineer
Shout Telecoms Ltd
shout-telecoms.com <http://www.shout-telecoms.com>

Tel: +44 (0) 1243 573111
Fax: +44 (0) 1243 573777

This message is intended only for the use of the person(s) ("the
intended recipient(s)") to whom it is addressed. It may contain
information which is privileged and confidential within the meaning of
applicable law. If you are not the intended recipient, please contact
the sender as soon as possible. The views expressed in this
communication may not necessarily be the views held by Shout Telecoms Ltd.


--------------060909010605050602070007--


Reply With Quote
  #4  
Old   
Warren Young
 
Posts: n/a

Default Re: ALPHA RELEASE: v2.1.0.alpha3 - 03-06-2006 , 11:32 AM



Matt Dargavel wrote:
Quote:
Just to let you know that when I applied the SSQLS statics patch
on version 2.0.7 and then built it using Visual C++ it didn't like the
macro Chris mentions below. In Visual C I think you have to use the
macro __VA_ARGS__. I've attached the code I've used below in case it's
useful.
It turns out that the __VA_ARGS__ syntax is the correct one for all
compliant compilers. The named argument form is a GNU extension to cpp,
but apparently the compiler proper no longer supports that feature.
It's okay, we don't really need it.

Here's some documentation that covers this issue, for the curious:

http://www.redhat.com/docs/manuals/e...ic-macros.html

--
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.