From MAILER-DAEMON Fri Jul 01 09:03:42 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoLBG-0008P7-G2
	for mharc-bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:03:42 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoLBE-0008OR-MN
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:03:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoLBC-0008NQ-HC
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:03:40 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoL9S-0007CB-B4
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:01:50 -0400
Received: from [64.233.170.204] (helo=rproxy.gmail.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoKvu-0002Vg-Mj
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 08:47:50 -0400
Received: by rproxy.gmail.com with SMTP id y7so283630rne
	for <bug-commoncpp@gnu.org>; Fri, 01 Jul 2005 05:42:32 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type;
	b=SPf8IJWiVCfsICGnk2gkBLgUShactEOUXlp40C2WBarppOWLB4Wc59Om/HqLkR05JgVj5m8TXH5XRiIvoBs6rKsuiZWKmthb8xn1r5ko4eQdbXLzeVaqkHIDgJaUdTE9I+rhFtHW+uDBJ/zIPyFFlU86TFSP7M2xnsuAqzD08X8=
Received: by 10.38.65.5 with SMTP id n5mr999306rna;
	Fri, 01 Jul 2005 05:42:32 -0700 (PDT)
Received: by 10.39.3.69 with HTTP; Fri, 1 Jul 2005 05:42:32 -0700 (PDT)
Message-ID: <d3f9ec9f050701054276c10ae9@mail.gmail.com>
Date: Fri, 1 Jul 2005 16:42:32 +0400
From: Migel Nick <mignick@gmail.com>
To: bug-commoncpp@gnu.org
Mime-Version: 1.0
Content-Type: multipart/mixed; 
	boundary="----=_Part_760_21890872.1120221752443"
Subject: bug in String class
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: Migel Nick <mignick@gmail.com>
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, 01 Jul 2005 13:03:40 -0000

------=_Part_760_21890872.1120221752443
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi!

I think there is a bug in string.cpp in commoncpp2-1.3.12 and
previous versions.

size_t String::setSize(size_t chars)
{
  if(chars <=3D minsize && !isBig())
    return minsize;

  if(chars <=3D slotlimit)
  {
    chars =3D chars / slotsize;
    ++chars *=3D slotsize; //!!! HERE !!!
    // if (chars % slotsize =3D=3D 0) you don't need allocate additional
    // slotsize. And in case when length of original string equals 511
    // bytes it will core dumped in clear().   =20
  }
  content.bigstring.size =3D chars;
  return chars;
}

void String::clear(void)
{
  char **next;
  unsigned slot;

  if(!isBig())
    goto end;

  if(!content.bigstring.text)
    goto end;

  // the length of origial string equals 511 bytes + '\0' =3D 512 bytes
  // and it allocated from pool not a heap, but due to error in
  // setSize  getSize() returned 544.
  if(getSize() > slotlimit) !!! HERE !!!
  {
    delete[] content.bigstring.text;
    goto end;
  }

  slot =3D ((unsigned)getSize() - 1) / slotsize;
  next =3D (char **)content.bigstring.text;
  mutex.enterMutex();
  *next =3D idx[slot];
  idx[slot] =3D content.bigstring.text;
  setLength(0);
  content.bigstring.text =3D NULL;
  mutex.leaveMutex();

end:
  init();
  return;
}


Patch is attached.

Nick Migel

------=_Part_760_21890872.1120221752443
Content-Type: text/plain; name="string.patch"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="string.patch"

LS0tIHN0cmluZy5jcHAJMjAwNS0wNy0wMSAxNjoyNTowOS40ODgzNzUyMDAgKzA0MDAKKysrIHN0
cmluZy5jcHAub3JpZwkyMDA1LTA3LTAxIDE2OjI0OjQwLjIxMjgyNTc2MCArMDQwMApAQCAtNzU3
LDEyICs3NTcsMTEgQEAKIAlpZihjaGFycyA8PSBtaW5zaXplICYmICFpc0JpZygpKQogCQlyZXR1
cm4gbWluc2l6ZTsKIAotICBpZihjaGFycyA8PSBzbG90bGltaXQpCi0gIHsKLSAgICBzaXplX3Qg
c2xvdGNvdW50ID0gY2hhcnMgLyBzbG90c2l6ZTsKLSAgICBpZigoY2hhcnMgJSBzbG90c2l6ZSkh
PTApICsrc2xvdGNvdW50OwotICAgIGNoYXJzID0gc2xvdGNvdW50KnNsb3RzaXplOwotICB9CisJ
aWYoY2hhcnMgPD0gc2xvdGxpbWl0KQorCXsKKwkJY2hhcnMgPSBjaGFycyAvIHNsb3RzaXplOwor
CQkrK2NoYXJzICo9IHNsb3RzaXplOworCX0KIAljb250ZW50LmJpZ3N0cmluZy5zaXplID0gY2hh
cnM7CiAJcmV0dXJuIGNoYXJzOwogfQo=
------=_Part_760_21890872.1120221752443--



From MAILER-DAEMON Fri Jul 01 09:38:45 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoLjA-0002I5-4I
	for mharc-bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:38:44 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoLiz-0002D9-68
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:38:33 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoLiv-0002Aa-15
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:38:30 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoLiu-0001po-6U
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:38:28 -0400
Received: from [63.208.196.171] (helo=outbound.mailhop.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DoLbu-0006pN-7L
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 09:31:14 -0400
Received: from pool-138-89-247-176.atc.east.verizon.net ([138.89.247.176]
	helo=[192.168.1.111])
	by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.51) id 1DoLWl-000M3g-I2; Fri, 01 Jul 2005 09:25:55 -0400
Message-ID: <42C54462.3090202@ostel.com>
Date: Fri, 01 Jul 2005 09:25:54 -0400
From: David Sugar <dyfet@ostel.com>
Organization: GNU Telephony
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Migel Nick <mignick@gmail.com>
References: <d3f9ec9f050701054276c10ae9@mail.gmail.com>
In-Reply-To: <d3f9ec9f050701054276c10ae9@mail.gmail.com>
Content-Type: multipart/mixed; boundary="------------020300010202070907070108"
X-Mail-Handler: MailHop Outbound by DynDNS.org
X-Originating-IP: 138.89.247.176
X-Report-Abuse-To: abuse@dyndns.org (see
	http://www.mailhop.org/outbound/abuse.html for abuse reporting
	information)
X-MHO-User: dyfet
Cc: bug-commoncpp@gnu.org
Subject: Re: bug in String class
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dyfet@gnutelephony.org
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, 01 Jul 2005 13:38:35 -0000

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

I think your right.

Migel Nick wrote:
> Hi!
> 
> I think there is a bug in string.cpp in commoncpp2-1.3.12 and
> previous versions.
> 
> size_t String::setSize(size_t chars)
> {
>   if(chars <= minsize && !isBig())
>     return minsize;
> 
>   if(chars <= slotlimit)
>   {
>     chars = chars / slotsize;
>     ++chars *= slotsize; //!!! HERE !!!
>     // if (chars % slotsize == 0) you don't need allocate additional
>     // slotsize. And in case when length of original string equals 511
>     // bytes it will core dumped in clear().    
>   }
>   content.bigstring.size = chars;
>   return chars;
> }
> 
> void String::clear(void)
> {
>   char **next;
>   unsigned slot;
> 
>   if(!isBig())
>     goto end;
> 
>   if(!content.bigstring.text)
>     goto end;
> 
>   // the length of origial string equals 511 bytes + '\0' = 512 bytes
>   // and it allocated from pool not a heap, but due to error in
>   // setSize  getSize() returned 544.
>   if(getSize() > slotlimit) !!! HERE !!!
>   {
>     delete[] content.bigstring.text;
>     goto end;
>   }
> 
>   slot = ((unsigned)getSize() - 1) / slotsize;
>   next = (char **)content.bigstring.text;
>   mutex.enterMutex();
>   *next = idx[slot];
>   idx[slot] = content.bigstring.text;
>   setLength(0);
>   content.bigstring.text = NULL;
>   mutex.leaveMutex();
> 
> end:
>   init();
>   return;
> }
> 
> 
> Patch is attached.
> 
> Nick Migel
> 
> 
> ------------------------------------------------------------------------
> 
> --- string.cpp	2005-07-01 16:25:09.488375200 +0400
> +++ string.cpp.orig	2005-07-01 16:24:40.212825760 +0400
> @@ -757,12 +757,11 @@
>  	if(chars <= minsize && !isBig())
>  		return minsize;
>  
> -  if(chars <= slotlimit)
> -  {
> -    size_t slotcount = chars / slotsize;
> -    if((chars % slotsize)!=0) ++slotcount;
> -    chars = slotcount*slotsize;
> -  }
> +	if(chars <= slotlimit)
> +	{
> +		chars = chars / slotsize;
> +		++chars *= slotsize;
> +	}
>  	content.bigstring.size = chars;
>  	return chars;
>  }
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp

--------------020300010202070907070108
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 Telephony
adr:;;;;;;USA
email;internet:dyfet@gnutelephony.org
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard


--------------020300010202070907070108--



From MAILER-DAEMON Fri Jul 01 14:57:59 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DoQi7-0003or-R0
	for mharc-bug-commoncpp@gnu.org; Fri, 01 Jul 2005 14:57:59 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DoMwP-0001I1-90
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 10:56:30 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DoMwI-0001FG-Qj
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 10:56:24 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DoMwH-0001Ac-Ss
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 10:56:21 -0400
Received: from [194.153.150.18] (helo=hermes.brodosmit.de)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DoMvA-0000qV-Fl
	for bug-commoncpp@gnu.org; Fri, 01 Jul 2005 10:55:12 -0400
Received: from ASSP (localhost [127.0.0.1])
	by hermes.brodosmit.de (Postfix) with ESMTP id 1ED432551D
	for <bug-commoncpp@gnu.org>; Fri,  1 Jul 2005 16:49:41 +0200 (CEST)
Received: from 172.17.4.170 ([172.17.4.170] helo=[172.17.4.170]) by ASSP ;
	1 Jul 05 14:49:41 -0000
Message-ID: <42C55804.5020106@brodos.de>
Date: Fri, 01 Jul 2005 16:49:40 +0200
From: Alexander Sahler <alexander.sahler@brodos.de>
Organization: Brodos AG
User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050317)
X-Accept-Language: de-DE, de, en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Fri, 01 Jul 2005 14:57:58 -0400
Subject: URLStream and HTTP/202 response code
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, 01 Jul 2005 14:56:33 -0000

Hi.

I found that URLStream class is not able to deal with HTTP/202 response 
code. It would be nice if an application programm could inquire the HTTP 
response code rather than a self defined status code of CommonC++ (or at 
least CommonC++ should recognize response code 'groups' like '2?? is 
success', '4?? is error' a.s.o. )

Is somethin like this going to be available in the future?

Alexander.

-- 
| Dr.-Ing. Alexander Sahler                                        |
| Application Manager / Cashup  mailto:alexander.sahler@brodos.de  |
| Brodos AG                     fon: +49 9133-7770-4280            |
| 91083 Baiersdorf              http://www.brodos.de               |






From MAILER-DAEMON Thu Jul 07 15:15:43 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqbqZ-00036d-FQ
	for mharc-bug-commoncpp@gnu.org; Thu, 07 Jul 2005 15:15:43 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqbU3-0004BD-5k
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 14:52:27 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqbTu-000462-Bd
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 14:52:18 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqbTr-00040G-QU
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 14:52:15 -0400
Received: from [159.53.46.167] (helo=smtpext53.bankone.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqbQi-0005U0-0s
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 14:49:00 -0400
Received: from smtpesf14.svr.bankone.net (smtpesf14.svr.bankone.net
	[155.180.200.167])
	by smtpext53.bankone.com (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j67IgEDP025093
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK)
	for <bug-commoncpp@gnu.org>; Thu, 7 Jul 2005 18:42:15 GMT
Received: from swilnts860.wil.fusa.com (swilnts860.wil.fusa.com
	[168.118.4.171])
	by smtpesf14.svr.bankone.net (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j67IgDcF028036
	for <bug-commoncpp@gnu.org>; Thu, 7 Jul 2005 18:42:13 GMT
Received: from swilnts807.wil.fusa.com (unverified) by 
	swilnts860.wil.fusa.com (Content Technologies SMTPRS 4.3.17) with ESMTP
	id <T71fe27eb57a87604ab11d4@swilnts860.wil.fusa.com>; Thu, 7 Jul 2005 
	14:42:13 -0400
Received: from swilnts815.wil.fusa.com ([168.118.5.76]) by 
	swilnts807.wil.fusa.com with Microsoft SMTPSVC (5.0.2195.6713); Thu, 7 
	Jul 2005 14:42:13 -0400
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, 7 Jul 2005 14:42:12 -0400
Message-ID: <B00865E7F7681040A7369D2F162014EB06F748@swilnts815.wil.fusa.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: bug in String class
Thread-Index: AcV+QvpDWdL4R1WURLmohGiOydlzewE3ubIg
From: <Ronald.Horrell@chase.com>
To: <dyfet@gnutelephony.org>
X-OriginalArrivalTime: 07 Jul 2005 18:42:13.0431 (UTC) 
	FILETIME=[973BF470:01C58323]
X-Mailman-Approved-At: Thu, 07 Jul 2005 15:15:42 -0400
Cc: bug-commoncpp@gnu.org
Subject: Build errors on AIX 5.2 with VisualAge C++
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, 07 Jul 2005 18:52:28 -0000

FYI,
	I was able to successfully compile commoncpp2-1.3.13 on AIX using VisualAg=
e C++ after some minor tweaking:

* include/cc++/string.h -- line 114 "#pragma pack()" wasn't liked, pack req=
uires a value, I commented out the pack statements. (I have seen this in ea=
rlier versions as well)

* ./include/cc++/config.h & ./include/config.h -- I had to manually comment=
 out HAVE_STRINGS_H.  Configure finds and accepts strings.h but when it is =
included it produces numerous errors.


Here are some system Details:

AIX 5.2.0.0

Compiler
  Fileset                      Level  State  Type  Description (Uninstaller)
  -------------------------------------------------------------------------=
---
  vacpp.cmp.core             6.0.0.5    C     F    VisualAge C++ Compiler



**********************************************************************
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 Jul 07 22:00:36 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DqiAM-0007pA-LI
	for mharc-bug-commoncpp@gnu.org; Thu, 07 Jul 2005 22:00:34 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DqiAB-0007j2-Sv
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 22:00:24 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DqiA8-0007g6-35
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 22:00:20 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DqiA5-0007a8-WE
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 22:00:18 -0400
Received: from [63.208.196.171] (helo=outbound.mailhop.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Dqi77-0000f8-Ua
	for bug-commoncpp@gnu.org; Thu, 07 Jul 2005 21:57:14 -0400
Received: from pool-138-89-247-176.atc.east.verizon.net ([138.89.247.176]
	helo=[192.168.1.111])
	by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.51) id 1Dqi0V-000J8v-FB; Thu, 07 Jul 2005 21:50:23 -0400
Message-ID: <42CDDBDE.10904@ostel.com>
Date: Thu, 07 Jul 2005 21:50:22 -0400
From: David Sugar <dyfet@ostel.com>
Organization: GNU Telephony
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald.Horrell@chase.com
References: <B00865E7F7681040A7369D2F162014EB06F748@swilnts815.wil.fusa.com>
In-Reply-To: <B00865E7F7681040A7369D2F162014EB06F748@swilnts815.wil.fusa.com>
Content-Type: multipart/mixed; boundary="------------090003050000020000080007"
X-Mail-Handler: MailHop Outbound by DynDNS.org
X-Originating-IP: 138.89.247.176
X-Report-Abuse-To: abuse@dyndns.org (see
	http://www.mailhop.org/outbound/abuse.html for abuse reporting
	information)
X-MHO-User: dyfet
Cc: dyfet@gnutelephony.org, bug-commoncpp@gnu.org
Subject: Re: Build errors on AIX 5.2 with VisualAge C++
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dyfet@gnutelephony.org
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, 08 Jul 2005 02:00:27 -0000

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

Would something like #if !defined(_AIX) || defined(__GNUC__) work?

Ronald.Horrell@chase.com wrote:
> FYI,
> 	I was able to successfully compile commoncpp2-1.3.13 on AIX using VisualAge C++ after some minor tweaking:
> 
> * include/cc++/string.h -- line 114 "#pragma pack()" wasn't liked, pack requires a value, I commented out the pack statements. (I have seen this in earlier versions as well)
> 
> * ./include/cc++/config.h & ./include/config.h -- I had to manually comment out HAVE_STRINGS_H.  Configure finds and accepts strings.h but when it is included it produces numerous errors.
> 
> 
> Here are some system Details:
> 
> AIX 5.2.0.0
> 
> Compiler
>   Fileset                      Level  State  Type  Description (Uninstaller)
>   ----------------------------------------------------------------------------
>   vacpp.cmp.core             6.0.0.5    C     F    VisualAge C++ Compiler
> 
> 
> 
> **********************************************************************
> 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
> 

--------------090003050000020000080007
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 Telephony
adr:;;;;;;USA
email;internet:dyfet@gnutelephony.org
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard


--------------090003050000020000080007--



From MAILER-DAEMON Fri Jul 08 10:32:13 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Dqtq2-0004SX-Ro
	for mharc-bug-commoncpp@gnu.org; Fri, 08 Jul 2005 10:28:22 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1Dqtpo-0004LC-4E
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 10:28:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1Dqtpa-0004EH-QP
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 10:27:58 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1Dqtpa-0004CI-60
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 10:27:54 -0400
Received: from [159.53.46.167] (helo=smtpext53.bankone.com)
	by monty-python.gnu.org with esmtp (Exim 4.34) id 1DqtpO-0007ND-K4
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 10:27:42 -0400
Received: from smtpesf31.svr.bankone.net (smtpesf31.svr.bankone.net
	[155.180.133.22])
	by smtpext53.bankone.com (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j68EKkDP010747
	(version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK)
	for <bug-commoncpp@gnu.org>; Fri, 8 Jul 2005 14:20:46 GMT
Received: from selgnts860.elg.fusa.com (selgnts860.elg.fusa.com
	[167.85.16.193])
	by smtpesf31.svr.bankone.net (Switch-3.1.3/Switch-3.1.0) with ESMTP id
	j68EKiB0023171
	for <bug-commoncpp@gnu.org>; Fri, 8 Jul 2005 14:20:44 GMT
Received: from swilnts807.wil.fusa.com (unverified) by selgnts860.elg.fusa.com
	(Content Technologies SMTPRS 4.3.17) with ESMTP id
	<T720227e3e4a75510c11084@selgnts860.elg.fusa.com>; 
	Fri, 8 Jul 2005 09:20:40 -0500
Received: from swilnts815.wil.fusa.com ([168.118.5.76]) by
	swilnts807.wil.fusa.com with Microsoft SMTPSVC(5.0.2195.6713); 
	Fri, 8 Jul 2005 10:20:39 -0400
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: Fri, 8 Jul 2005 10:20:39 -0400
Message-ID: <B00865E7F7681040A7369D2F162014EBF9D880@swilnts815.wil.fusa.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Build errors on AIX 5.2 with VisualAge C++
Thread-Index: AcWDX3pIYpfwtd7pTBK/0PGcb/PZpQAaAHhQ
From: <Ronald.Horrell@chase.com>
To: <dyfet@gnutelephony.org>
X-OriginalArrivalTime: 08 Jul 2005 14:20:39.0773 (UTC)
	FILETIME=[377F88D0:01C583C8]
Cc: bug-commoncpp@gnu.org
Subject: RE: Build errors on AIX 5.2 with VisualAge C++
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, 08 Jul 2005 14:28:15 -0000

This works but there is also a "__hpux" condition already there.  =
string.h:

     93 #if defined(__GNUC__) || !defined(_AIX) && !defined(__hpux)
     94 #pragma pack(1)
     95 #endif
     96=20
     97     union
     98     {
     99         struct
    100         {
    101             char *text;
    102             size_t size;
    103             size_t length;
    104         }   bigstring;
    105         struct
    106         {
    107             char text[(sizeof(char *) + (sizeof(size_t) * 2) + =
1)];
    108             char length : 6;
    109             bool big : 1;
    110         }   ministring;
    111     }   content;
    112=20
    113 #if defined(__GNUC__) || !defined(_AIX) && !defined(__hpux)
    114 #pragma pack()
    115 #endif=20

-----Original Message-----
From: David Sugar [mailto:dyfet@ostel.com]
Sent: Thursday, July 07, 2005 9:50 PM
To: Horrell, Ronald (Card Services)
Cc: dyfet@gnutelephony.org; bug-commoncpp@gnu.org
Subject: Re: Build errors on AIX 5.2 with VisualAge C++


Would something like #if !defined(_AIX) || defined(__GNUC__) work?

Ronald.Horrell@chase.com wrote:
> FYI,
> 	I was able to successfully compile commoncpp2-1.3.13 on AIX using =
VisualAge C++ after some minor tweaking:
>=20
> * include/cc++/string.h -- line 114 "#pragma pack()" wasn't liked, =
pack requires a value, I commented out the pack statements. (I have seen =
this in earlier versions as well)
>=20
> * ./include/cc++/config.h & ./include/config.h -- I had to manually =
comment out HAVE_STRINGS_H.  Configure finds and accepts strings.h but =
when it is included it produces numerous errors.
>=20
>=20
> Here are some system Details:
>=20
> AIX 5.2.0.0
>=20
> Compiler
>   Fileset                      Level  State  Type  Description =
(Uninstaller)
>   =
-------------------------------------------------------------------------=
---
>   vacpp.cmp.core             6.0.0.5    C     F    VisualAge C++ =
Compiler
>=20
>=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 Fri Jul 08 11:11:07 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DquVP-0006Yt-5q
	for mharc-bug-commoncpp@gnu.org; Fri, 08 Jul 2005 11:11:07 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DquVM-0006YH-4W
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 11:11:04 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DquVL-0006Xu-5I
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 11:11:03 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DquUh-00063q-8z
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 11:10:23 -0400
Received: from [63.208.196.171] (helo=outbound.mailhop.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DquDG-000178-Pm
	for bug-commoncpp@gnu.org; Fri, 08 Jul 2005 10:52:22 -0400
Received: from pool-138-89-247-176.atc.east.verizon.net ([138.89.247.176]
	helo=[192.168.1.111])
	by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.51) id 1Dqu6X-0008Et-NP; Fri, 08 Jul 2005 10:45:25 -0400
Message-ID: <42CE9185.6050109@ostel.com>
Date: Fri, 08 Jul 2005 10:45:25 -0400
From: David Sugar <dyfet@ostel.com>
Organization: GNU Telephony
User-Agent: Mozilla Thunderbird 1.0.2 (Macintosh/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald.Horrell@chase.com
References: <B00865E7F7681040A7369D2F162014EBF9D880@swilnts815.wil.fusa.com>
In-Reply-To: <B00865E7F7681040A7369D2F162014EBF9D880@swilnts815.wil.fusa.com>
Content-Type: multipart/mixed; boundary="------------010004040202050605010806"
X-Mail-Handler: MailHop Outbound by DynDNS.org
X-Originating-IP: 138.89.247.176
X-Report-Abuse-To: abuse@dyndns.org (see
	http://www.mailhop.org/outbound/abuse.html for abuse reporting
	information)
X-MHO-User: dyfet
Cc: dyfet@gnutelephony.org, bug-commoncpp@gnu.org
Subject: Re: Build errors on AIX 5.2 with VisualAge C++
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dyfet@gnutelephony.org
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, 08 Jul 2005 15:11:04 -0000

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

I may try adding something in cc++/config.h then, more like:

#ifdef	__GNUC__
#define	CCXX_PACKED
#else
#if !defined(_AIX) && !defined(__hpux)
#define	CCXX_PACKED
#endif
#endif

And then use a #ifdef CCXX_PACKED for things like that in other headers 
and such...

Ronald.Horrell@chase.com wrote:
> This works but there is also a "__hpux" condition already there.  string.h:
> 
>      93 #if defined(__GNUC__) || !defined(_AIX) && !defined(__hpux)
>      94 #pragma pack(1)
>      95 #endif
>      96 
>      97     union
>      98     {
>      99         struct
>     100         {
>     101             char *text;
>     102             size_t size;
>     103             size_t length;
>     104         }   bigstring;
>     105         struct
>     106         {
>     107             char text[(sizeof(char *) + (sizeof(size_t) * 2) + 1)];
>     108             char length : 6;
>     109             bool big : 1;
>     110         }   ministring;
>     111     }   content;
>     112 
>     113 #if defined(__GNUC__) || !defined(_AIX) && !defined(__hpux)
>     114 #pragma pack()
>     115 #endif 
> 
> -----Original Message-----
> From: David Sugar [mailto:dyfet@ostel.com]
> Sent: Thursday, July 07, 2005 9:50 PM
> To: Horrell, Ronald (Card Services)
> Cc: dyfet@gnutelephony.org; bug-commoncpp@gnu.org
> Subject: Re: Build errors on AIX 5.2 with VisualAge C++
> 
> 
> Would something like #if !defined(_AIX) || defined(__GNUC__) work?
> 
> Ronald.Horrell@chase.com wrote:
> 
>>FYI,
>>	I was able to successfully compile commoncpp2-1.3.13 on AIX using VisualAge C++ after some minor tweaking:
>>
>>* include/cc++/string.h -- line 114 "#pragma pack()" wasn't liked, pack requires a value, I commented out the pack statements. (I have seen this in earlier versions as well)
>>
>>* ./include/cc++/config.h & ./include/config.h -- I had to manually comment out HAVE_STRINGS_H.  Configure finds and accepts strings.h but when it is included it produces numerous errors.
>>
>>
>>Here are some system Details:
>>
>>AIX 5.2.0.0
>>
>>Compiler
>>  Fileset                      Level  State  Type  Description (Uninstaller)
>>  ----------------------------------------------------------------------------
>>  vacpp.cmp.core             6.0.0.5    C     F    VisualAge C++ Compiler
>>
>>
>>
>>**********************************************************************
>>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
>>
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-commoncpp
> 

--------------010004040202050605010806
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 Telephony
adr:;;;;;;USA
email;internet:dyfet@gnutelephony.org
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard


--------------010004040202050605010806--



From MAILER-DAEMON Tue Jul 26 12:24:15 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DxSE3-0001ME-Lg
	for mharc-bug-commoncpp@gnu.org; Tue, 26 Jul 2005 12:24:15 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DxRHa-0001i2-LJ
	for bug-commoncpp@gnu.org; Tue, 26 Jul 2005 11:23:50 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1DxRHQ-0001X6-5C
	for bug-commoncpp@gnu.org; Tue, 26 Jul 2005 11:23:40 -0400
Received: from [18.7.7.80] (helo=biscayne-one-station.mit.edu)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1DxR8H-00034A-AG
	for bug-commoncpp@gnu.org; Tue, 26 Jul 2005 11:14:13 -0400
Received: from outgoing.mit.edu (OUTGOING-AUTH.MIT.EDU [18.7.22.103])
	by biscayne-one-station.mit.edu (8.12.4/8.9.2) with ESMTP id
	j6QF332t028839; Tue, 26 Jul 2005 11:03:03 -0400 (EDT)
Received: from [131.122.81.224] (USNA-ZVDGS00OPR.ew.usna.edu [131.122.81.224])
	(authenticated bits=0)
	(User authenticated as rcortesi@ATHENA.MIT.EDU)
	by outgoing.mit.edu (8.13.1/8.12.4) with ESMTP id j6QF2th4003827
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
	Tue, 26 Jul 2005 11:02:56 -0400 (EDT)
Message-ID: <42E650A0.4070708@mit.edu>
Date: Tue, 26 Jul 2005 11:02:56 -0400
From: Roger Cortesi <rcortesi@MIT.EDU>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
X-Spam-Score: -2.099
X-Scanned-By: MIMEDefang 2.42
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Tue, 26 Jul 2005 12:24:13 -0400
Cc: rcortesi@mit.edu
Subject: installing CommonC++2-1.3.9 on arm board
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, 26 Jul 2005 15:23:53 -0000

Hi there, I hope this is the appropriate forum.

I'm trying to install the GNU Commom C++ Library on an ARM
board to take advantage of the serial port rountines in it.

The arm aboard is running debian

I have to cross compile it on a cygwin system because the arm
is really slow at compiling.

I'm trying to use Commoncpp2-1.3.9

on the cygwin box I ran:

./configure --target=arm --prefix=/blaablaa blaa
make
make install

I copied the the *.h files to /usr/include/cc++
and the *.lo files to /usr/lib/cc++

Then I ran "ldconfig" to update the linker cache

Now on the ARM board I wrote a simple test c++ program

-----
#include <iostream>
#include <cc++/serial.h>
using namespace std;

int main(void)
{
    count << "Hello Roger, I'm testing the serial.h lib\n";
    TTYSession("/dev/ttyS0",1,5);
    return 0;
}
------

I realize that my use of TTYSession is likely dorked up, but
if that was my only compile problem I would be ok.

So when I tried to compile it with g++ got the error that

in cc++/config.h "bits/atomicity.h" Not Found!

So some digging in config.h and I find on line 229
#define HAVE_BITS_ATOMIC_H 1
with a comment that says set to 1 one if you have this file.
I have set this to 0

and further down on line 262
----
#define HAVE_GCC_CXX_BITS_ATOMIC 1
----
I commented out this line and uncommented
----
#undef HAVE_GCC_BITS_ATOMIC
----

And then on line 1051
----
#if defined(HAVE_GCC_BITS_ATOMIC) || defined(HAVE_GCC_CXX_BIT_ATOMIC)
#include <bits/atomicity.h>
#define HAVE_ATOMIC
#endif
----

So this file should not be included any more

but now when I complile I get these errors:

----
In file included from /usr/include/cc++/missing.h:42,
                 from /usr/include/cc++/serial.h:47,
                 from test.cpp:2:
/usr/include/cc++/config.h:817: conflicting types for `typedef int 
socklen_t'
/usr/include/unistd.h:247: previous declaration as `typedef __socklen_t 
socklen_t'
In file included from /usr/include/cc++/serial.h:51,
                 from test.cpp:2:
/usr/include/cc++/thread.h:327: syntax error before `;'
test.cpp: In function `int main()':
test.cpp:9: implicit declaration of function `int TTYSession(...)'
----

what is up with the conflicting typedef for socklen_t? should the one in 
unistd.h also be an int?

Any thoughts on that syntax error in thread.h line 327/

Here is the code from thread.h
----
326    #ifdef HAVE_PTHREAD_RWLOCK
327        pthread_RWLOCK_T _lock;
328    #else
329        Mutex mutex;
330    #endif
---

sorry this is so long and thanks for any help/insight you can offer.

roger



From MAILER-DAEMON Sun Jul 31 08:02:56 2005
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1DzCWs-000141-Tv
	for mharc-bug-commoncpp@gnu.org; Sun, 31 Jul 2005 08:02:55 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1DzCWn-000124-WA
	for bug-commoncpp@gnu.org; Sun, 31 Jul 2005 08:02:50 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1DzCWl-000111-DH
	for bug-commoncpp@gnu.org; Sun, 31 Jul 2005 08:02:47 -0400
Received: from [199.232.76.173] (helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1DzCWa-0000eY-II; Sun, 31 Jul 2005 08:02:36 -0400
Received: from [63.208.196.171] (helo=outbound.mailhop.org)
	by monty-python.gnu.org with esmtp
	(TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34)
	id 1DzCNE-0008PA-Oc; Sun, 31 Jul 2005 07:52:56 -0400
Received: from pool-138-89-247-176.atc.east.verizon.net ([138.89.247.176]
	helo=[192.168.1.111])
	by outbound.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256)
	(Exim 4.51) id 1DzCBM-0008Dk-0P; Sun, 31 Jul 2005 07:40:40 -0400
Message-ID: <42ECB8B7.7030807@ostel.com>
Date: Sun, 31 Jul 2005 07:40:39 -0400
From: David Sugar <dyfet@ostel.com>
Organization: GNU Telephony
User-Agent: Mozilla Thunderbird 1.0.5 (Macintosh/20050711)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: mailing_list_bayonne-devel <bayonne-devel@gnu.org>, 
	Common C++ mailing list <bug-commoncpp@gnu.org>
Content-Type: multipart/mixed; boundary="------------040706020800030908010401"
X-Mail-Handler: MailHop Outbound by DynDNS.org
X-Originating-IP: 138.89.247.176
X-Report-Abuse-To: abuse@dyndns.org (see
	http://www.mailhop.org/outbound/abuse.html for abuse reporting
	information)
X-MHO-User: dyfet
Cc: 
Subject: An update about ccscript3 and ccaudio2
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
Reply-To: dyfet@gnutelephony.org
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, 31 Jul 2005 12:02:52 -0000

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

I think ccscript3 is essentially complete at this point.  The primary 
reason it remains at 0.7.x rather than 1.0 is twofold.  First, I would 
not be surprised to find some additional minor issues in ccscript3 as 
bayonne development goes forward.  But the second reason is that until a 
rpl server, like Troll, is completed and tested, I do not know what 
issues may remain to be found in ripple.  I suspect there will be some 
ripple issues requiring updates in ccscript3.  I do not think there will 
be any new major release versions, however, and once a ripple server is 
tested out, ccscript3 will be released as 1.0.

ccAudio2 requires a lot of additional work.  This includes more codecs, 
completing container support for mp3 and ogg, and full duplex audio for 
w32, os/x, and alsa support in addition to oss.  In short there are a 
lot of open issues in ccaudio2, and really it has the minimum features 
and functionaly needed to support Bayonne2.  The audio soundcard support 
for multiple targets would be nice to complete, as there are already 
softphone clients built around ccrtp, and it would be nice for them to 
be able to use ccaudio2 for a portable audio subsystem.  Other parts 
would be nice to complete for a variety of reasons.  Most issues in 
ccaudio2 I either do not have time to investigate at the moment, or the 
knowledge on how to make some of the different sound systems work fully.

--------------040706020800030908010401
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 Telephony
adr:;;;;;;USA
email;internet:dyfet@gnutelephony.org
x-mozilla-html:FALSE
url:http://www.gnutelephony.org
version:2.1
end:vcard


--------------040706020800030908010401--



