From MAILER-DAEMON Thu Jan 20 16:57:01 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CrkIX-00064p-57
	for mharc-bug-commoncpp@gnu.org; Thu, 20 Jan 2005 16:57:01 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CrMuq-0000Fz-5l
	for bug-commoncpp@gnu.org; Wed, 19 Jan 2005 15:59:00 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CrMuk-0000E4-4Y
	for bug-commoncpp@gnu.org; Wed, 19 Jan 2005 15:58:54 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CrMui-0008Uu-LI
	for bug-commoncpp@gnu.org; Wed, 19 Jan 2005 15:58:53 -0500
Received: from [65.54.175.25] (helo=hotmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CrMY8-0006Pv-Vz
	for bug-commoncpp@gnu.org; Wed, 19 Jan 2005 15:35:33 -0500
Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC;
	Wed, 19 Jan 2005 12:35:30 -0800
Message-ID: <BAY104-F15BDCE90FE9020F398F6C1B4800@phx.gbl>
Received: from 66.126.253.2 by by104fd.bay104.hotmail.msn.com with HTTP;
	Wed, 19 Jan 2005 20:34:23 GMT
X-Originating-IP: [66.126.253.2]
X-Originating-Email: [arawinner@hotmail.com]
X-Sender: arawinner@hotmail.com
From: "Aravind Srinivasan" <arawinner@hotmail.com>
To: bug-commoncpp@gnu.org
Bcc: 
Date: Wed, 19 Jan 2005 12:34:23 -0800
Mime-Version: 1.0
Content-Type: text/plain; format=flowed
X-OriginalArrivalTime: 19 Jan 2005 20:35:30.0639 (UTC)
	FILETIME=[6ADFD5F0:01C4FE66]
X-Mailman-Approved-At: Thu, 20 Jan 2005 16:56:59 -0500
Subject: Make failure with commonC++
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 19 Jan 2005 20:59:13 -0000

Hi,

I am trying to build common C++ on Solaris 8 and am getting the following 
error. I could try messing with the HAVE_SIGWAIT2 env, but wanted to run it 
by you guys first.

Thanks

Making all in include
cd .. \
  && CONFIG_FILES= CONFIG_HEADERS=include/config.h \
     /bin/bash ./config.status
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: executing default-1 commands
make  all-recursive
Making all in cc++
Making all in src
source='thread.cpp' object='thread.lo' libtool=yes \
depfile='.deps/thread.Plo' tmpdepfile='.deps/thread.TPlo' \
depmode=gcc /bin/bash ../autoconf/depcomp \
/bin/bash ../libtool --mode=compile g++ -DHAVE_CONFIG_H  -I. -I. 
-I../include     -I../src -DCCXX_EXPORT_LIBRARY -D_REENTRANT  -D_GNU_SOURCE  
-I../include  -g -O2 -c -o thread.lo `test -f thread.cpp || echo 
'./'`thread.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY 
-D_REENTRANT -D_GNU_SOURCE -I../include -g -O2 -c thread.cpp 
-Wp,-MD,.deps/thread.TPlo  -fPIC -DPIC -o .libs/thread.o
thread.cpp: In method `void ost::PosixThread::waitSignal(int)':
/usr/include/signal.h:206: too many arguments to function `int 
sigwait(sigset_t *)'
thread.cpp:1608: at this point in file
*** Error code 1
make: Fatal error: Command failed for target `thread.lo'
Current working directory 
/home/asrinivasan/work/sol/commonC++/commoncpp2-1.3.0/src
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

_________________________________________________________________
FREE pop-up blocking with the new MSN Toolbar – get it now! 
http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/




From MAILER-DAEMON Mon Jan 24 11:30:23 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Ct76c-00049P-Fa
	for mharc-bug-commoncpp@gnu.org; Mon, 24 Jan 2005 11:30:22 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Ct72H-000318-UQ
	for bug-commoncpp@gnu.org; Mon, 24 Jan 2005 11:25:54 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Ct723-0002tT-23
	for bug-commoncpp@gnu.org; Mon, 24 Jan 2005 11:25:40 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Ct721-0002oA-1f
	for bug-commoncpp@gnu.org; Mon, 24 Jan 2005 11:25:37 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1Ct6k3-0001Hc-QU
	for bug-commoncpp@gnu.org; Mon, 24 Jan 2005 11:07:04 -0500
Received: from [192.168.10.115] (static-138-89-254-170.atc.east.verizon.net
	[138.89.254.170])
	by mail.ostel.com (Postfix) with ESMTP id D11832F2864;
	Mon, 24 Jan 2005 08:28:14 -0800 (PST)
Message-ID: <41F51D20.9080803@ostel.com>
Date: Mon, 24 Jan 2005 11:06:56 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bayonne-devel@lists.sourceforge.net, bug-commoncpp@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: craigs@postincrement.com
Subject: New GNU Common C++, ccRTP, ccAudio2 snapshot, and Bayonne testing
 releases available
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 24 Jan 2005 16:30:20 -0000

Today I released GNU Common C++ 1.3.1, the portable C++ class framework
of the GNU Project.  In addition, there is now available a 1.2.0 release
of GNU ccRTP, which is a portable threaded C++ class framework for
the RTP protocol, and GNU ccAudio2 0.2.1.

These packages are available together for easy download off sourceforge at
http://sourceforge.net/project/showfiles.php?group_id=1523&package_id=41672.
The sourceforge link includes the "cape.exe" installer for immediate use
under w32, and a "cape.pdf" class framework cross-reference manual
generated from source headers.

In addition, a new release of the testing branch of GNU Bayonne has been
made available.  This new release offers SIP support in conjunction with
GNU osip2 and adds functionality for rfc2833 dtmf digit detection.  This 
is the version that was demonstrated running SIP at the FS/OS Telephony
Summit in Germany, and operates under Mac OSX in addition to GNU/Linux.
http://sourceforge.net/project/showfiles.php?group_id=3630&package_id=94716.




From MAILER-DAEMON Thu Jan 27 13:30:22 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuEPN-00009O-FA
	for mharc-bug-commoncpp@gnu.org; Thu, 27 Jan 2005 13:30:21 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuEPL-000081-Hy
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 13:30:19 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuEKP-0007Xn-DM
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 13:25:17 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CuEKH-0007O8-Mv
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 13:25:05 -0500
Received: from [159.53.14.177] (helo=smtpext33.bankone.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuDzU-0007Eo-MP
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 13:03:36 -0500
Received: from smtpesf34.svr.bankone.net (smtpesf34.svr.bankone.net
	[155.180.133.40])
	by smtpext33.bankone.com (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j0RI3Ztt011733
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK)
	for <bug-commoncpp@gnu.org>; Thu, 27 Jan 2005 18:03:35 GMT
Received: from swilnts860.wil.fusa.com (swilnts860.wil.fusa.com
	[168.118.4.171])
	by smtpesf34.svr.bankone.net (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j0RI3Xun002577
	for <bug-commoncpp@gnu.org>; Thu, 27 Jan 2005 18:03:33 GMT
Received: from swilnts807.wil.fusa.com (unverified) by 
	swilnts860.wil.fusa.com (Content Technologies SMTPRS 4.3.14) with ESMTP
	id <T6ec0adb8c1a87604abafc@swilnts860.wil.fusa.com> for 
	<bug-commoncpp@gnu.org>; Thu, 27 Jan 2005 13:03:33 -0500
Received: from swilnts815.wil.fusa.com ([168.118.5.76]) by 
	swilnts807.wil.fusa.com with Microsoft SMTPSVC (5.0.2195.6713); Thu, 27 
	Jan 2005 13:03:32 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 27 Jan 2005 13:03:32 -0500
Message-ID: <B00865E7F7681040A7369D2F162014EB06F9B8@swilnts815.wil.fusa.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0 
	after some tweaking
Thread-Index: AcUEmoOTEVhaLNmIQfq7hu3WnS+2aA==
From: <Ronald_Horrell@bankone.com>
To: <bug-commoncpp@gnu.org>
X-OriginalArrivalTime: 27 Jan 2005 18:03:32.0977 (UTC) 
	FILETIME=[83A10610:01C5049A]
Subject: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0 after
 some tweaking
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Jan 2005 18:30:20 -0000

Hi All,
	I was finally able to successfully compile version 1.3.1 on AIX 5.2 /w Vis=
ual Age C++ after some tweaking.

System Details:

   Compiler: VisualAge C++ Compiler Version 6.0.0.5
   OS: AIX 5.2.0.0

C/C++ Flags:=20

   "-qcpluscmt" or "-+" Allows C++ comments "//" in C files. =20
   "-qlanglvl=3Dredefmac" Allows macros to be redefined without #undef "_TH=
READ_SAFE"

configure Flags:
   "--enable-static --disable-shared": Personal preference
   "--without-exceptions": Needed due to use of "dynamic_cast without RTTI"=
 error.

config.h:
   HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with memcopy d=
eclarations.

libtool:
   "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had to c=
omment out check.


	With these changes it compiles and runs successfully. =20


Note:
   The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives numer=
ous warning messages. With this compiler you would need to do "#pragma pack=
(nopack)" instead.

Thanks,
Ron Horrell


**********************************************************************
This transmission may contain information that is privileged, confidential =
and/or exempt from disclosure under applicable law. If you are not the inte=
nded recipient, you are hereby notified that any disclosure, copying, distr=
ibution, or use of the information contained herein (including any reliance=
 thereon) is STRICTLY PROHIBITED. If you received this transmission in erro=
r, please immediately contact the sender and destroy the material in its en=
tirety, whether in electronic or hard copy format. Thank you
**********************************************************************




From MAILER-DAEMON Thu Jan 27 15:02:32 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuFqZ-0002zx-Ve
	for mharc-bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:02:32 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuFqS-0002xS-OT
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:02:25 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuFqN-0002tU-Ce
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:02:19 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CuFqM-0002sU-Pv
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:02:19 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuFdw-0000xV-Ax
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 14:49:28 -0500
Received: from [192.168.10.115] (static-138-89-254-170.atc.east.verizon.net
	[138.89.254.170])
	by mail.ostel.com (Postfix) with ESMTP id 93CFC2F2874;
	Thu, 27 Jan 2005 12:11:07 -0800 (PST)
Message-ID: <41F945C2.8050806@ostel.com>
Date: Thu, 27 Jan 2005 14:49:22 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald_Horrell@bankone.com
References: <B00865E7F7681040A7369D2F162014EB06F9B8@swilnts815.wil.fusa.com>
In-Reply-To: <B00865E7F7681040A7369D2F162014EB06F9B8@swilnts815.wil.fusa.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: bug-commoncpp@gnu.org
Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0
 after some tweaking
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Jan 2005 20:02:26 -0000

The question I see is how this could be applied to the more general case 
of the distribution itself.  The HAVE_SYS_LIBCSYS_H, or inclusion of the 
associated include file could possibily be contained through a _AIX_ 
macro test, if a reliable "_AIX_" type define exists.  For example, we 
could change:

#ifdef HAVE_SYS_LIBCSYS_H
#include <sys/libcsys.h>
#endif

to a #if defined(HAVE_SYS_LIBCSYS_H) && !define(_AIX_..)

assuming a suitable define to test for can be suggested.

I wonder what we can do for dynamic_casts and rtti, though.  Of course I 
prefer not to use C++ exceptions, and none of my newest apps or libs 
based off Common C++ depend on exception handling.

As for problems in libtool, that is a question for the libtool maintainer.

#pragma pack(nopack) could also be handled by the same _AIX_... specific 
define.

We could possibily add additional compiler flag tests for aix targets 
through the "$target_os" case tests we already have in configure.ac. 
Perhaps we could also reverse the default for  --without-exceptions for 
aix under such a test.

I am curious if ccrtp and ccaudio2 also successfully build on AIX, and 
if dynamic loading of plugin components work correctly.

Ronald_Horrell@bankone.com wrote:
> Hi All,
> 	I was finally able to successfully compile version 1.3.1 on AIX 5.2 /w Visual Age C++ after some tweaking.
> 
> System Details:
> 
>    Compiler: VisualAge C++ Compiler Version 6.0.0.5
>    OS: AIX 5.2.0.0
> 
> C/C++ Flags: 
> 
>    "-qcpluscmt" or "-+" Allows C++ comments "//" in C files.  
>    "-qlanglvl=redefmac" Allows macros to be redefined without #undef "_THREAD_SAFE"
> 
> configure Flags:
>    "--enable-static --disable-shared": Personal preference
>    "--without-exceptions": Needed due to use of "dynamic_cast without RTTI" error.
> 
> config.h:
>    HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with memcopy declarations.
> 
> libtool:
>    "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had to comment out check.
> 
> 
> 	With these changes it compiles and runs successfully.  
> 
> 
> Note:
>    The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives numerous warning messages. With this compiler you would need to do "#pragma pack(nopack)" instead.
> 
> Thanks,
> Ron Horrell
> 
> 
> **********************************************************************
> This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you
> **********************************************************************
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp
> 



From MAILER-DAEMON Thu Jan 27 15:27:02 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuGEI-0002lW-9f
	for mharc-bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:27:02 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuGDJ-0002Or-S2
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:26:01 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuGCT-0002E3-62
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:25:09 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CuGCK-00027E-0g
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:25:00 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuFif-0001Qd-EP
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 14:54:21 -0500
Received: from [192.168.10.115] (static-138-89-254-170.atc.east.verizon.net
	[138.89.254.170])
	by mail.ostel.com (Postfix) with ESMTP id 9AA2B2F2874;
	Thu, 27 Jan 2005 12:16:02 -0800 (PST)
Message-ID: <41F946EA.3010904@ostel.com>
Date: Thu, 27 Jan 2005 14:54:18 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald_Horrell@bankone.com
References: <B00865E7F7681040A7369D2F162014EB06F9B8@swilnts815.wil.fusa.com>
In-Reply-To: <B00865E7F7681040A7369D2F162014EB06F9B8@swilnts815.wil.fusa.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: bug-commoncpp@gnu.org
Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0
 after some tweaking
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Jan 2005 20:27:00 -0000

I should add we need a reliablle define to test for VA compiler.  I 
believe we currently use an _AIX macro to detect and select some aix 
specific things, but I would not want to apply that macro check alone as 
some of these changes would break using gcc on aix.  The behavior of 
pragma pack(unpack), for example, is specific to the VA compiler.

Ronald_Horrell@bankone.com wrote:
> Hi All,
> 	I was finally able to successfully compile version 1.3.1 on AIX 5.2 /w Visual Age C++ after some tweaking.
> 
> System Details:
> 
>    Compiler: VisualAge C++ Compiler Version 6.0.0.5
>    OS: AIX 5.2.0.0
> 
> C/C++ Flags: 
> 
>    "-qcpluscmt" or "-+" Allows C++ comments "//" in C files.  
>    "-qlanglvl=redefmac" Allows macros to be redefined without #undef "_THREAD_SAFE"
> 
> configure Flags:
>    "--enable-static --disable-shared": Personal preference
>    "--without-exceptions": Needed due to use of "dynamic_cast without RTTI" error.
> 
> config.h:
>    HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with memcopy declarations.
> 
> libtool:
>    "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had to comment out check.
> 
> 
> 	With these changes it compiles and runs successfully.  
> 
> 
> Note:
>    The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives numerous warning messages. With this compiler you would need to do "#pragma pack(nopack)" instead.
> 
> Thanks,
> Ron Horrell
> 
> 
> **********************************************************************
> This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you
> **********************************************************************
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp
> 



From MAILER-DAEMON Thu Jan 27 15:31:14 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuGIL-0004W7-Q0
	for mharc-bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:31:13 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuGIJ-0004T9-T0
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:31:12 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuGCQ-0002Bu-V3
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:25:18 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CuGCH-00027E-VI
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:24:58 -0500
Received: from [159.53.206.177] (helo=smtpext13.bankone.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuFnr-0001lf-Km
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 14:59:43 -0500
Received: from smtpesf31.svr.bankone.net (smtpesf31.svr.bankone.net
	[155.180.133.22])
	by smtpext13.bankone.com (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j0RJxgdj001940
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK)
	for <bug-commoncpp@gnu.org>; Thu, 27 Jan 2005 19:59:43 GMT
Received: from swilnts861.wil.fusa.com (swilnts861.wil.fusa.com
	[168.118.4.173])
	by smtpesf31.svr.bankone.net (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j0RJxfcD005817
	for <bug-commoncpp@gnu.org>; Thu, 27 Jan 2005 19:59:41 GMT
Received: from swilnts807.wil.fusa.com (unverified) by swilnts861.wil.fusa.com
	(Content Technologies SMTPRS 4.3.14) with ESMTP id
	<T6ec11809bea87604ad5ec@swilnts861.wil.fusa.com>; 
	Thu, 27 Jan 2005 14:59:40 -0500
Received: from swilnts815.wil.fusa.com ([168.118.5.76]) by
	swilnts807.wil.fusa.com with Microsoft SMTPSVC(5.0.2195.6713); 
	Thu, 27 Jan 2005 14:59:40 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 27 Jan 2005 14:59:40 -0500
Message-ID: <B00865E7F7681040A7369D2F162014EB06F9B9@swilnts815.wil.fusa.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0
	after some tweaking
Thread-Index: AcUEqgAsCn4uKKDgSbygd16PRiNuqwAAEHrQ
From: <Ronald_Horrell@bankone.com>
To: <dyfet@ostel.com>
X-OriginalArrivalTime: 27 Jan 2005 19:59:40.0508 (UTC)
	FILETIME=[BC99E1C0:01C504AA]
Cc: bug-commoncpp@gnu.org
Subject: RE: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0
	after some tweaking
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Jan 2005 20:31:12 -0000

In misc.h the pragma pack is wrapped with "#if defined(__GNUC__) || =
!defined(__hpux)" but it isn't in cc++/string.h.  The easiest fix would =
be to wrap it also.

Ron

-----Original Message-----
From: David Sugar [mailto:dyfet@ostel.com]
Sent: Thursday, January 27, 2005 2:54 PM
To: Horrell, Ronald (Card Services)
Cc: bug-commoncpp@gnu.org
Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++
6.0 after some tweaking


I should add we need a reliablle define to test for VA compiler.  I=20
believe we currently use an _AIX macro to detect and select some aix=20
specific things, but I would not want to apply that macro check alone as =

some of these changes would break using gcc on aix.  The behavior of=20
pragma pack(unpack), for example, is specific to the VA compiler.

Ronald_Horrell@bankone.com wrote:
> Hi All,
> 	I was finally able to successfully compile version 1.3.1 on AIX 5.2 =
/w Visual Age C++ after some tweaking.
>=20
> System Details:
>=20
>    Compiler: VisualAge C++ Compiler Version 6.0.0.5
>    OS: AIX 5.2.0.0
>=20
> C/C++ Flags:=20
>=20
>    "-qcpluscmt" or "-+" Allows C++ comments "//" in C files. =20
>    "-qlanglvl=3Dredefmac" Allows macros to be redefined without #undef =
"_THREAD_SAFE"
>=20
> configure Flags:
>    "--enable-static --disable-shared": Personal preference
>    "--without-exceptions": Needed due to use of "dynamic_cast without =
RTTI" error.
>=20
> config.h:
>    HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with =
memcopy declarations.
>=20
> libtool:
>    "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had =
to comment out check.
>=20
>=20
> 	With these changes it compiles and runs successfully. =20
>=20
>=20
> Note:
>    The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives =
numerous warning messages. With this compiler you would need to do =
"#pragma pack(nopack)" instead.
>=20
> Thanks,
> Ron Horrell
>=20
>=20
> **********************************************************************
> This transmission may contain information that is privileged, =
confidential and/or exempt from disclosure under applicable law. If you =
are not the intended recipient, you are hereby notified that any =
disclosure, copying, distribution, or use of the information contained =
herein (including any reliance thereon) is STRICTLY PROHIBITED. If you =
received this transmission in error, please immediately contact the =
sender and destroy the material in its entirety, whether in electronic =
or hard copy format. Thank you
> **********************************************************************
>=20
>=20
>=20
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp
>=20



From MAILER-DAEMON Thu Jan 27 15:33:58 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuGKy-00071y-V5
	for mharc-bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:33:57 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuGKv-0006z1-8Z
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:33:53 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuGKo-0006wy-00
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:33:46 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CuGKn-0006tA-OO
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:33:45 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuG0W-0002jP-If
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 15:12:48 -0500
Received: from [192.168.10.115] (static-138-89-254-170.atc.east.verizon.net
	[138.89.254.170])
	by mail.ostel.com (Postfix) with ESMTP id CD96E2F2874;
	Thu, 27 Jan 2005 12:34:29 -0800 (PST)
Message-ID: <41F94B3D.2020404@ostel.com>
Date: Thu, 27 Jan 2005 15:12:45 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald_Horrell@bankone.com
References: <B00865E7F7681040A7369D2F162014EB06F9B9@swilnts815.wil.fusa.com>
In-Reply-To: <B00865E7F7681040A7369D2F162014EB06F9B9@swilnts815.wil.fusa.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: bug-commoncpp@gnu.org
Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0
 after some tweaking
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Jan 2005 20:33:54 -0000

True...looks like the only other place its needed is in string.h.  Done.

Ronald_Horrell@bankone.com wrote:
> In misc.h the pragma pack is wrapped with "#if defined(__GNUC__) || !defined(__hpux)" but it isn't in cc++/string.h.  The easiest fix would be to wrap it also.
> 
> Ron
> 
> -----Original Message-----
> From: David Sugar [mailto:dyfet@ostel.com]
> Sent: Thursday, January 27, 2005 2:54 PM
> To: Horrell, Ronald (Card Services)
> Cc: bug-commoncpp@gnu.org
> Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++
> 6.0 after some tweaking
> 
> 
> I should add we need a reliablle define to test for VA compiler.  I 
> believe we currently use an _AIX macro to detect and select some aix 
> specific things, but I would not want to apply that macro check alone as 
> some of these changes would break using gcc on aix.  The behavior of 
> pragma pack(unpack), for example, is specific to the VA compiler.
> 
> Ronald_Horrell@bankone.com wrote:
> 
>>Hi All,
>>	I was finally able to successfully compile version 1.3.1 on AIX 5.2 /w Visual Age C++ after some tweaking.
>>
>>System Details:
>>
>>   Compiler: VisualAge C++ Compiler Version 6.0.0.5
>>   OS: AIX 5.2.0.0
>>
>>C/C++ Flags: 
>>
>>   "-qcpluscmt" or "-+" Allows C++ comments "//" in C files.  
>>   "-qlanglvl=redefmac" Allows macros to be redefined without #undef "_THREAD_SAFE"
>>
>>configure Flags:
>>   "--enable-static --disable-shared": Personal preference
>>   "--without-exceptions": Needed due to use of "dynamic_cast without RTTI" error.
>>
>>config.h:
>>   HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with memcopy declarations.
>>
>>libtool:
>>   "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had to comment out check.
>>
>>
>>	With these changes it compiles and runs successfully.  
>>
>>
>>Note:
>>   The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives numerous warning messages. With this compiler you would need to do "#pragma pack(nopack)" instead.
>>
>>Thanks,
>>Ron Horrell
>>
>>
>>**********************************************************************
>>This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you
>>**********************************************************************
>>
>>
>>
>>_______________________________________________
>>Bug-commoncpp mailing list
>>Bug-commoncpp@gnu.org
>>http://lists.gnu.org/mailman/listinfo/bug-commoncpp
>>
> 
> 



From MAILER-DAEMON Thu Jan 27 16:28:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuHBz-0002HT-42
	for mharc-bug-commoncpp@gnu.org; Thu, 27 Jan 2005 16:28:43 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuH8c-0001WS-DC
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 16:25:20 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuH8J-0001KJ-HP
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 16:24:56 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CuH8J-0001K0-CJ
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 16:24:55 -0500
Received: from [159.53.206.177] (helo=smtpext13.bankone.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuGvt-00082p-P4
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 16:12:05 -0500
Received: from smtpesf34.svr.bankone.net (smtpesf34.svr.bankone.net
	[155.180.133.40])
	by smtpext13.bankone.com (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j0RLC5dj029112
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK)
	for <bug-commoncpp@gnu.org>; Thu, 27 Jan 2005 21:12:05 GMT
Received: from swilnts861.wil.fusa.com (swilnts861.wil.fusa.com
	[168.118.4.173])
	by smtpesf34.svr.bankone.net (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j0RLC3un025111
	for <bug-commoncpp@gnu.org>; Thu, 27 Jan 2005 21:12:03 GMT
Received: from swilnts807.wil.fusa.com (unverified) by 
	swilnts861.wil.fusa.com (Content Technologies SMTPRS 4.3.14) with ESMTP
	id <T6ec15a3f7fa87604adac0@swilnts861.wil.fusa.com>; Thu, 27 Jan 2005 
	16:11:59 -0500
Received: from swilnts815.wil.fusa.com ([168.118.5.76]) by 
	swilnts807.wil.fusa.com with Microsoft SMTPSVC (5.0.2195.6713); Thu, 27 
	Jan 2005 16:11:59 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.6603.0
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Date: Thu, 27 Jan 2005 16:11:59 -0500
Message-ID: <B00865E7F7681040A7369D2F162014EB06F6AB@swilnts815.wil.fusa.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0 
	after some tweaking
Thread-Index: AcUErcJXLjF3S/+UTn+O5ZVZfhp56wAAss3g
From: <Ronald_Horrell@bankone.com>
To: <dyfet@ostel.com>
X-OriginalArrivalTime: 27 Jan 2005 21:11:59.0617 (UTC) 
	FILETIME=[D6E95F10:01C504B4]
Cc: bug-commoncpp@gnu.org
Subject: RE: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0
 after some tweaking
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 27 Jan 2005 21:28:42 -0000

Here is two more items:

Believe it or not but I needed to comment out HAVE_ATOMIC_AIX.  It was caus=
ing core dumps.   I also commented out HAVE_ALLOCA_H to get rid of warning =
messages about "pragma __alloca not defined" go figure?

Bad news: my app just core dumped on an old favorite "if (th->priv->_type =
=3D=3D threadTypeDummy)":

Segmentation fault in ThreadDestructor(ost::Thread*) at line 1125 in file "=
" ($t373)
could not read "thread.cpp"
(dbx) where
ThreadDestructor(ost::Thread*)(th =3D 0x3058d428), line 1125 in "thread.cpp"
ccxx_thread_destructor(void*)(arg =3D 0x3058d428), line 1131 in "thread.cpp"
pth_key._specific_data_cleanup(??) at 0xd0067420
pth_pthread.pthread_exit(??) at 0xd0058030
ThreadExecHandler(ost::Thread*)(th =3D 0x3058d428), line 1115 in "thread.cp=
p"
ccxx_exec_handler(ost::Thread*)(th =3D 0x3058d428), line 1136 in "thread.cp=
p"
pth_pthread._pthread_body(??) at 0xd0052588

I have a few ideas on how to fix this, let me experiment a little.

Ron

-----Original Message-----
From: David Sugar [mailto:dyfet@ostel.com]
Sent: Thursday, January 27, 2005 3:13 PM
To: Horrell, Ronald (Card Services)
Cc: bug-commoncpp@gnu.org
Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++
6.0 after some tweaking


True...looks like the only other place its needed is in string.h.  Done.

Ronald_Horrell@bankone.com wrote:
> In misc.h the pragma pack is wrapped with "#if defined(__GNUC__) || !defi=
ned(__hpux)" but it isn't in cc++/string.h.  The easiest fix would be to wr=
ap it also.
>=20
> Ron
>=20
> -----Original Message-----
> From: David Sugar [mailto:dyfet@ostel.com]
> Sent: Thursday, January 27, 2005 2:54 PM
> To: Horrell, Ronald (Card Services)
> Cc: bug-commoncpp@gnu.org
> Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++
> 6.0 after some tweaking
>=20
>=20
> I should add we need a reliablle define to test for VA compiler.  I=20
> believe we currently use an _AIX macro to detect and select some aix=20
> specific things, but I would not want to apply that macro check alone as=
 > some of these changes would break using gcc on aix.  The behavior of=20
> pragma pack(unpack), for example, is specific to the VA compiler.
>=20
> Ronald_Horrell@bankone.com wrote:
>=20
>>Hi All,
>>	I was finally able to successfully compile version 1.3.1 on AIX 5.2 /w V=
isual Age C++ after some tweaking.
>>
>>System Details:
>>
>>   Compiler: VisualAge C++ Compiler Version 6.0.0.5
>>   OS: AIX 5.2.0.0
>>
>>C/C++ Flags:=20
>>
>>   "-qcpluscmt" or "-+" Allows C++ comments "//" in C files. =20
>>   "-qlanglvl=3Dredefmac" Allows macros to be redefined without #undef "_=
THREAD_SAFE"
>>
>>configure Flags:
>>   "--enable-static --disable-shared": Personal preference
>>   "--without-exceptions": Needed due to use of "dynamic_cast without RTT=
I" error.
>>
>>config.h:
>>   HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with memcopy=
 declarations.
>>
>>libtool:
>>   "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had to=
 comment out check.
>>
>>
>>	With these changes it compiles and runs successfully. =20
>>
>>
>>Note:
>>   The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives num=
erous warning messages. With this compiler you would need to do "#pragma pa=
ck(nopack)" instead.
>>
>>Thanks,
>>Ron Horrell
>>
>>
>>**********************************************************************
>>This transmission may contain information that is privileged, confidentia=
l and/or exempt from disclosure under applicable law. If you are not the in=
tended recipient, you are hereby notified that any disclosure, copying, dis=
tribution, or use of the information contained herein (including any relian=
ce thereon) is STRICTLY PROHIBITED. If you received this transmission in er=
ror, please immediately contact the sender and destroy the material in its =
entirety, whether in electronic or hard copy format. Thank you
>>**********************************************************************
>>
>>
>>
>>_______________________________________________
>>Bug-commoncpp mailing list
>>Bug-commoncpp@gnu.org
>>http://lists.gnu.org/mailman/listinfo/bug-commoncpp
>>
>=20
>=20


**********************************************************************
This transmission may contain information that is privileged, confidential =
and/or exempt from disclosure under applicable law. If you are not the inte=
nded recipient, you are hereby notified that any disclosure, copying, distr=
ibution, or use of the information contained herein (including any reliance=
 thereon) is STRICTLY PROHIBITED. If you received this transmission in erro=
r, please immediately contact the sender and destroy the material in its en=
tirety, whether in electronic or hard copy format. Thank you
**********************************************************************




From MAILER-DAEMON Thu Jan 27 22:33:11 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuMsh-00045x-Fb
	for mharc-bug-commoncpp@gnu.org; Thu, 27 Jan 2005 22:33:11 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuMse-000453-Jy
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 22:33:08 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuMr1-0003kD-5y
	for bug-commoncpp@gnu.org; Thu, 27 Jan 2005 22:31:28 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1CuMqk-0003aY-PB; Thu, 27 Jan 2005 22:31:10 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CuMRF-0001zj-LE; Thu, 27 Jan 2005 22:04:50 -0500
Received: by mail.ostel.com (Postfix, from userid 1005)
	id 0704E2F2875; Thu, 27 Jan 2005 19:26:33 -0800 (PST)
Received: from [192.168.1.99] (pool-141-150-179-151.atc.east.verizon.net
	[141.150.179.151])
	by mail.ostel.com (Postfix) with ESMTP id E9A442F2874;
	Thu, 27 Jan 2005 19:26:29 -0800 (PST)
Message-ID: <41F9ABDA.5070306@ostel.com>
Date: Thu, 27 Jan 2005 22:04:58 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla Thunderbird 0.8 (X11/20040918)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bayonne-devel@gnu.org
X-Enigmail-Version: 0.86.0.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: multipart/mixed; boundary="------------000001040801040801030807"
Cc: bug-commoncpp@gnu.org
Subject: GNU ccScript "3" released for testing tonight
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Jan 2005 03:33:09 -0000

This is a multi-part message in MIME format.
--------------000001040801040801030807
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

While not widely disclosed prior, a brand new version of the ccscript 
library has been completed this week and released tonight.  This new 
ccscript engine, libccscript3, is designed to finally overcome some of 
the major problems in past implementations of the scripting engine, as 
well as fixing issues that remained inadequately addressed in the 
testing branch and other versions.

First, there has been the question of accurate compilation.  This
problem exists in part because the language itself was never rigorously 
defined in the actual implementation because past releases of the script 
compiler did far too inadequate a job in enforcing compile time language 
checking.  While compile time checking has always been available in the 
ccscript engine, the check methods implemented were often vague and 
never updated to address the needs of enforcing syntax for specific 
commands.  ccScript3 includes complete and systematic rewrite of check 
methods and has compile time checking and enforcement of the entire 
scripting language definition.  All of the vague checking methods have 
been replaced with chk methods specific to each command.  This will 
eliminate script statements that are not valid but may seem to execute 
due to side effects, and which can crash the runtime engine.

Second, ccscript3 has a much simpler set of commands and more constant 
use of variable names and scoping rules than either prior library 
releases, or even the first attempt at simplification in the testing 
branch.  For example, the set command no longer has many odd and special 
.member effects or alternate syntaxes through keywords.  Instead, for 
example, set, init, and const now all share the same basic command 
forms, and these are enforced through compile time checks.

In addition, many commands that had odd .member directives and special 
side effects have been eliminated.  For example, the goto command no 
longer has the option to set variables as part of a goto.  Other odd and 
"overloaded" combinations of functionality held within a single command 
statement have also been eliminated. In some cases, where the same 
command was used in different ways based on .member or other things, a 
new command for the alternate functionality was instead added.  Hence, 
for example, "goto" now refers only to script labels (consistent with 
call, gosub and source), while a new "signal" command is used to invoke
a local ^handler or @xxx handler.  Again all these uses and restrictions 
are now enforced by compile time checking.

Third, many of the ideas for improving execution performance already 
tried in the testing branch have been expanded upon.  Fast branching for 
commands that jump scripts are used, and now include automatic execution 
of set, init, and const commands when not in trace mode without the need 
of explicit begin transaction blocks.  In addition, the model for script 
mutex blocking has been rewritten to eliminate unessisary recursive 
locking.  This also means much faster and simpler execution of symbol 
operations, as all mutex operations have been moved into the interp 
class through explicit public members, rather than appearing and getting 
recursivily invoked in low level operations in the symbol table class.

Many of the odd and overloaded command constructs came into existence 
because of the step execution model of ccscript.  The idea being one can 
use shortcuts by overloading key commands with multiple functions so 
different functions needed together can execute as a single step.  The 
improvements in transaction processing, and in automatic execution of 
symbol definition operations, make such overloading, already hard to 
document, completely unnecessary to improve performance.  This is also 
why the scripting language was finally able to be simplified and 
standardized in ccscript3.

Fourth, some key improvements from the testing branch were carried 
forward into ccscript3.  These include the use of script function 
definitions that can include default arguments.  Stack frames are 
automatically managed as in the testing branch, and no longer require 
explicit pop commands as was at times necessary in the base 
distribution.  The use of inherited event handlers has also been kept 
making it possible to write functions that operate as if they are 
command extensions much like the testing branch uses.

Fifth, the optional use of script "constructors", first found in the 
testing branch, have been expanded upon.  This feature eliminated the 
many of the odd preprocessor .directives found in Bayonne to initialize 
specific variables at compile time or during execution startup.  Instead 
of using an alternate preprocessor syntax, standard const and set 
statements can be used for this purpose.  As in the testing branch, if a 
program "main" directive is used, or a "module" is compiled, the 
non-label script commands contained at the start of the script are 
automatically executed to initialize variables to known values.  Unlike 
the testing branch, libccscript3 is now able to further verify and 
enforce (the testing branch only checked at runtime if the script step 
invoked states) which command statements will be allowed to initialize a 
new engine session, and these are tested at compile time.

The first real difference in ccscript3 over all past implementations is 
that it directly supports the use of threaded plugins.  These were only 
possible to build and test before entirely within Bayonne itself.  This 
means the entire system for processing databases in ccscript, for 
example, can exist and be used as a pure ccscript plugin without 
requiring Bayonne.

Being able to test plugins like database support outside of Bayonne 
means they will be much easier to code, test, and debug.  Indeed, where 
we used the testscript shell in the testing branch to support "test 
case" scripts to verify and validate the scripting engine, we can now 
write "test cases" to verify the operation and correctness of database 
operations for the first time without needing to run them from Bayonne.

One feature not carried forward from the testing branch is some of the 
extensive new support for data manipulation.  ccscript was never 
conceived of as a rigorous data manipulation language, but rather 
principally for defining call control/call flow and as an extensible 
scripting engine shell, much like for example the bash shell does. 
Things that involve complex data manipulation should be carried out in 
plugins that are invoked through the scripting language.

However, some very useful new extensions were added.  One of them is the 
ability to access and even programatically manage the new version of the 
foreach "iterative" loop operator.  The foreach can expose it's index 
through an external variable, and ^event handlers can aquire and modify 
index marks.

Another important change is that arrays and stacks no longer have a 
limit of 255 entries.  All values for management of arrays and stacks is 
now a unsigned short (64k entries).   The code for this no longer 
depends on strange offset bytes in sym->data[x], as a  special Array 
header object is now imbedded, making the coding much simpler and more 
reliable.   For this reason, the new ccscript database class uses only 
one method of returning query results; to a ccscript symbol, array, or 
stack/fifo, and the now universal foreach command can be used to iterate 
multi-row results, eliminating the need for special for.data and 
for.array stuff from older ccscript versions.

Many of the most important improvements in libccscript3 are not those 
immediately visible.  Among these was a great simplification in the code 
for managing symbols, and the new methodology for handling "call by 
reference" function arguments, which were originally done as a hack in 
the testing branch.  This new symbol by reference support replaces both 
the call by reference code in the testing branch and even the old 
ccscript alias command.  Other important changes include the 
partitioning of source files and allocation of member functions so it is 
much easier to examine and debug the libccscript3 code itself.  Also, 
the use of special ".properties" has been completely eliminated, and 
this has made symbol lookup faster since it does not have to occur 
twice.  In it's place, a special #var symbol function has been added.

Another key change is the use of sideway class inheritance.  This means 
that future Bayonne drivers will not have huge classes that inherit the 
entire script engine all the way down to the driver.  It means plugin 
extensions can be written that directly bind to the command hash table 
and have full compile time check functions, rather than using a separate 
ScriptModule class and separate linked lists for handling plugin based 
extensions.  There are now also a core set of classes that purely 
represent the script execution environment alone without any actual 
commands, language structure, check methods, or script compiler, all of 
which are separated out of the ccscript base into sideway classes linked 
together by the method pointer list that is loaded into the command 
image class.

The first release is available from ftp.gnu.org under gnu/ccscript as 
libccscript3.



--------------000001040801040801030807
Content-Type: text/x-vcard; charset=utf-8;
 name="dyfet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dyfet.vcf"

begin:vcard
fn:David Sugar
n:Sugar;David
adr:;;23 Olin Drive;Cape May Court House;NJ;22122;USA
email;internet:dyfet@ostel.com
tel;home:+1 732 302 1554
x-mozilla-html:FALSE
url:http://www.gnu.org/software/bayonne
version:2.1
end:vcard


--------------000001040801040801030807--



From MAILER-DAEMON Fri Jan 28 10:36:34 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CuYAj-0000MD-J9
	for mharc-bug-commoncpp@gnu.org; Fri, 28 Jan 2005 10:36:34 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CuYAb-0000J2-NB
	for bug-commoncpp@gnu.org; Fri, 28 Jan 2005 10:36:26 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CuYAV-0000Du-CG
	for bug-commoncpp@gnu.org; Fri, 28 Jan 2005 10:36:21 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CuYAT-0000CL-DW
	for bug-commoncpp@gnu.org; Fri, 28 Jan 2005 10:36:17 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CuXwE-00012D-LI
	for bug-commoncpp@gnu.org; Fri, 28 Jan 2005 10:21:35 -0500
Received: from [192.168.10.115] (static-138-89-254-170.atc.east.verizon.net
	[138.89.254.170])
	by mail.ostel.com (Postfix) with ESMTP id B38132F2875;
	Fri, 28 Jan 2005 07:43:21 -0800 (PST)
Message-ID: <41FA587A.8060608@ostel.com>
Date: Fri, 28 Jan 2005 10:21:30 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald_Horrell@bankone.com
References: <B00865E7F7681040A7369D2F162014EB06F6AB@swilnts815.wil.fusa.com>
In-Reply-To: <B00865E7F7681040A7369D2F162014EB06F6AB@swilnts815.wil.fusa.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: bug-commoncpp@gnu.org
Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++ 6.0
 after some tweaking
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Fri, 28 Jan 2005 15:36:28 -0000

Okay that is odd.  I thought the atomic stuff we did was correct for 
aix.  Fortunately we have not started work yet on framework classes for 
lockfree data structures in Common C++ (those require atomics...). 
Lockfree data structures is something that was proposed which I do wish 
to look at in the near future, though.

In any case I will wait to hear what progress you make.

David

Ronald_Horrell@bankone.com wrote:
> Here is two more items:
> 
> Believe it or not but I needed to comment out HAVE_ATOMIC_AIX.  It was causing core dumps.   I also commented out HAVE_ALLOCA_H to get rid of warning messages about "pragma __alloca not defined" go figure?
> 
> Bad news: my app just core dumped on an old favorite "if (th->priv->_type == threadTypeDummy)":
> 
> Segmentation fault in ThreadDestructor(ost::Thread*) at line 1125 in file "" ($t373)
> could not read "thread.cpp"
> (dbx) where
> ThreadDestructor(ost::Thread*)(th = 0x3058d428), line 1125 in "thread.cpp"
> ccxx_thread_destructor(void*)(arg = 0x3058d428), line 1131 in "thread.cpp"
> pth_key._specific_data_cleanup(??) at 0xd0067420
> pth_pthread.pthread_exit(??) at 0xd0058030
> ThreadExecHandler(ost::Thread*)(th = 0x3058d428), line 1115 in "thread.cpp"
> ccxx_exec_handler(ost::Thread*)(th = 0x3058d428), line 1136 in "thread.cpp"
> pth_pthread._pthread_body(??) at 0xd0052588
> 
> I have a few ideas on how to fix this, let me experiment a little.
> 
> Ron
> 
> -----Original Message-----
> From: David Sugar [mailto:dyfet@ostel.com]
> Sent: Thursday, January 27, 2005 3:13 PM
> To: Horrell, Ronald (Card Services)
> Cc: bug-commoncpp@gnu.org
> Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++
> 6.0 after some tweaking
> 
> 
> True...looks like the only other place its needed is in string.h.  Done.
> 
> Ronald_Horrell@bankone.com wrote:
> 
>>In misc.h the pragma pack is wrapped with "#if defined(__GNUC__) || !defined(__hpux)" but it isn't in cc++/string.h.  The easiest fix would be to wrap it also.
>>
>>Ron
>>
>>-----Original Message-----
>>From: David Sugar [mailto:dyfet@ostel.com]
>>Sent: Thursday, January 27, 2005 2:54 PM
>>To: Horrell, Ronald (Card Services)
>>Cc: bug-commoncpp@gnu.org
>>Subject: Re: Successfully compiled 1.3.1 on AIX 5.2 /w Visual Age C++
>>6.0 after some tweaking
>>
>>
>>I should add we need a reliablle define to test for VA compiler.  I 
>>believe we currently use an _AIX macro to detect and select some aix 
>>specific things, but I would not want to apply that macro check alone as > some of these changes would break using gcc on aix.  The behavior of 
>>pragma pack(unpack), for example, is specific to the VA compiler.
>>
>>Ronald_Horrell@bankone.com wrote:
>>
>>
>>>Hi All,
>>>	I was finally able to successfully compile version 1.3.1 on AIX 5.2 /w Visual Age C++ after some tweaking.
>>>
>>>System Details:
>>>
>>>  Compiler: VisualAge C++ Compiler Version 6.0.0.5
>>>  OS: AIX 5.2.0.0
>>>
>>>C/C++ Flags: 
>>>
>>>  "-qcpluscmt" or "-+" Allows C++ comments "//" in C files.  
>>>  "-qlanglvl=redefmac" Allows macros to be redefined without #undef "_THREAD_SAFE"
>>>
>>>configure Flags:
>>>  "--enable-static --disable-shared": Personal preference
>>>  "--without-exceptions": Needed due to use of "dynamic_cast without RTTI" error.
>>>
>>>config.h:
>>>  HAVE_SYS_LIBCSYS_H: Had to be commented out due to errors with memcopy declarations.
>>>
>>>libtool:
>>>  "${CC/${host}-}": "bad substitution error" (lines 904 and 1297) had to comment out check.
>>>
>>>
>>>	With these changes it compiles and runs successfully.  
>>>
>>>
>>>Note:
>>>  The VisualAge C++ Compiler doesn't like "#pragma pack()" and gives numerous warning messages. With this compiler you would need to do "#pragma pack(nopack)" instead.
>>>
>>>Thanks,
>>>Ron Horrell
>>>
>>>
>>>**********************************************************************
>>>This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you
>>>**********************************************************************
>>>
>>>
>>>
>>>_______________________________________________
>>>Bug-commoncpp mailing list
>>>Bug-commoncpp@gnu.org
>>>http://lists.gnu.org/mailman/listinfo/bug-commoncpp
>>>
>>
>>
> 
> 
> **********************************************************************
> This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you
> **********************************************************************
> 
> 



From MAILER-DAEMON Sun Jan 30 10:36:55 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CvH8B-00058O-Ah
	for mharc-bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:36:55 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CvGwF-0000sG-Ex
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:24:35 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CvGwB-0000qe-83
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:24:33 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CvGw9-0000nY-L4
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:24:30 -0500
Received: from [209.98.144.16] (helo=wilcoxon.org)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CvGjb-00056O-6O
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:11:31 -0500
Received: from [192.168.0.129] (207-195-192-9.sihope.com [207.195.192.9])
	by wilcoxon.org (Postfix) with ESMTP id 5981C6A590
	for <bug-commoncpp@gnu.org>; Sun, 30 Jan 2005 09:23:23 -0600 (CST)
From: Scot Wilcoxon <Scot@Wilcoxon.Org>
To: bug-commoncpp@gnu.org
Content-Type: text/plain
Organization: 
Message-Id: <1107097741.3619.11.camel@doc>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 (1.2.2-5) 
Date: 30 Jan 2005 09:09:02 -0600
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sun, 30 Jan 2005 10:36:53 -0500
Subject: CommonC++ autoconf use?
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Jan 2005 15:24:39 -0000

What is the current method for using CommonC++ with autoconf?
In trying to follow the CommonC++2 1.0 document "Automake Services", I
found several of the configure.ac "AM_*" macros are not defined.

Configure emits:
...
checking dependency style of g++... gcc3
./configure: line 2677: syntax error near unexpected token `1.0.0'
./configure: line 2677: `OST_CCXX2_VERSION(1.0.0)'

I tried quoting "1.0.0" in several ways, and placing ost_check2.m4 in
various directories (the reference to "your project's autoconf "m4"
directory" is quite ambiguous).




From MAILER-DAEMON Sun Jan 30 10:55:38 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CvHQH-0001rT-V2
	for mharc-bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:55:38 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CvHQA-0001oy-SU
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:55:31 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CvHQ4-0001m6-C5
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:55:25 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CvHQ3-0001iw-Fc
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:55:23 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CvH95-0006sH-2A
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 10:37:51 -0500
Received: from [192.168.1.101] (pool-141-150-179-151.atc.east.verizon.net
	[141.150.179.151])
	by mail.ostel.com (Postfix) with ESMTP id 347B22F286D;
	Sun, 30 Jan 2005 07:59:54 -0800 (PST)
Message-ID: <41FCFF4C.6080800@ostel.com>
Date: Sun, 30 Jan 2005 10:37:48 -0500
From: David Sugar <dyfet@ostel.com>
Organization: GNU Project
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Scot Wilcoxon <Scot@Wilcoxon.Org>
References: <1107097741.3619.11.camel@doc>
In-Reply-To: <1107097741.3619.11.camel@doc>
Content-Type: multipart/mixed; boundary="------------060107040003070901060809"
Cc: bug-commoncpp@gnu.org
Subject: Re: CommonC++ autoconf use?
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Jan 2005 15:55:33 -0000

This is a multi-part message in MIME format.
--------------060107040003070901060809
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Well, I usually just use something like:

REQUIRES="1.1.2"
OST_CCXX2_VERSION([$REQUIRES])

and assuming aclocal is passed a -I directory path where the 
ost_check2.m4 file lives, all should be happy.

However, very recently (starting with 1.3.0) we have been experimenting 
with pkgconfig as well.  With pkgconfig, a .pc file is used.  The 
problem I am finding is that the pkg_xxx macros do NOT search for 
pkgconfig files in the prefix path you might set in configure, but only 
in the original install directory prefix that pkgconfig was itself 
installed under.  This lead to some creative coding in configure.ac like:

if test -z "$PKG_CONFIG_PATH" ; then
         PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"
fi

if test "$prefix" != "NONE" ; then
         PKG_CONFIG_PATH="$prefix/lib/pkgconfig:$PKG_CONFIG_PATH"
fi

export PKG_CONFIG_PATH

PKG_CHECK_MODULES(COMMON, libccgnu2 >= 1.3.1)
CXXFLAGS="$CXXFLAGS $COMMON_CFLAGS"
COMMON_LIBPATH=`pkg-config --variable=libdir libccgnu2`
LIBS="$LIBS -L$COMMON_LIBPATH $COMMON_LIBS"
COMMON_MODFLAGS=`pkg-config --variable=modflags libccgnu2`
AC_SUBST(COMMON_MODFLAGS)

Scot Wilcoxon wrote:
> What is the current method for using CommonC++ with autoconf?
> In trying to follow the CommonC++2 1.0 document "Automake Services", I
> found several of the configure.ac "AM_*" macros are not defined.
> 
> Configure emits:
> ...
> checking dependency style of g++... gcc3
> ./configure: line 2677: syntax error near unexpected token `1.0.0'
> ./configure: line 2677: `OST_CCXX2_VERSION(1.0.0)'
> 
> I tried quoting "1.0.0" in several ways, and placing ost_check2.m4 in
> various directories (the reference to "your project's autoconf "m4"
> directory" is quite ambiguous).
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp

--------------060107040003070901060809
Content-Type: text/x-vcard; charset=utf-8;
 name="dyfet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dyfet.vcf"

begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Project
adr:;;23 Olin Drive;Cape May Court House;NJ;08210;USA
email;internet:dyfet@ostel.com
tel;home:1 609 465 5336
tel;cell:1 908 917 6084
x-mozilla-html:FALSE
url:http://www.ostel.com
version:2.1
end:vcard


--------------060107040003070901060809--



From MAILER-DAEMON Sun Jan 30 17:37:15 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CvNgw-0001EZ-Uq
	for mharc-bug-commoncpp@gnu.org; Sun, 30 Jan 2005 17:37:15 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CvLjA-0008GY-2l
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 15:31:24 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CvLiq-00086q-Px
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 15:31:05 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CvLiq-00086J-Hw
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 15:31:04 -0500
Received: from [64.246.50.101] (helo=arg0.net)
	by monty-python.gnu.org with smtp (Exim 4.34) id 1CvLVD-0004xL-An
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 15:16:59 -0500
Received: (qmail 23678 invoked from network); 30 Jan 2005 20:16:56 -0000
Received: from rackshack.net (HELO ?192.168.1.100?) (127.0.0.1)
	by rackshack.net with SMTP; 30 Jan 2005 20:16:56 -0000
Message-ID: <41FD40B1.6060501@pobox.com>
Date: Sun, 30 Jan 2005 21:16:49 +0100
From: Valient Gough <vgough@pobox.com>
User-Agent: Mozilla Thunderbird 1.0 (X11/20041207)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
X-Enigmail-Version: 0.89.6.0
X-Enigmail-Supports: pgp-inline, pgp-mime
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Sun, 30 Jan 2005 17:37:13 -0500
Subject: gcc atomic word
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Jan 2005 20:31:43 -0000


I didn't see a link for archives of this list, so I don't know if this 
has been discussed.

I have uploaded a patch to commoncpp2-1.3.1 which adds support for gcc's 
_Atomic_word counter (in bits/atomicity.h).
Changes:

- m4/ost_pthread.m4 is modified to check for support
- configure.ac is modified to specify C++ as the language to use for 
tests (I don't know why it wasn't already, since this is a C++ library)
- include/cc++/thread.h and src/mutex.cpp are modified with the 
implementation.

I've only verified that it correctly detects support for my compiler and 
builds, nothing more.

regards,
Valient




From MAILER-DAEMON Sun Jan 30 18:00:20 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CvO3I-0001m5-LX
	for mharc-bug-commoncpp@gnu.org; Sun, 30 Jan 2005 18:00:20 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CvNxh-0000Nj-IX
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 17:54:37 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CvNxW-0000IV-2N
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 17:54:24 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1CvNxV-0000H0-Rc
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 17:54:21 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1CvNjg-0004Q2-Ve
	for bug-commoncpp@gnu.org; Sun, 30 Jan 2005 17:40:05 -0500
Received: from [192.168.1.101] (pool-141-150-179-151.atc.east.verizon.net
	[141.150.179.151])
	by mail.ostel.com (Postfix) with ESMTP id 607EA2F2884;
	Sun, 30 Jan 2005 15:02:08 -0800 (PST)
Message-ID: <41FD6241.4080703@ostel.com>
Date: Sun, 30 Jan 2005 17:40:01 -0500
From: David Sugar <dyfet@ostel.com>
Organization: GNU Project
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Valient Gough <vgough@pobox.com>
References: <41FD40B1.6060501@pobox.com>
In-Reply-To: <41FD40B1.6060501@pobox.com>
Content-Type: multipart/mixed; boundary="------------010200070705010305050202"
Cc: bug-commoncpp@gnu.org
Subject: Re: gcc atomic word
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Sun, 30 Jan 2005 23:00:17 -0000

This is a multi-part message in MIME format.
--------------010200070705010305050202
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

This sounds very interesting, and I would like to see if we can add it 
for the next point release.  One area I have been thinking of is adding 
support for lockfree data structures.  Whether we work with an existing 
lockfree library or not, I would like to get our detection and use of 
atomic operations in Common C++ clean enough so that we can look at 
making at least some of the core Common C++ classes which currently rely 
on mutex locks optionally able to use atomic lockfree algorithms. 
Functional atomic counter operations seem a good place to start.

Valient Gough wrote:
> 
> I didn't see a link for archives of this list, so I don't know if this 
> has been discussed.
> 
> I have uploaded a patch to commoncpp2-1.3.1 which adds support for gcc's 
> _Atomic_word counter (in bits/atomicity.h).
> Changes:
> 
> - m4/ost_pthread.m4 is modified to check for support
> - configure.ac is modified to specify C++ as the language to use for 
> tests (I don't know why it wasn't already, since this is a C++ library)
> - include/cc++/thread.h and src/mutex.cpp are modified with the 
> implementation.
> 
> I've only verified that it correctly detects support for my compiler and 
> builds, nothing more.
> 
> regards,
> Valient
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp

--------------010200070705010305050202
Content-Type: text/x-vcard; charset=utf-8;
 name="dyfet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dyfet.vcf"

begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Project
adr:;;23 Olin Drive;Cape May Court House;NJ;08210;USA
email;internet:dyfet@ostel.com
tel;home:1 609 465 5336
tel;cell:1 908 917 6084
x-mozilla-html:FALSE
url:http://www.ostel.com
version:2.1
end:vcard


--------------010200070705010305050202--



From MAILER-DAEMON Mon Jan 31 23:23:34 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1CvpZd-0005mw-25
	for mharc-bug-commoncpp@gnu.org; Mon, 31 Jan 2005 23:23:34 -0500
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1CvpZX-0005lb-QA
	for bug-commoncpp@gnu.org; Mon, 31 Jan 2005 23:23:28 -0500
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1CvpZU-0005kH-In
	for bug-commoncpp@gnu.org; Mon, 31 Jan 2005 23:23:26 -0500
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1CvpZI-0005bQ-GF; Mon, 31 Jan 2005 23:23:12 -0500
Received: from [216.218.222.122] (helo=mail.ostel.com)
	by monty-python.gnu.org with esmtp (Exim 4.34)
	id 1CvpIh-0000wy-1V; Mon, 31 Jan 2005 23:06:03 -0500
Received: from [192.168.1.101] (pool-141-150-179-151.atc.east.verizon.net
	[141.150.179.151])
	by mail.ostel.com (Postfix) with ESMTP id 94E492F2873;
	Mon, 31 Jan 2005 20:28:16 -0800 (PST)
Message-ID: <41FF0026.6070701@ostel.com>
Date: Mon, 31 Jan 2005 23:05:58 -0500
From: David Sugar <dyfet@ostel.com>
Organization: GNU Project
User-Agent: Mozilla Thunderbird 1.0 (Macintosh/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org, ccrtp-development <ccrtp-devel@gnu.org>,
	Aymeric Moizard <jack@atosc.org>, bayonne-devel@gnu.org,
	contact@savoirfairelinux.com
Content-Type: multipart/mixed; boundary="------------030902060206000509070003"
Cc: laurielle.lea@savoirfairelinux.com
Subject: SFLPhone
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 01 Feb 2005 04:23:31 -0000

This is a multi-part message in MIME format.
--------------030902060206000509070003
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

I came across an interesting project people may want to check out. 
Apparently there is a new portable softphone client that is built from 
GNU Common C++, ccRTP, and osip2.  It can be found at 
http://www.sflphone.org.  I may have to start using this as a test 
client along with our recent success with SIP in Bayonne.

--------------030902060206000509070003
Content-Type: text/x-vcard; charset=utf-8;
 name="dyfet.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="dyfet.vcf"

begin:vcard
fn:David Sugar
n:Sugar;David
org:GNU Project
adr:;;23 Olin Drive;Cape May Court House;NJ;08210;USA
email;internet:dyfet@ostel.com
tel;home:1 609 465 5336
tel;cell:1 908 917 6084
x-mozilla-html:FALSE
url:http://www.ostel.com
version:2.1
end:vcard


--------------030902060206000509070003--



