From MAILER-DAEMON Sat Mar 01 10:43:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p98N-0004ZZ-00
	for mharc-bug-commoncpp@gnu.org; Sat, 01 Mar 2003 10:42:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18oc70-0000C6-00
	for bug-commoncpp@gnu.org; Thu, 27 Feb 2003 23:27:06 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18oc5P-00089e-00
	for bug-commoncpp@gnu.org; Thu, 27 Feb 2003 23:25:31 -0500
Received: from is1.mh.itc.u-tokyo.ac.jp ([133.11.205.11])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18oc57-0007jG-00
	for bug-commoncpp@gnu.org; Thu, 27 Feb 2003 23:25:09 -0500
Received: from is1.mh.itc.u-tokyo.ac.jp (is1.mh.itc.u-tokyo.ac.jp [127.0.0.1])
	by is1.mh.itc.u-tokyo.ac.jp (Postfix) with ESMTP id 53BF521811C
	for <bug-commoncpp@gnu.org>; Fri, 28 Feb 2003 13:25:05 +0900 (JST)
Received: from mailhosting.itc.u-tokyo.ac.jp
	(IDENT:mirapoint@mailhosting.itc.u-tokyo.ac.jp [133.11.205.3])
	h1S4P5c27528;	Fri, 28 Feb 2003 13:25:05 +0900
Received: from [127.0.0.1] (aurora.sat.t.u-tokyo.ac.jp [133.11.135.151])
	2.9.3.2)	with ESMTP id AHY96280;
	Fri, 28 Feb 2003 13:25:04 +0900 (JST)
Date: Fri, 28 Feb 2003 13:24:56 +0900
From: Makino Takaki <t-commoncpp@snowelm.com>
To: bug-commoncpp@gnu.org
Message-Id: <20030228132301.165A.T-COMMONCPP@snowelm.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Becky! ver. 2.05.04
X-Mailman-Approved-At: Sat, 01 Mar 2003 10:42:41 -0500
Subject: Patch for Cygwin environment
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 28 Feb 2003 04:27:20 -0000

Dear commonc++ developers,

I'd like to post a patch to make commonc++2 compilable in a latest
Cygwin environment on Windows.  It seems that the commonc++2 package
cannot be compiled via configure script on current Cygwin release.
I hope that the patch helps development of this excellent library.

The following patch is to fix the compilation error for pthread
emulation of Cygwin. It would be more efficient if I could make use of
native Win32 API, but it seems a lot of patching effort...
I confirmed the patch on Cygwin 1.3.19 and commoncpp2 1.0.8.  

The changes are:
 * Remove !defined(__CYGWIN32__) from #if surronding PosixThread class.
 * Disabled PosixThread::waitSignal when sigwait() is not available. I'm
   not sure why sigwait() is disabled on Cygwin, and I don't know
   what workaround is available for it.  Anyway it seems working happily
   without PosixThread::waitSignal member function.
 * Added some stuff for socklen_t.  Current configure script cannot find
   socklen_t in Cygwin; socklen_t is #define'd under cygwin/socket.h,
   but configure applies EGREP_HEADER to only sys/socket.h.  Though my
   patch for this problem may be too naive...

Best regards,
-- 
Makino Takaki <t-commoncpp@snowelm.com>

diff -c -r commoncpp2-1.0.8/acconfig.h commoncpp2-1.0.8mak/acconfig.h
*** commoncpp2-1.0.8/acconfig.h	Thu Jan 23 23:34:01 2003
--- commoncpp2-1.0.8mak/acconfig.h	Fri Feb 28 11:18:00 2003
***************
*** 40,45 ****
--- 40,46 ----
  #undef HAVE_LONG_LONG
  #undef HAVE_64_BITS
  #undef HAVE_SYS_TYPES_H
+ #undef HAVE_SIGWAIT
  #undef HAVE_SIGWAIT2
  #undef HAVE_SIGACTION
  #undef HAVE_BSD_SIGNAL_H
diff -c -r commoncpp2-1.0.8/include/cc++/thread.h commoncpp2-1.0.8mak/include/cc++/thread.h
*** commoncpp2-1.0.8/include/cc++/thread.h	Thu Jan  9 23:34:55 2003
--- commoncpp2-1.0.8mak/include/cc++/thread.h	Fri Feb 28 01:29:48 2003
***************
*** 1402,1408 ****
  /** @relates Thread */
  CCXX_EXPORT(void) setException(Thread::Throw mode);
  
! #if !defined(WIN32) && !defined(__CYGWIN32__)  && !defined(__MINGW32__)
  typedef	int		signo_t;
  
  class PosixThread: public Thread
--- 1402,1408 ----
  /** @relates Thread */
  CCXX_EXPORT(void) setException(Thread::Throw mode);
  
! #if !defined(WIN32) && !defined(__MINGW32__)
  typedef	int		signo_t;
  
  class PosixThread: public Thread
diff -c -r commoncpp2-1.0.8/m4/ost_signal.m4 commoncpp2-1.0.8mak/m4/ost_signal.m4
*** commoncpp2-1.0.8/m4/ost_signal.m4	Fri Feb 22 19:11:37 2002
--- commoncpp2-1.0.8mak/m4/ost_signal.m4	Fri Feb 28 11:17:43 2003
***************
*** 23,28 ****
--- 23,29 ----
  	AC_REQUIRE([OST_SYS_POSIX])
  	AC_CHECK_FUNCS(sigaction)
  	AC_CHECK_FUNCS(setitimer)
+ 	AC_CHECK_FUNCS(sigwait)
  	AC_CHECK_HEADERS(bsd/signal.h)
  	AC_TYPE_SIGNAL
  	AC_CACHE_CHECK(whether sigwait has 2 arguments,
Only in commoncpp2-1.0.8/src: ccgnu2-config
diff -c -r commoncpp2-1.0.8/src/thread.cpp commoncpp2-1.0.8mak/src/thread.cpp
*** commoncpp2-1.0.8/src/thread.cpp	Thu Jan 23 23:33:55 2003
--- commoncpp2-1.0.8mak/src/thread.cpp	Fri Feb 28 02:39:08 2003
***************
*** 1353,1358 ****
--- 1353,1359 ----
  #endif
  }
  
+ #ifdef HAVE_SIGWAIT
  void	PosixThread::waitSignal(signo_t signo)
  {
  	sigset_t	mask;
***************
*** 1365,1370 ****
--- 1366,1372 ----
  	sigwait(&mask, &signo);
  #endif
  }
+ #endif
  
  void	PosixThread::setSignal(int signo, bool mode)
  {
diff -c -r commoncpp2-1.0.8/include/config.h.in commoncpp2-1.0.8mak/include/config.h.in
*** commoncpp2-1.0.8/include/config.h.in	Sun Jan 26 21:51:16 2003
--- commoncpp2-1.0.8mak/include/config.h.in	Fri Feb 28 11:58:15 2003
***************
*** 646,651 ****
--- 646,655 ----
  #endif
  #endif
  
+ #ifdef socklen_t  /* avoid error in CYGWIN environment */
+ #define HAVE_SOCKLEN_T
+ #endif
+ 
  #ifndef HAVE_SOCKLEN_T
  #if defined(i386) && defined(__svr4__)
  #define HAVE_SOCKLEN_U





From MAILER-DAEMON Sat Mar 01 11:34:56 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18p9wu-0001jX-00
	for mharc-bug-commoncpp@gnu.org; Sat, 01 Mar 2003 11:34:56 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18p9ws-0001jP-00
	for bug-commoncpp@gnu.org; Sat, 01 Mar 2003 11:34:54 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18p9wr-0001j7-00
	for bug-commoncpp@gnu.org; Sat, 01 Mar 2003 11:34:53 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18p9wq-0001hZ-00
	for bug-commoncpp@gnu.org; Sat, 01 Mar 2003 11:34:52 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h21HG1f18136;
	Sat, 1 Mar 2003 12:16:02 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: Makino Takaki <t-commoncpp@snowelm.com>, bug-commoncpp@gnu.org
Date: Sat, 1 Mar 2003 11:35:06 -0500
User-Agent: KMail/1.4.3
References: <20030228132301.165A.T-COMMONCPP@snowelm.com>
In-Reply-To: <20030228132301.165A.T-COMMONCPP@snowelm.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303011135.06663.dyfet@ostel.com>
cc: Federico Montesino Pouzols <fedemp@altern.org>
Subject: Re: Patch for Cygwin environment
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 01 Mar 2003 16:34:54 -0000

This I want to look at more closely.  My first concern is that it does no=
t=20
break mingw32 cross-compiles.  I think I will have a chance to look at th=
is=20
over the weekend.

David

On Thursday 27 February 2003 11:24 pm, Makino Takaki wrote:
> Dear commonc++ developers,
>
> I'd like to post a patch to make commonc++2 compilable in a latest
> Cygwin environment on Windows.  It seems that the commonc++2 package
> cannot be compiled via configure script on current Cygwin release.
> I hope that the patch helps development of this excellent library.
>
> The following patch is to fix the compilation error for pthread
> emulation of Cygwin. It would be more efficient if I could make use of
> native Win32 API, but it seems a lot of patching effort...
> I confirmed the patch on Cygwin 1.3.19 and commoncpp2 1.0.8.
>
> The changes are:
>  * Remove !defined(__CYGWIN32__) from #if surronding PosixThread class.
>  * Disabled PosixThread::waitSignal when sigwait() is not available. I'=
m
>    not sure why sigwait() is disabled on Cygwin, and I don't know
>    what workaround is available for it.  Anyway it seems working happil=
y
>    without PosixThread::waitSignal member function.
>  * Added some stuff for socklen_t.  Current configure script cannot fin=
d
>    socklen_t in Cygwin; socklen_t is #define'd under cygwin/socket.h,
>    but configure applies EGREP_HEADER to only sys/socket.h.  Though my
>    patch for this problem may be too naive...
>
> Best regards,




From MAILER-DAEMON Mon Mar 03 15:32:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18pwaE-0005Sa-00
	for mharc-bug-commoncpp@gnu.org; Mon, 03 Mar 2003 15:30:46 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18puew-0006Mx-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 13:27:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18pueu-0006Ig-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 13:27:29 -0500
Received: from mx1.magmacom.com ([206.191.0.217])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18pueu-0006FA-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 13:27:28 -0500
Received: from mail1.magma.ca (mail1.magma.ca [206.191.0.252])
	by mx1.magmacom.com (Magma's Mail Server) with ESMTP id h23IRQQ7019621
	for <bug-commoncpp@gnu.org>; Mon, 3 Mar 2003 13:27:26 -0500 (EST)
Received: from acheyne (ottawa-hs-64-26-156-25.s-ip.magma.ca [64.26.156.25])
	by mail1.magma.ca (Magma's Mail Server) with ESMTP id h23IRPqC018348
	for <bug-commoncpp@gnu.org>; Mon, 3 Mar 2003 13:27:26 -0500 (EST)
From: "Andrew Cheyne" <acheyne@gridironsoftware.com>
To: <bug-commoncpp@gnu.org>
Date: Mon, 3 Mar 2003 13:27:25 -0500
Message-ID: <000701c2e1b2$8a7fe120$2202a8c0@gridironnetworks.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0008_01C2E188.A1A9D920"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4024
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailman-Approved-At: Mon, 03 Mar 2003 15:30:43 -0500
Subject: tcpstream multiple inheritance bug
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 03 Mar 2003 18:27:30 -0000

This is a multi-part message in MIME format.

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

With the addition of the read(...) method to the Socket class (in
socket.h), tcpstream now exposes an ambiguous method error when
attempting to use the class directly.
 
For example (application code):
 
tpstream tcp;
 
// take care of initializing..
// ... eventually, we want to do a read of one char:
 
tcp.read(buf, 1);
 
    Since read() is defined in both Socket and std::istream, the
compiler doesn't know which read() method to use, and complains (error).
 
I was able to get around this (for now), by doing:
 
std::iostream* tcpio = (std::iostream*)(&tcp);
tcpio->read(buf, 1 );
 
   which is really ugly, but works..
 
Andrew
 
PS: I am not subscribed to the mailing list, so email me directly if you
need further information.
 
Andrew Cheyne
Senior Software Developer
GridIron Software
613.226.9445 ext. 285
acheyne@gridironsoftware.com
http://www.gridironsoftware.com <http://www.gridironsoftware.com/> 
 
 

------=_NextPart_000_0008_01C2E188.A1A9D920
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial size=3D2>With =
the addition of=20
the read(...) method to the Socket class (in socket.h), tcpstream now =
exposes an=20
ambiguous method error when attempting to use the class=20
directly.</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial size=3D2>For =
example=20
(application code):</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3D"Courier New" =
size=3D2>tpstream=20
tcp;</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3D"Courier New" =
size=3D2>// take care=20
of initializing..</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3D"Courier New" =
size=3D2>// ...=20
eventually, we want to do a read of one char:</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3D"Courier New"=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3D"Courier New"=20
size=3D2>tcp.read(buf, 1);</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial =
size=3D2>&nbsp;&nbsp;&nbsp;=20
Since read() is defined in both Socket and std::istream, the compiler =
doesn't=20
know which read() method to use, and complains =
(error).</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial size=3D2>I was =
able to get=20
around this (for now), by doing:</FONT></SPAN></DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3DArial=20
size=3D2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=3D206111618-03032003><FONT face=3D"Courier New"=20
size=3D2>std::iostream* tcpio =3D =
(std::iostream*)(&amp;tcp);<BR>tcpio-&gt;read(buf,=20
1 );</FONT></SPAN></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN =
class=3D206111618-03032003>&nbsp;&nbsp; which=20
is really ugly, but works..</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D206111618-03032003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D206111618-03032003>Andrew</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D206111618-03032003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D206111618-03032003>PS: I =
am not=20
subscribed to the mailing list, so email me directly if you need further =

information.</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D4><STRONG>Andrew=20
Cheyne</STRONG></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>Senior Software =
Developer</FONT></DIV>
<DIV align=3Dleft><FONT face=3D"Century Gothic" =
color=3D#808080><STRONG>GridIron=20
Software</STRONG></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2>613.226.9445 ext. =
285</FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><A=20
href=3D"mailto:acheyne@gridironsoftware.com">acheyne@gridironsoftware.com=
</A></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2><A=20
href=3D"http://www.gridironsoftware.com/">http://www.gridironsoftware.com=
</A></FONT></DIV>
<DIV align=3Dleft><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0008_01C2E188.A1A9D920--




From MAILER-DAEMON Mon Mar 03 20:14:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q10O-00031j-00
	for mharc-bug-commoncpp@gnu.org; Mon, 03 Mar 2003 20:14:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q10L-00030e-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 20:14:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q0zN-0002TU-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 20:13:01 -0500
Received: from betamax.aero.und.edu ([134.129.212.13])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q0xj-0001iV-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 20:11:19 -0500
Received: from agassiz
	(IDENT:ZEub5rboozcSnE4hDhgf1LPpEIdMCZ7e@localhost.localdomain [127.0.0.1])
	by betamax.aero.und.edu (8.12.8/8.9.0) with ESMTP id h241BHV0014998
	for <bug-commoncpp@gnu.org>; Mon, 3 Mar 2003 19:11:17 -0600
Date: Mon, 3 Mar 2003 19:12:14 -0600 (CST)
From: Ari Johnson <ariston@cs.und.edu>
To: bug-commoncpp@gnu.org
Message-ID: <Pine.GSO.4.10.10303031910130.29594-100000@agassiz.cs.und.edu>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Subject: Current CVS Fails to Compile on FreeBSD
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 01:14:02 -0000


g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-I/home/ari/cvswork/install/include -D_GNU_SOURCE -D_THREAD_SAFE
-I/usr/local/include/libxml2 -I/usr/local/include -Wall -ansi -pedantic
-I../include -c socket.cpp -Wp,-MD,.deps/socket.TPlo  -fPIC -DPIC -o
.libs/socket.lo
socket.cpp: In method `enum ost::Socket::Error ost::UDPSocket::join(const
ost::InetMcastAddress &, int)':
socket.cpp:907: aggregate `struct ost::ip_mreqn group' has incomplete type
and cannot be initialized
socket.cpp:918: confused by earlier errors, bailing out
*** Error code 1

The ip_mreqn is apparently not defined on FreeBSD...I did a
"grep ip_mreqn `find /usr/include`" and got no hits.

Ari Johnson





From MAILER-DAEMON Mon Mar 03 22:47:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18q3Oy-0004GB-00
	for mharc-bug-commoncpp@gnu.org; Mon, 03 Mar 2003 22:47:36 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18q3Ox-0004Fq-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 22:47:35 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18q3OR-00048b-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 22:47:34 -0500
Received: from smtp.cs.curtin.edu.au ([134.7.1.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18q3OQ-00048O-00
	for bug-commoncpp@gnu.org; Mon, 03 Mar 2003 22:47:03 -0500
Received: from ladybird.cs.curtin.edu.au ([134.7.3.70] helo=cs.curtin.edu.au)
	by smtp.cs.curtin.edu.au with esmtp (Exim 3.36 #8)
	id 18q3ON-0004U7-00; Tue, 04 Mar 2003 11:46:59 +0800
Message-ID: <3E6421B2.20301@cs.curtin.edu.au>
Date: Tue, 04 Mar 2003 11:46:58 +0800
From: James Cooper <jc@cs.curtin.edu.au>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Subject: UDPDuplex constructor fails on cygwin
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 03:47:35 -0000

I used Makino Takaki's patch and compiled commoncpp2-1.0.8 on cygwin.
(Thanks Makino),
but the following program, which works on linux dumps core on cygwin 
when it tries to construct a UDPDuplex object.  Sorry if this is a known 
problem.

#include <iostream>
#include <cc++/socket.h>

using namespace ost;

int main(int argc, char *argv[])
{
     int port = 4321;
     char thishost[256];

     gethostname(thishost,sizeof(thishost));

     cout << "creating UDPDuplex socket on host \"" << thishost << "\"";
     cout << " at port " << port << endl;
     InetAddress address(thishost);

     cout << "host name: " << address.getHostname()  << endl;

     cout << "Got address.  So far so good." << endl;
     UDPDuplex duplex(address, port);
     cout << "I want to see this message from cygwin." << endl;

     exit(0);
}


-- 
James Cooper                ,-_|\  E-mail: jc@cs.curtin.edu.au
Curtin University          /     \ Phone:  +61 8 9266 2948
GPO Box U1987, PERTH       $_,-._/ Fax:    +61 8 9266 2819
WA 6845, Australia              v  CRICOS provider code: 00301J




From MAILER-DAEMON Tue Mar 04 10:10:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qE3Z-0004kL-00
	for mharc-bug-commoncpp@gnu.org; Tue, 04 Mar 2003 10:10:13 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qE3W-0004jW-00
	for bug-commoncpp@gnu.org; Tue, 04 Mar 2003 10:10:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qE3U-0004iq-00
	for bug-commoncpp@gnu.org; Tue, 04 Mar 2003 10:10:09 -0500
Received: from mx4.magma.ca ([206.191.0.253])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qE2o-0004UK-00
	for bug-commoncpp@gnu.org; Tue, 04 Mar 2003 10:09:26 -0500
Received: from mail6.magma.ca (mail6 [206.191.0.248])
	by mx4.magma.ca (Magma's Mail Server) with ESMTP id h24F9PH3015032
	for <bug-commoncpp@gnu.org>; Tue, 4 Mar 2003 10:09:25 -0500
Received: from igough (ottawa-hs-64-26-156-25.s-ip.magma.ca [64.26.156.25])
	by mail6.magma.ca (Magma's Mail Server) with ESMTP id h24F9PIl022734
	for <bug-commoncpp@gnu.org>; Tue, 4 Mar 2003 10:09:25 -0500 (EST)
From: "Ian Gough" <igough@gridironsoftware.com>
To: <bug-commoncpp@gnu.org>
Date: Tue, 4 Mar 2003 10:09:24 -0500
Message-ID: <001501c2e260$0b28b470$3102a8c0@gridironnetworks.com>
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_0016_01C2E236.2252AC70"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
Importance: Normal
Subject: Compile problems on Mac OSX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 04 Mar 2003 15:10:11 -0000

This is a multi-part message in MIME format.

------=_NextPart_000_0016_01C2E236.2252AC70
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Using a snapshot from Friday or so:
 
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-I/usr/local/include -D_GNU_SOURCE -Wall -ansi -pedantic -I../include -c
socket.cpp -MT socket.lo -MD -MP -MF .deps/socket.TPlo  -fno-common
-DPIC -o .libs/socket.lo
cc1plus: warning: changing search order for system directory
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system
directory
socket.cpp: In member function `ost::Socket::Error
ost::UDPSocket::join(const
   ost::InetMcastAddress&, int)':
socket.cpp:907: aggregate `ost::ip_mreqn group' has incomplete type and
cannot
   be defined
socket.cpp: In member function `ost::Socket::Error
   ost::UDPSocket::getInterfaceIndex(const char*, int&)':
socket.cpp:932: aggregate `ost::ip_mreqn mreqn' has incomplete type and
cannot
   be defined
socket.cpp:946: `SIOCGIFINDEX' undeclared (first use this function)
socket.cpp:946: (Each undeclared identifier is reported only once for
each
   function it appears in.)
socket.cpp:949: `struct ifreq' has no member named `ifr_ifindex'


------=_NextPart_000_0016_01C2E236.2252AC70
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>

<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR></HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D697390615-04032003>Using =
a snapshot=20
from Friday or so:</SPAN></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><SPAN=20
class=3D697390615-04032003></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><SPAN class=3D697390615-04032003>g++ =
-DHAVE_CONFIG_H=20
-I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY -I/usr/local/include =

-D_GNU_SOURCE -Wall -ansi -pedantic -I../include -c socket.cpp -MT =
socket.lo -MD=20
-MP -MF .deps/socket.TPlo&nbsp; -fno-common -DPIC -o =
.libs/socket.lo<BR>cc1plus:=20
warning: changing search order for system directory=20
"/usr/local/include"<BR>cc1plus: warning:&nbsp;&nbsp; as it has already =
been=20
specified as a non-system directory<BR>socket.cpp: In member function=20
`ost::Socket::Error ost::UDPSocket::join(const<BR>&nbsp;&nbsp;=20
ost::InetMcastAddress&amp;, int)':<BR>socket.cpp:907: aggregate =
`ost::ip_mreqn=20
group' has incomplete type and cannot<BR>&nbsp;&nbsp; be =
defined<BR>socket.cpp:=20
In member function `ost::Socket::Error<BR>&nbsp;&nbsp;=20
ost::UDPSocket::getInterfaceIndex(const char*, =
int&amp;)':<BR>socket.cpp:932:=20
aggregate `ost::ip_mreqn mreqn' has incomplete type and =
cannot<BR>&nbsp;&nbsp;=20
be defined<BR>socket.cpp:946: `SIOCGIFINDEX' undeclared (first use this=20
function)<BR>socket.cpp:946: (Each undeclared identifier is reported =
only once=20
for each<BR>&nbsp;&nbsp; function it appears in.)<BR>socket.cpp:949: =
`struct=20
ifreq' has no member named =
`ifr_ifindex'<BR></SPAN></FONT></DIV></BODY></HTML>

------=_NextPart_000_0016_01C2E236.2252AC70--




From MAILER-DAEMON Thu Mar 06 08:17:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qvFX-0004bi-00
	for mharc-bug-commoncpp@gnu.org; Thu, 06 Mar 2003 08:17:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qlHD-0003M2-00
	for bug-commoncpp@gnu.org; Wed, 05 Mar 2003 21:38:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qlH2-00035v-00
	for bug-commoncpp@gnu.org; Wed, 05 Mar 2003 21:38:21 -0500
Received: from mail.zepton.net ([63.103.225.21] helo=mail.infinera.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qlGw-0002q8-00
	for bug-commoncpp@gnu.org; Wed, 05 Mar 2003 21:38:14 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2E389.6E81C15C"
Date: Wed, 5 Mar 2003 18:38:12 -0800
Message-ID: <D4E5EB01EE9C4645B1E89B42C5FF4E530123C0B7@exchange.infinera.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: FTP 
Thread-Index: AcLjiW6PQYrrRf+gTGiPuERM5Ip1dA==
From: "Mukesh Kohli" <mkohli@infinera.com>
To: <bug-commoncpp@gnu.org>
X-Mailman-Approved-At: Thu, 06 Mar 2003 08:17:25 -0500
Subject: FTP 
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 02:38:44 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C2E389.6E81C15C
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

=20

I downloaded the latest version of commonCpp code base. I want to use
ftp functionality of it. I am seeing that ftp.cpp <ftp://ftp.cpp/>  is
not being compiled. Is there any specific reason why it's not being done
so. Could if anybody can send me the ftptest.cpp file? Any other things
to be taken care in order to get ftp compile and working.

=20

=20

=20

Regards,

Mukesh Kohli

Infinera                          tel: 408-572-5318
1322 Bordeaux Dr          fax: 408-572-5343
Sunnyvale, CA 94089     email: mkohli@infinera.com

=20


------_=_NextPart_001_01C2E389.6E81C15C
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I downloaded the latest version of commonCpp code =
base. I
want to use ftp functionality of it. I am seeing that <a =
href=3D"ftp://ftp.cpp/">ftp.cpp</a>
is not being compiled. Is there any specific reason why it&#8217;s not =
being
done so. Could if anybody can send me the ftptest.cpp file? Any other =
things to
be taken care in order to get ftp compile and working.</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Regards,</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
 12.0pt'>Mukesh Kohli</span></font></p>

<p class=3DMsoNormal><em><i><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Infinera&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tel: 408-572-5318</span></font></i></em><i><span =
style=3D'font-style:italic'><br>
</span></i><em><i><font color=3Dblack face=3D"Times New Roman"><span
  style=3D'color:black'>1322 Bordeaux =
Dr</span></font></i></em><em><i><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;
fax: 408-572-5343</span></font></i></em><i><font size=3D2 color=3Dblue =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><br>
</span></font></i><em><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
  font-family:Arial'>Sunnyvale</span></font></i></em><em><i><font =
size=3D2
 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>, =
</span></font></i></em><em><i><font
  size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>CA</span></font></i></em><em=
><i><font
 size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =
</span></font></i></em><em><i><font
  size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>94089</span></font></i></em>=
<em><i><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;email:
<a =
href=3D"mailto:mkohli@infinera.com">mkohli@infinera.com</a></span></font>=
</i></em></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C2E389.6E81C15C--



From MAILER-DAEMON Thu Mar 06 08:17:28 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qvFX-0004by-00
	for mharc-bug-commoncpp@gnu.org; Thu, 06 Mar 2003 08:17:27 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qupM-0001by-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 07:50:24 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18quok-0001FT-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 07:49:47 -0500
Received: from cvis163.marconicomms.com ([128.87.251.113])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18quo8-0000ML-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 07:49:08 -0500
Received: from cvis153.mail.marconicomms.com by cvis163.marconicomms.com with
	ESMTP
	(8.11.6+Sun/mcig-2) id h26Cn4g12216; Thu, 6 Mar 2003 12:49:04 GMT
Received: from cvdgwy01.uk.marconicomms.com (unverified) by 
    cvis151.mail.marconicomms.com (Content Technologies SMTPRS 4.3.1) with 
    ESMTP id <T60cfc96acdc0a899e12b8@cvis151.mail.marconicomms.com> for 
    <bug-commoncpp@gnu.org>; Thu, 6 Mar 2003 12:49:04 +0000
To: bug-commoncpp@gnu.org
X-Mailer: Lotus Notes Release 5.0.8  June 18, 2001
Message-ID: <OF2ACD2546.08CDBE82-ONC1256CE1.00459F8E@uk.marconicomms.com>
From: "Georg Soffel" <Georg.Soffel@marconi.com>
Date: Thu, 6 Mar 2003 13:49:00 +0100
X-MIMETrack: Serialize by Router on CVDGWY01/S/EXT/MC1 
    (Release 5.0.11  |July 24, 2002) at 06/03/2003 12:48:55
MIME-Version: 1.0
Content-type: text/plain; charset="us-ascii"
X-Mailman-Approved-At: Thu, 06 Mar 2003 08:17:25 -0500
Subject: configure script bug
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 12:50:32 -0000

I am trying to install version 1.0.8 under Solaris 8

Found a bug in the configure script line 10458:
if test $GCC = yes ; then
should probably be
if test "$GCC" = yes ; then

Did you ever test with a compiler other than gcc?

I further get with gcc 3.2.2 the following:

In file included from network.cpp:41:
../include/cc++/config.h:340:1: warning: "__EXTENSIONS__" redefined
network.cpp:1:1: warning: this is the location of the previous definition
network.cpp: In function `bool
   ost::enumNetworkDevices(std::vector<ost::NetworkDeviceInfo,
   std::allocator<ost::NetworkDeviceInfo> >&)':
network.cpp:127: `struct ifreq' has no member named `ifr_mtu'
*** Error code 1

I did not go in detail with that one right know, maybe it is due to our
local system installation.

Regards,
Georg Soffel









From MAILER-DAEMON Thu Mar 06 09:39:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18qwWm-0000Rk-00
	for mharc-bug-commoncpp@gnu.org; Thu, 06 Mar 2003 09:39:20 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18qvcj-00053O-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 08:41:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18qvcb-0004oD-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 08:41:19 -0500
Received: from cvis162.marconicomms.com ([128.87.251.112])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18qvcC-0004RA-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 08:40:52 -0500
Received: from cvis156.mail.marconicomms.com by cvis162.marconicomms.com with
	ESMTP
	(8.11.6+Sun/mcig-2) id h26Deoc13886; Thu, 6 Mar 2003 13:40:50 GMT
Received: from cvdgwy01.uk.marconicomms.com (unverified) by 
    cvis155.mail.marconicomms.com (Content Technologies SMTPRS 4.3.1) with 
    ESMTP id <T60cff8cd4ac0a899e5308@cvis155.mail.marconicomms.com> for 
    <bug-commoncpp@gnu.org>; Thu, 6 Mar 2003 13:40:49 +0000
To: bug-commoncpp@gnu.org
X-Mailer: Lotus Notes Release 5.0.8  June 18, 2001
Message-ID: <OF0EA04E29.86D18794-ONC1256CE1.004A9B57@uk.marconicomms.com>
From: "Georg Soffel" <Georg.Soffel@marconi.com>
Date: Thu, 6 Mar 2003 14:40:29 +0100
X-MIMETrack: Serialize by Router on CVDGWY01/S/EXT/MC1 
    (Release 5.0.11  |July 24, 2002) at 06/03/2003 13:40:41
MIME-Version: 1.0
Content-type: multipart/mixed; 
    Boundary="0__=4EBBE672DFD91DC78f9e8a93df938690918c4EBBE672DFD91DC7"
Content-Disposition: inline
X-Mailman-Approved-At: Thu, 06 Mar 2003 09:39:19 -0500
Subject: patch for networkcpp under Solaris 2.8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 13:41:37 -0000

--0__=4EBBE672DFD91DC78f9e8a93df938690918c4EBBE672DFD91DC7
Content-type: text/plain; charset="us-ascii"


Dear all,

The following error in common c++ version 1.0.8:

In file included from network.cpp:41:
../include/cc++/config.h:340:1: warning: "__EXTENSIONS__" redefined
network.cpp:1:1: warning: this is the location of the previous definition
network.cpp: In function `bool
   ost::enumNetworkDevices(std::vector<ost::NetworkDeviceInfo,
   std::allocator<ost::NetworkDeviceInfo> >&)':
network.cpp:127: `struct ifreq' has no member named `ifr_mtu'
*** Error code 1

is fixed with the attached patch.

(See attached file: patch_for_network.cpp)


Georg Soffel





--0__=4EBBE672DFD91DC78f9e8a93df938690918c4EBBE672DFD91DC7
Content-type: application/octet-stream; name="patch_for_network.cpp"
Content-Disposition: attachment; filename="patch_for_network.cpp"
Content-transfer-encoding: base64

MTAzYzEwMwo8IAlpbnQgY291bnQgPSBpZmMuaWZjX2xlbiAvIHNpemVvZihpZnJlcSk7Ci0tLQo+
IAlpbnQgY291bnQgPSBpZmMuaWZjX2xlbiAvIHNpemVvZihsaWZyZXEpOwoxMTEsMTEyYzExMSwx
MTIKPCAJCXN0cnVjdCBpZnJlcSBkZXZpZnJlcTsKPCAJCXN0cmNweShkZXZpZnJlcS5pZnJfbmFt
ZSwgaWZjLmlmY19yZXFbaV0uaWZyX25hbWUpOwotLS0KPiAJCXN0cnVjdCBsaWZyZXEgZGV2aWZy
ZXE7Cj4gCQlzdHJjcHkoZGV2aWZyZXEubGlmcl9uYW1lLCBpZmMuaWZjX3JlcVtpXS5pZnJfbmFt
ZSk7CjExN2MxMTcKPCAJCQkoSW5ldEFkZHJlc3MmKWJyZGFkZHIgPSAoKHNvY2thZGRyX2luJilk
ZXZpZnJlcS5pZnJfYnJvYWRhZGRyKS5zaW5fYWRkcjsKLS0tCj4gCQkJKEluZXRBZGRyZXNzJili
cmRhZGRyID0gKChzb2NrYWRkcl9pbiYpZGV2aWZyZXEubGlmcl9icm9hZGFkZHIpLnNpbl9hZGRy
OwoxMjJjMTIyCjwgCQkJKEluZXRBZGRyZXNzJiltYXNrYWRkciA9ICgoc29ja2FkZHJfaW4mKWRl
dmlmcmVxLmlmcl9hZGRyKS5zaW5fYWRkcjsKLS0tCj4gCQkJKEluZXRBZGRyZXNzJiltYXNrYWRk
ciA9ICgoc29ja2FkZHJfaW4mKWRldmlmcmVxLmxpZnJfYWRkcikuc2luX2FkZHI7CjEyN2MxMjcK
PCAJCQltdHUgPSBkZXZpZnJlcS5pZnJfbXR1OwotLS0KPiAJCQltdHUgPSBkZXZpZnJlcS5saWZy
X210dTsK

--0__=4EBBE672DFD91DC78f9e8a93df938690918c4EBBE672DFD91DC7--



From MAILER-DAEMON Thu Mar 06 14:37:14 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18r18o-0001jE-00
	for mharc-bug-commoncpp@gnu.org; Thu, 06 Mar 2003 14:34:54 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18r18U-0001Km-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 14:34:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18r18A-000174-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 14:34:15 -0500
Received: from mail.zepton.net ([63.103.225.21] helo=mail.infinera.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18r16x-0008Md-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 14:32:59 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/mixed;
	boundary="----_=_NextPart_001_01C2E417.3196E26F"
Date: Thu, 6 Mar 2003 11:32:58 -0800
Message-ID: <D4E5EB01EE9C4645B1E89B42C5FF4E530123C0BA@exchange.infinera.com>
X-MS-Has-Attach: yes
X-MS-TNEF-Correlator: 
Thread-Topic: compilation error in demo directory
Thread-Index: AcLkFzGMsuGuhfHZSt+pqWL0vFRTCw==
From: "Mukesh Kohli" <mkohli@infinera.com>
To: <bug-commoncpp@gnu.org>
Subject: compilation error in demo directory
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 19:34:47 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C2E417.3196E26F
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_002_01C2E417.3196E26F"


------_=_NextPart_002_01C2E417.3196E26F
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hello,

=20

I am building ftp using -with-ftp flag in configure. After that I am
trying to build demo directory. I basic purpose is to use FTPSocket
class. I am trying to compile ftptest.cpp. kindly see the file in the
attachment (It is being sent to me by Marcelo).

=20

But I am getting following error if I try to build demos directory.
Kindly through some insight to it. Here is the dump of errors I am
getting. In first command I am trying to build whole directory using
make. In second I am trying to build just ftptest.cpp.

=20

------------------------------------------------------------------------
--

bash-2.05a# make

g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c tcp.cpp

In file included from ../include/cc++/config.h:466,

                 from ../include/cc++/socket.h:50,

                 from tcp.cpp:42:

/usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or
later

In file included from /usr/include/pthread.h:30,

                 from ../include/cc++/config.h:466,

                 from ../include/cc++/socket.h:50,

                 from tcp.cpp:42:

/usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993 or
later

In file included from ../include/cc++/config.h:473,

                 from ../include/cc++/socket.h:50,

                 from tcp.cpp:42:

/usr/include/semaphore.h:28: #error POSIX Semaphores needs P1003.1b-1993
or later

make: *** [tcp.o] Error 1

=20

=20

bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c ftptest.cpp

In file included from ../include/cc++/common.h:68,

                 from ftptest.cpp:25:

../include/cc++/xml.h:323: #error "XML support is not available."

------------------------------------------------------------------------
--

=20

Regards,

Mukesh Kohli

=20

=20

Regards,

Mukesh Kohli

Infinera                          tel: 408-572-5318
1322 Bordeaux Dr          fax: 408-572-5343
Sunnyvale, CA 94089     email: mkohli@infinera.com

=20


------_=_NextPart_002_01C2E417.3196E26F
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Hello,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>I am building ftp using &#8211;with-ftp flag in configure. After =
that I
am trying to build demo directory. I basic purpose is to use FTPSocket =
class. I
am trying to compile ftptest.cpp. kindly see the file in the attachment =
(It is
being sent to me by Marcelo).</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>But I am getting following error if I try to build demos =
directory. Kindly
through some insight to it. Here is the dump of errors I am getting. In =
first
command I am trying to build whole directory using make. In second I am =
trying
to build just ftptest.cpp.</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----------------------------------------------------------------=
---------</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>bash-2.05a# make</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>g++ -DHAVE_CONFIG_H -</span></font>I. -I. -I../include =
-I../include&nbsp;&nbsp;&nbsp;
-I/usr/local/include -D_GNU_SOURCE&nbsp; -Wall -ansi -pedantic -c =
tcp.cpp</p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
../include/cc++/config.h:466,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/socket.h:50,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from tcp.cpp:42:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>/usr/include/pthread.h:22: #error POSIX Threads needs =
P1003.1b-1993 or
later</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
/usr/include/pthread.h:30,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/config.h:466,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/socket.h:50,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from tcp.cpp:42:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>/usr/include/sched.h:26: #error POSIX Scheduling needs =
P1003.1b-1993 or
later</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
../include/cc++/config.h:473,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/socket.h:50,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from tcp.cpp:42:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>/usr/include/semaphore.h:28: #error POSIX Semaphores needs
P1003.1b-1993 or later</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>make: *** [tcp.o] Error 1</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>bash-2.05a# g++ -DHAVE_CONFIG_H -</span></font>I. -I. =
-I../include -I../include&nbsp;&nbsp;&nbsp;
-I/usr/local/include -D_GNU_SOURCE&nbsp; -Wall -ansi -pedantic -c =
ftptest.cpp</p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
../include/cc++/common.h:68,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ftptest.cpp:25:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>../include/cc++/xml.h:323: #error &quot;XML support is not
available.&quot;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----------------------------------------------------------------=
---------</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>Regards,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
 10.0pt'>Mukesh Kohli</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Regards,</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
 12.0pt'>Mukesh Kohli</span></font></p>

<p class=3DMsoNormal><em><i><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Infinera&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tel: 408-572-5318</span></font></i></em><i><span =
style=3D'font-style:italic'><br>
</span></i><em><i><font color=3Dblack face=3D"Times New Roman"><span
  style=3D'color:black'>1322 Bordeaux =
Dr</span></font></i></em><em><i><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;
fax: 408-572-5343</span></font></i></em><i><font size=3D2 color=3Dblue =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><br>
</span></font></i><em><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
  font-family:Arial'>Sunnyvale</span></font></i></em><em><i><font =
size=3D2
 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>, =
</span></font></i></em><em><i><font
  size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>CA</span></font></i></em><em=
><i><font
 size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =
</span></font></i></em><em><i><font
  size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>94089</span></font></i></em>=
<em><i><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;email:
<a =
href=3D"mailto:mkohli@infinera.com">mkohli@infinera.com</a></span></font>=
</i></em></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_002_01C2E417.3196E26F--

------_=_NextPart_001_01C2E417.3196E26F
Content-Type: application/octet-stream;
	name="ftptest.cpp"
Content-Transfer-Encoding: base64
Content-Description: ftptest.cpp
Content-Disposition: attachment;
	filename="ftptest.cpp"

Ly8gQ29weXJpZ2h0IChDKSAyMDAxIERyLiBFY2toYXJkdCArIFBhcnRuZXIgR21iSAovLyBDb3B5
cmlnaHQgKEMpIDIwMDIgTWFyY2VsbyBEYWxtYXMKLy8KLy8gVGhpcyBwcm9ncmFtIGlzIGZyZWUg
c29mdHdhcmU7IHlvdSBjYW4gcmVkaXN0cmlidXRlIGl0IGFuZC9vciBtb2RpZnkKLy8gaXQgdW5k
ZXIgdGhlIHRlcm1zIG9mIHRoZSBHTlUgR2VuZXJhbCBQdWJsaWMgTGljZW5zZSBhcyBwdWJsaXNo
ZWQgYnkKLy8gdGhlIEZyZWUgU29mdHdhcmUgRm91bmRhdGlvbjsgZWl0aGVyIHZlcnNpb24gMiBv
ZiB0aGUgTGljZW5zZSwgb3IKLy8gKGF0IHlvdXIgb3B0aW9uKSBhbnkgbGF0ZXIgdmVyc2lvbi4K
Ly8KLy8gVG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3Mub3Jn
Iik7CgkJZi5zZXREZWJ1ZygwKTsKCgkJLy9Xcml0ZSB0byBmaWxlOgovLwkJb2Z0cHN0cmVhbSBv
dXQoZiwgInRlc3QiKTsKLy8JCW91dCA8PCAiVGVzdCEiOwkJCgoJCS8vUmVhZCBmcm9tIGZpbGU6
CgkJaWZ0cHN0cmVhbSBpbihmLCAid2VsY29tZS5tc2ciKTsKCQljb3V0IDw8IGluLnJkYnVmKCkg
PDwgZW5kbDsKCX0KCWNhdGNoKEZUUFJlc3BvbnNlJiBlKSB7CgkJY2VyciA8PCAiRlRQIFJlc3Bv
bnNlIGV4Y2VwdGlvbiBvY2N1cmVkOiAiIDw8IGUud2hhdCgpIDw8IGVuZGw7CgkJcmV0dXJuIDE7
Cgl9CgljYXRjaChleGNlcHRpb24mIGUpIHsKCQljZXJyIDw8ICJleGNlcHRpb24gb2NjdXJlZDog
IiA8PCBlLndoYXQoKSA8PCBlbmRsOwoJCXJldHVybiAxOwoJfQkKCXJldHVybiAwOwp9CgojZWxz
ZQoKI2luY2x1ZGUgPGNjKysvY29tbW9uLmg+CiNpbmNsdWRlIDxpb3N0cmVhbT4KCnVzaW5nIG5h
bWVzcGFjZSBzdGQ7CgppbnQgbWFpbihpbnQgYXJnYywgY2hhciogYXJndltdKQp7Cgljb3V0IDw8
ICJmdHAgc3VwcG9ydCBkaXNhYmxlZCEiIDw8IGVuZGw7Cgljb3V0IDw8ICJJZiB5b3Ugd2FudCB0
byBjb21waWxlIHdpdGggZnRwIHN1cHBvcnQsIGdpdmUgdGhlIGAtLXdpdGgtZnRwJyIgPDwgZW5k
bDsKCWNvdXQgPDwgIm9wdGlvbiB0byBjb25maWd1cmUuIiA8PCBlbmRsOwp9CiNlbmRpZiAvLyBp
ZmRlZiAgQ09NTU9OX0ZUUF9TVVBQT1JUCg==

------_=_NextPart_001_01C2E417.3196E26F--



From MAILER-DAEMON Thu Mar 06 19:18:11 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18r5X7-0004Xe-00
	for mharc-bug-commoncpp@gnu.org; Thu, 06 Mar 2003 19:16:17 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18r3Vz-00017M-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 17:06:59 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18r3VO-0000ic-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 17:06:23 -0500
Received: from bb0eb002.schwab.com ([162.93.195.135])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18r3Tt-0008Us-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 17:04:50 -0500
Received: by othbh/bb0eb002.schwab.com v1.000dar for <bug-commoncpp@gnu.org>
	qnum h26M2go07932
Received-Date: Thu, 6 Mar 2003 17:02:42 -0500 (EST)
Received: from unknown(162.93.239.70) by bb0eb002.schwab.com via smap (V5.5)
	id xma005469; Thu, 6 Mar 03 16:59:29 -0500
Received: (from root@localhost) by sendmail.cf s0743cdc  id h26M1S423298 for
	bug-commoncpp@gnu.org; Thu, 6 Mar 2003 17:01:28 -0500 (EST)
Received: ( Schwab Email )
	by copymail.cf s0743cdc  with SMTP id h26M1RD23270;
	for <bug-commoncpp@gnu.org>; Thu, 6 Mar 2003 17:01:27 -0500 (EST)
Received: From n2121pmx.nt.schwab.com ([10.100.85.232]) by
	n2110pmx.nt.schwab.com (WebShield SMTP v4.5 MR1a);
	id 1046988085339; Thu, 6 Mar 2003 15:01:25 -0700
Received: by N2121PMX with Internet Mail Service (5.5.2653.19)
	id <YMTHJ68S>; Thu, 6 Mar 2003 15:01:27 -0700
Message-ID: <539183EE2CDFD31186CF00508B6BF64D02787FBB@n7006jmx.mash.schwab.com>
From: "Orlov, Yuriy" <Yuriy.Orlov@schwab.com>
To: "'bug-commoncpp@gnu.org'" <bug-commoncpp@gnu.org>
Date: Thu, 6 Mar 2003 15:01:23 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain;
	charset="iso-8859-1"
X-Mailman-Approved-At: Thu, 06 Mar 2003 19:16:15 -0500
cc: "'orlovy@yahoo.com'" <orlovy@yahoo.com>
Subject: CmdLineOptions
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 22:10:07 -0000

Hello guys!

	You are doing great job. Common C++ library is very usefull tool for
developers. 
I think many programmers around the world spent many time to develop their
own wrapers realization  
for system dependent calls, unfortunately including me. 

But one comment about your command line option mechanizm. I think it to
complicated for most task that 
programmers sovling each day, and may be usefull just for big projects.
Please look to my solution below.

Regards,
Yuri Orlov

#include <map>
#include <vector>
#include <stdio.h>

#define _opt_sign '-'

/* Command line option class */
class clopt 
{
public:
    clopt() :
      name(NULL), value(NULL), format(NULL) {};
    clopt(char *_name, void *_value,char *_format = NULL) :
      name(_name), value(_value), format(_format) {};

    bool operator () (const char* c1, const char* c2) const
        { return (strcmp(c1,c2)<0); };
protected:
    char *name;
    void *value;
    char *format;

    friend class cmdline;
};

/* Command line class */
class cmdline 
{
public:
    cmdline& operator+(clopt &_o) {
        olist[_o.name] = &_o;
        return *this;
    };
    void extract(int argc, char* argv[]);
    std::vector<char*> param;

private:
    std::map<char*,clopt*,clopt> olist;
};

inline void cmdline::extract(int argc, char* argv[])
{
    for (int i=0; i<argc; i++) {
        if (argv[i][0] == _opt_sign) {
            clopt *_o = olist[argv[i]+1];
            if (_o) 
                if (_o->format) {
                    i++; if (i >= argc) return;
                    sscanf(argv[i],_o->format,_o->value);
                } else *((bool *)_o->value) = true;
        } else {
            param.push_back(argv[i]);
        }
    }
}

// --------------------------------------------------------
// Sample usage 
// --------------------------------------------------------

#include <iostream>
using namespace std;
main(int argc, char* argv[]) 
{
    int  intval  = 1;     // Default value
    bool boolval = false; // Default value
    float floatval = -1.0;
    cmdline cl;

    cl +clopt("intval",&intval,"%d") 
       +clopt("boolval",&boolval)
       +clopt("floatval",&floatval,"%f");
    // .............

    cl.extract(argc,argv);

    cout << "intval=" << intval << endl 
         << "boolval=" << boolval << endl
         << "floatval=" << floatval << endl;
    return 0;
}





From MAILER-DAEMON Thu Mar 06 19:21:01 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18r5X6-0004XV-00
	for mharc-bug-commoncpp@gnu.org; Thu, 06 Mar 2003 19:16:16 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18r3M5-0005HE-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 16:56:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18r3Lz-0005BI-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 16:56:42 -0500
Received: from blv-smtpout-01.boeing.com ([130.76.32.69])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18r3Lk-0004xl-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 16:56:24 -0500
Received: from stl-av-01.boeing.com ([192.76.190.6])
	by blv-smtpout-01.boeing.com (8.9.2/8.8.5-M2) with ESMTP id NAA02356
	for <bug-commoncpp@gnu.org>; Thu, 6 Mar 2003 13:56:22 -0800 (PST)
Received: from blv-hub-01.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.9.3/8.9.2/MBS-AV-02) with ESMTP id PAA17310
	for <bug-commoncpp@gnu.org>; Thu, 6 Mar 2003 15:56:21 -0600 (CST)
Received: from ace.peanuts.boeing.com (ace.knt.boeing.com [134.52.222.8])
	h26Lu8V00479
	for <bug-commoncpp@gnu.org>; Thu, 6 Mar 2003 13:56:09 -0800 (PST)
Received: from ace.peanuts.boeing.com (localhost.localdomain [127.0.0.1])
	by ace.peanuts.boeing.com (8.12.5/8.12.6) with ESMTP id h26Lu8ww009733
	for <bug-commoncpp@gnu.org>; Thu, 6 Mar 2003 13:56:08 -0800
Received: (from johnston@localhost)
	by ace.peanuts.boeing.com (8.12.5/8.12.5/Submit) id h26Lu8vd009731;
	Thu, 6 Mar 2003 13:56:08 -0800
X-Authentication-Warning: ace.peanuts.boeing.com: johnston set sender to
	johnston@ace.knt.boeing.com using -f
From: "Craig E. Johnston" <johnston@ace.knt.boeing.com>
To: bug-commoncpp@gnu.org
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) 
Date: 06 Mar 2003 13:56:08 -0800
Message-Id: <1046987768.1796.58.camel@ace.peanuts.boeing.com>
Mime-Version: 1.0
X-Mailman-Approved-At: Thu, 06 Mar 2003 19:16:14 -0500
Subject: Error compiling network.cpp on Solaris 8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 06 Mar 2003 21:57:32 -0000


I have run into a problem compiling commoncpp2-1.08 on a Sun running
Solaris 8.0 (SunOS 5.8).

Specifically, in the enumNetworkDevices() method of network.cpp, the
ioctl call to retrieve the MTU is no longer supported using the 'ifreq'
structure from "include/net/if.h".  Sun has moved to an IPv6
implementation that uses a structure named 'lifreq'.  Some ioctl() calls
are still supported for backward compatibility, but not the
ifreq.ifr_mtu union member for the SIOCGIFMTU call.

The following diff is my workaround. (watch the line wrap)

*** network.cpp 2003-03-04 11:51:17.000000000 -0800
--- /project/commoncpp2-1.0.8/src/network.cpp   2003-01-23
06:33:55.000000000 -0800
***************
*** 121,138 ****
                else
                        (InetAddress&)maskaddr =
((sockaddr_in&)devifreq.ifr_addr).sin_addr;

- #ifdef CEJ_SOLARIS_FIX
                if(ioctl(fd, SIOCGIFMTU, &devifreq) == -1)
                        mtu = 0;
                else
                        mtu = devifreq.ifr_mtu;
- #else
-               struct lifreq devlifreq;
-               if(ioctl(fd, SIOCGLIFMTU, &devlifreq) == -1)
-                       mtu = 0;
-               else
-                       mtu = devlifreq.lifr_mtu;
- #endif

               
devs.push_back(NetworkDeviceInfo(ifc.ifc_req[i].ifr_name, addr, brdaddr,
maskaddr, mtu));
        }
--- 121,130 ----


Craig Johnston
craig.e.johnston@boeing.com



From MAILER-DAEMON Thu Mar 06 22:26:37 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18r8VJ-0007rt-00
	for mharc-bug-commoncpp@gnu.org; Thu, 06 Mar 2003 22:26:37 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18r8VG-0007op-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 22:26:34 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18r8VF-0007n9-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 22:26:34 -0500
Received: from smtp.cs.curtin.edu.au ([134.7.1.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18r8Uc-0007H2-00
	for bug-commoncpp@gnu.org; Thu, 06 Mar 2003 22:25:55 -0500
Received: from ladybird.cs.curtin.edu.au ([134.7.3.70] helo=cs.curtin.edu.au)
	by smtp.cs.curtin.edu.au with esmtp (Exim 3.36 #8)
	id 18r8Tw-0006hD-00; Fri, 07 Mar 2003 11:25:12 +0800
Message-ID: <3E681139.7010604@cs.curtin.edu.au>
Date: Fri, 07 Mar 2003 11:25:45 +0800
From: James Cooper <jc@cs.curtin.edu.au>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: "Orlov, Yuriy" <Yuriy.Orlov@schwab.com>
References: <539183EE2CDFD31186CF00508B6BF64D02787FBB@n7006jmx.mash.schwab.com>
In-Reply-To: <539183EE2CDFD31186CF00508B6BF64D02787FBB@n7006jmx.mash.schwab.com>
Content-Type: multipart/mixed;
 boundary="------------010509000703010604000901"
cc: "'orlovy@yahoo.com'" <orlovy@yahoo.com>
cc: "'bug-commoncpp@gnu.org'" <bug-commoncpp@gnu.org>
Subject: Re: CmdLineOptions
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 07 Mar 2003 03:26:35 -0000

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

Well...  If we are doing show-and-tell...  My version  (lets call int 
YAG) (attached)  is also an improvement on the commoncpp getopts().  It  
does  command line parsing, produces a synopsis, does the on-line 
documentation, allows iterate argments and parameter grouping and 
manditory arguments.  It takes  2 lines of code in main() to process 
the  arguments plus one line per command line parameter.  I welcome your 
comments...



Orlov, Yuriy wrote:

>Hello guys!
>
>	You are doing great job. Common C++ library is very usefull tool for
>developers. 
>I think many programmers around the world spent many time to develop their
>own wrapers realization  
>for system dependent calls, unfortunately including me. 
>
>But one comment about your command line option mechanizm. I think it to
>complicated for most task that 
>programmers sovling each day, and may be usefull just for big projects.
>Please look to my solution below.
>
>Regards,
>Yuri Orlov
>
>#include <map>
>#include <vector>
>#include <stdio.h>
>
>#define _opt_sign '-'
>
>/* Command line option class */
>class clopt 
>{
>public:
>    clopt() :
>      name(NULL), value(NULL), format(NULL) {};
>    clopt(char *_name, void *_value,char *_format = NULL) :
>      name(_name), value(_value), format(_format) {};
>
>    bool operator () (const char* c1, const char* c2) const
>        { return (strcmp(c1,c2)<0); };
>protected:
>    char *name;
>    void *value;
>    char *format;
>
>    friend class cmdline;
>};
>
>/* Command line class */
>class cmdline 
>{
>public:
>    cmdline& operator+(clopt &_o) {
>        olist[_o.name] = &_o;
>        return *this;
>    };
>    void extract(int argc, char* argv[]);
>    std::vector<char*> param;
>
>private:
>    std::map<char*,clopt*,clopt> olist;
>};
>
>inline void cmdline::extract(int argc, char* argv[])
>{
>    for (int i=0; i<argc; i++) {
>        if (argv[i][0] == _opt_sign) {
>            clopt *_o = olist[argv[i]+1];
>            if (_o) 
>                if (_o->format) {
>                    i++; if (i >= argc) return;
>                    sscanf(argv[i],_o->format,_o->value);
>                } else *((bool *)_o->value) = true;
>        } else {
>            param.push_back(argv[i]);
>        }
>    }
>}
>
>// --------------------------------------------------------
>// Sample usage 
>// --------------------------------------------------------
>
>#include <iostream>
>using namespace std;
>main(int argc, char* argv[]) 
>{
>    int  intval  = 1;     // Default value
>    bool boolval = false; // Default value
>    float floatval = -1.0;
>    cmdline cl;
>
>    cl +clopt("intval",&intval,"%d") 
>       +clopt("boolval",&boolval)
>       +clopt("floatval",&floatval,"%f");
>    // .............
>
>    cl.extract(argc,argv);
>
>    cout << "intval=" << intval << endl 
>         << "boolval=" << boolval << endl
>         << "floatval=" << floatval << endl;
>    return 0;
>}
>
>
>
>
>_______________________________________________
>Bug-commoncpp mailing list
>Bug-commoncpp@gnu.org
>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>
>  
>

-- 
James Cooper                ,-_|\  E-mail: jc@cs.curtin.edu.au
Curtin University          /     \ Phone:  +61 8 9266 2948
GPO Box U1987, PERTH       $_,-._/ Fax:    +61 8 9266 2819
WA 6845, Australia              v  CRICOS provider code: 00301J


--------------010509000703010604000901
Content-Type: application/octet-stream;
 name="getargs.taz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="getargs.taz"

H4sIAKEwQz4AA+w9a3PbtrL5av4KXPVMLSWWItmOPVeK23Edt/Udx8513Ntm2kyGIiGJDUWo
JOXHyUl/+90HAIIU5VcTJ+c0nEwsgcBid7FY7AOAxjL303H2+MFHfLrdze52twt/u5sbGxv4
t9vtrfNffh50t7fWu1sb3fXe5oNur7v9ZOOBePIxkTLPPAMGCPHg9+DqelBtNLoPhO73Gevx
j5L8hZ/6004wm33oPmA8u1tXjP/2Zg/G/8nWZm99a317C+pvrD9ZfyC6HxqRuudvPv7eV1ES
xPNQioYVgUmjKH0aBPnlTH7jeeZ1v28+NQOVZLkIJsDAUeyP1wS8EQ9RoGS+JvhtlqdRMhah
zII0muWRStaEt7LCL7G+osJMN07m0/0LfzqLZWYgYPlz/8IUtzwBT1/MCAXutwTdAizBKkF4
561M3zCeYkfwhwGWqTQaR4kfQ+lDU4zdRUmkaW4NvPfC885UFIoST2wFDR24duRPJUBCzsqx
TBvUBWC1p6Yzlcgkz+BtDwB6DNCBl0nDY+Tuw4eACwJGXAzmvzYfEjRL1qNHrwGen6uoSfUJ
8DXjb+b/c/+tHEWx/Bgyds38X9/ceIL6v7fV3dreeAK6oAdFvS/z/z4e7+XJHgjNP5ovTo5/
ONp9vt/CFUAE0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QSI3iDfZ/3EUEIwEYsrDSzeQo3/oCLol6en+cn
ZrUcDooe/K1GzHl2DLshDHGMMnNVAtQxxEhwsL5AMML2EToSJirAhdB46RrFHM8bsUoSog2g
fVkME6q7GeS07EL9Yb4fj7ITaESDG6pkUIi2Y+ufFicDkjKMhFHgx0Zg6vWLXjdfdlYZGLKj
wbHKfIXLAJD5mF1BebsAz6snYwR+CWpBaJ1MBHFKe33CiCCTQ4LapOBASuxTS9i+3oWKnFtD
wyF3BzSPYL+AxU4DC4vwQlpq0pFcurSz/NYffFQ/zpicmmD6a40QSh9jdRiTuNf/MDj/ACtp
V/U2UCW4a6Ktfntrofu1WmqOs65oTrZHvgD4VWoXaFM0pNFQzxeX4x6s6raHGHqUi36uOkCj
H2GvgtiCQhOMB4wu0YUVn9pJ9ZXZEMTYwnWBlg6sfkEIcmpAAlAHTjXKoVbg94R/2rcDslgG
kB8E+iF+dgO1/Z8EVp1nu3/feyaWHb2sPKOJBeuKkKQCszmw6jxTq077ePAJx5RYZP7gZfgO
c1gShVh0YgwIUEDEFKOb/5ym/N0i/ZnXAf4Kyv7prSX4btt5pZj+PBh1xWopyi68nz+p4iMX
wcNZK+8YSt6yCUlWJ21NUqE34QpdVVboTZMKXXGF3sQr9Ga2FeKMeh+jlbqyLoeYs7Y253rg
6CoR/VJ1NLH6Cuk5oZYeDbSP1ziEimUlqmWV2gzF73zT5hMfZtC/wlnxdIbZ1F/hLOJABb/N
z2hmPvqY7PpBpAD+3ulVCvoQz/O9HTXze3+za4H69f33dO743faOpouVaacLSO3T2947/L2E
P6/Mz0WVY9v9FJ7rkUGZbEk+E2zZkCOrGcmPT/9Sb7BsvA1JDwHaAyOwlPqWkOv+DF3b+r/b
uZ/nauF5mqd5mqd5mqd5mqd5mqd5mqd5mqd5mqd5mqea9L+t+Jw0AEABAA==
--------------010509000703010604000901--




From MAILER-DAEMON Sat Mar 08 12:13:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18rhsB-0001Uq-00
	for mharc-bug-commoncpp@gnu.org; Sat, 08 Mar 2003 12:12:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18rhr1-0000lh-00
	for bug-commoncpp@gnu.org; Sat, 08 Mar 2003 12:11:23 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18rhoN-0007p4-00
	for bug-commoncpp@gnu.org; Sat, 08 Mar 2003 12:08:41 -0500
Received: from mail.zepton.net ([63.103.225.21] helo=mail.infinera.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18rhlL-0006Dm-00
	for bug-commoncpp@gnu.org; Sat, 08 Mar 2003 12:05:32 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C2E594.EC5EA40E"
Date: Sat, 8 Mar 2003 09:05:30 -0800
Message-ID: <D4E5EB01EE9C4645B1E89B42C5FF4E5301233805@exchange.infinera.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Porting CommonC++ on QNX
Thread-Index: AcLllOwoVQeCn6qzQrip0gFK3cJ0UA==
From: "Mukesh Kohli" <mkohli@infinera.com>
To: <bug-commoncpp@gnu.org>
Subject: Porting CommonC++ on QNX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 08 Mar 2003 17:12:29 -0000

This is a multi-part message in MIME format.

------_=_NextPart_001_01C2E594.EC5EA40E
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi,

=20

Can anybody help me with the following problem ????

=20

I am trying to port CommonC++ on QNX. My main objective is to use
FTPSocket class. I am able to build the library using -with-ftp. But I
am not able to compile the demo directory.=20

=20

I am getting following error if I try to build demos directory. Kindly
give some insight to it. Here is the dump of errors I am getting. In
first command I am trying to build whole directory using make. In second
I am trying to build just ftptest.cpp.

=20

------------------------------------------------------------------------
--

bash-2.05a# make

g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c tcp.cpp

In file included from ../include/cc++/config.h:466,

                 from ../include/cc++/socket.h:50,

                 from tcp.cpp:42:

/usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or
later

In file included from /usr/include/pthread.h:30,

                 from ../include/cc++/config.h:466,

                 from ../include/cc++/socket.h:50,

                 from tcp.cpp:42:

/usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993 or
later

In file included from ../include/cc++/config.h:473,

                 from ../include/cc++/socket.h:50,

                 from tcp.cpp:42:

/usr/include/semaphore.h:28: #error POSIX Semaphores needs P1003.1b-1993
or later

make: *** [tcp.o] Error 1

=20

=20

bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
-I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c ftptest.cpp

In file included from ../include/cc++/common.h:68,

                 from ftptest.cpp:25:

../include/cc++/xml.h:323: #error "XML support is not available."

------------------------------------------------------------------------
--

=20

=20

=20

Regards,

Mukesh Kohli

Infinera                          tel: 408-572-5318
1322 Bordeaux Dr          fax: 408-572-5343
Sunnyvale, CA 94089     email: mkohli@infinera.com

=20


------_=_NextPart_001_01C2E594.EC5EA40E
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle17
	{font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Hi,</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Can anybody help me with the following problem =
????</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I am trying to port CommonC++ on QNX. My main =
objective is
to use FTPSocket class. I am able to build the library using =
&#8211;with-ftp.
But I am not able to compile the demo directory. </span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>I am getting following error if I try to build demos directory. =
Kindly give
some insight to it. Here is the dump of errors I am getting. In first =
command I
am trying to build whole directory using make. In second I am trying to =
build
just ftptest.cpp.</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----------------------------------------------------------------=
---------</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>bash-2.05a# make</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>g++ -DHAVE_CONFIG_H -</span></font>I. -I. -I../include =
-I../include&nbsp;&nbsp;&nbsp;
-I/usr/local/include -D_GNU_SOURCE&nbsp; -Wall -ansi -pedantic -c =
tcp.cpp</p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
../include/cc++/config.h:466,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/socket.h:50,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from tcp.cpp:42:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>/usr/include/pthread.h:22: #error POSIX Threads needs =
P1003.1b-1993 or
later</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
/usr/include/pthread.h:30,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/config.h:466,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/socket.h:50,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from tcp.cpp:42:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>/usr/include/sched.h:26: #error POSIX Scheduling needs =
P1003.1b-1993 or
later</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
../include/cc++/config.h:473,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ../include/cc++/socket.h:50,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from tcp.cpp:42:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>/usr/include/semaphore.h:28: #error POSIX Semaphores needs
P1003.1b-1993 or later</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>make: *** [tcp.o] Error 1</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>bash-2.05a# g++ -DHAVE_CONFIG_H -</span></font>I. -I. =
-I../include -I../include&nbsp;&nbsp;&nbsp;
-I/usr/local/include -D_GNU_SOURCE&nbsp; -Wall -ansi -pedantic -c =
ftptest.cpp</p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>In file included from =
../include/cc++/common.h:68,</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
from ftptest.cpp:25:</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>../include/cc++/xml.h:323: #error &quot;XML support is not
available.&quot;</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>-----------------------------------------------------------------=
---------</span></font></p>

<p class=3DMsoPlainText><font size=3D2 face=3D"Courier New"><span =
style=3D'font-size:
10.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>Regards,</span></font></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
 12.0pt'>Mukesh Kohli</span></font></p>

<p class=3DMsoNormal><em><i><font size=3D3 face=3D"Times New =
Roman"><span
style=3D'font-size:12.0pt'>Infinera&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
tel: 408-572-5318</span></font></i></em><i><span =
style=3D'font-style:italic'><br>
</span></i><em><i><font color=3Dblack face=3D"Times New Roman"><span
  style=3D'color:black'>1322 Bordeaux =
Dr</span></font></i></em><em><i><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;&nbsp;&nbsp;&nbsp;
fax: 408-572-5343</span></font></i></em><i><font size=3D2 color=3Dblue =
face=3DArial><span
style=3D'font-size:10.0pt;font-family:Arial;color:blue;font-style:italic'=
><br>
</span></font></i><em><i><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
  font-family:Arial'>Sunnyvale</span></font></i></em><em><i><font =
size=3D2
 face=3DArial><span style=3D'font-size:10.0pt;font-family:Arial'>, =
</span></font></i></em><em><i><font
  size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>CA</span></font></i></em><em=
><i><font
 size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'> =
</span></font></i></em><em><i><font
  size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>94089</span></font></i></em>=
<em><i><font
size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;font-family:Arial'>&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;email:
<a =
href=3D"mailto:mkohli@infinera.com">mkohli@infinera.com</a></span></font>=
</i></em></p>

<p class=3DMsoNormal><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:
12.0pt'>&nbsp;</span></font></p>

</div>

</body>

</html>
=00
------_=_NextPart_001_01C2E594.EC5EA40E--



From MAILER-DAEMON Mon Mar 10 14:20:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18sSoL-0003rI-00
	for mharc-bug-commoncpp@gnu.org; Mon, 10 Mar 2003 14:19:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18sSo6-0003Lw-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 14:19:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18sSnx-00035s-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 14:19:22 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18sSnx-00033X-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 14:19:21 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18sSrL-00007H-00; Mon, 10 Mar 2003 20:22:51 +0100
Date: Mon, 10 Mar 2003 20:22:51 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Mukesh Kohli <mkohli@infinera.com>
Message-ID: <20030310192250.GA421@bulbasaur.rediris.es>
Mail-Followup-To: Mukesh Kohli <mkohli@infinera.com>, bug-commoncpp@gnu.org
References: <D4E5EB01EE9C4645B1E89B42C5FF4E5301233805@exchange.infinera.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D4E5EB01EE9C4645B1E89B42C5FF4E5301233805@exchange.infinera.com>
User-Agent: Mutt/1.4i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Porting CommonC++ on QNX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 10 Mar 2003 19:19:44 -0000


	Hi,

	as for the `#error "XML support is not available."', it
happens because of a bug in 1.0.8. It has been already fixed in CVS
for the next release. You can fix it replacing, in cc++/common.h, the
line "#include <cc++/xml.h>" with the following three lines:

	#ifdef COMMON_XML_PARSING
	#include <cc++/xml.h>
	#endif

	Note that this probably means that your system does not have
libxml, so the xml stuff will not be compiled.

	As for the posix issue, I am not sure what may be
happening. Do you know if QNX implements the POSIX P1003.1b standard?
In case not, it may be a really difficult to solve issue. In case yes,
it may require defining some constant.

On Sat, Mar 08, 2003 at 09:05:30AM -0800, Mukesh Kohli wrote:
> Hi,
> 
>  
> 
> Can anybody help me with the following problem ????
> 
>  
> 
> I am trying to port CommonC++ on QNX. My main objective is to use
> FTPSocket class. I am able to build the library using -with-ftp. But I
> am not able to compile the demo directory. 
> 
>  
> 
> I am getting following error if I try to build demos directory. Kindly
> give some insight to it. Here is the dump of errors I am getting. In
> first command I am trying to build whole directory using make. In second
> I am trying to build just ftptest.cpp.
> 
>  
> 
> ------------------------------------------------------------------------
> --
> 
> bash-2.05a# make
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c tcp.cpp
> 
> In file included from ../include/cc++/config.h:466,
> 
>                  from ../include/cc++/socket.h:50,
> 
>                  from tcp.cpp:42:
> 
> /usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or
> later
> 
> In file included from /usr/include/pthread.h:30,
> 
>                  from ../include/cc++/config.h:466,
> 
>                  from ../include/cc++/socket.h:50,
> 
>                  from tcp.cpp:42:
> 
> /usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993 or
> later
> 
> In file included from ../include/cc++/config.h:473,
> 
>                  from ../include/cc++/socket.h:50,
> 
>                  from tcp.cpp:42:
> 
> /usr/include/semaphore.h:28: #error POSIX Semaphores needs P1003.1b-1993
> or later
> 
> make: *** [tcp.o] Error 1
> 
>  
> 
>  
> 
> bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c ftptest.cpp
> 
> In file included from ../include/cc++/common.h:68,
> 
>                  from ftptest.cpp:25:
> 
> ../include/cc++/xml.h:323: #error "XML support is not available."
> 
> ------------------------------------------------------------------------
> --
> 
>  
> 
>  
> 
>  
> 
> Regards,
> 
> Mukesh Kohli
> 
> Infinera                          tel: 408-572-5318
> 1322 Bordeaux Dr          fax: 408-572-5343
> Sunnyvale, CA 94089     email: mkohli@infinera.com
> 
>  
> 

> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Mon Mar 10 19:15:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18sXO8-0002U6-00
	for mharc-bug-commoncpp@gnu.org; Mon, 10 Mar 2003 19:13:00 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18sXNE-0001yM-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 19:12:04 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18sXMv-0001lQ-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 19:11:46 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18sXME-0001Zq-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 19:11:02 -0500
Received: from ostel.com ([192.168.1.102])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2B0rVf31502;
	Mon, 10 Mar 2003 19:53:31 -0500
Message-ID: <3E6D2981.5070106@ostel.com>
Date: Mon, 10 Mar 2003 19:10:41 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US;
	rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Federico Montesino Pouzols <fedemp@altern.org>
References: <D4E5EB01EE9C4645B1E89B42C5FF4E5301233805@exchange.infinera.com>
	<20030310192250.GA421@bulbasaur.rediris.es>
In-Reply-To: <20030310192250.GA421@bulbasaur.rediris.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: bug-commoncpp@gnu.org
cc: Mukesh Kohli <mkohli@infinera.com>
Subject: Re: Porting CommonC++ on QNX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 11 Mar 2003 00:12:59 -0000

Which version of QNX is involved here?  I thought at some point that 
became "photon", though I recall QNX (4 and later) did adhear very close 
to Posix in general, so I am a bit surprised.

Incidently I am going to be away until late next week in Prague...

David

Federico Montesino Pouzols wrote:

>	Hi,
>
>	as for the `#error "XML support is not available."', it
>happens because of a bug in 1.0.8. It has been already fixed in CVS
>for the next release. You can fix it replacing, in cc++/common.h, the
>line "#include <cc++/xml.h>" with the following three lines:
>
>	#ifdef COMMON_XML_PARSING
>	#include <cc++/xml.h>
>	#endif
>
>	Note that this probably means that your system does not have
>libxml, so the xml stuff will not be compiled.
>
>	As for the posix issue, I am not sure what may be
>happening. Do you know if QNX implements the POSIX P1003.1b standard?
>In case not, it may be a really difficult to solve issue. In case yes,
>it may require defining some constant.
>
>On Sat, Mar 08, 2003 at 09:05:30AM -0800, Mukesh Kohli wrote:
>  
>
>>Hi,
>>
>> 
>>
>>Can anybody help me with the following problem ????
>>
>> 
>>
>>I am trying to port CommonC++ on QNX. My main objective is to use
>>FTPSocket class. I am able to build the library using -with-ftp. But I
>>am not able to compile the demo directory. 
>>
>> 
>>
>>I am getting following error if I try to build demos directory. Kindly
>>give some insight to it. Here is the dump of errors I am getting. In
>>first command I am trying to build whole directory using make. In second
>>I am trying to build just ftptest.cpp.
>>
>> 
>>
>>------------------------------------------------------------------------
>>--
>>
>>bash-2.05a# make
>>
>>g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
>>-I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c tcp.cpp
>>
>>In file included from ../include/cc++/config.h:466,
>>
>>                 from ../include/cc++/socket.h:50,
>>
>>                 from tcp.cpp:42:
>>
>>/usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or
>>later
>>
>>In file included from /usr/include/pthread.h:30,
>>
>>                 from ../include/cc++/config.h:466,
>>
>>                 from ../include/cc++/socket.h:50,
>>
>>                 from tcp.cpp:42:
>>
>>/usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993 or
>>later
>>
>>In file included from ../include/cc++/config.h:473,
>>
>>                 from ../include/cc++/socket.h:50,
>>
>>                 from tcp.cpp:42:
>>
>>/usr/include/semaphore.h:28: #error POSIX Semaphores needs P1003.1b-1993
>>or later
>>
>>make: *** [tcp.o] Error 1
>>
>> 
>>
>> 
>>
>>bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
>>-I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c ftptest.cpp
>>
>>In file included from ../include/cc++/common.h:68,
>>
>>                 from ftptest.cpp:25:
>>
>>../include/cc++/xml.h:323: #error "XML support is not available."
>>
>>------------------------------------------------------------------------
>>--
>>
>> 
>>
>> 
>>
>> 
>>
>>Regards,
>>
>>Mukesh Kohli
>>
>>Infinera                          tel: 408-572-5318
>>1322 Bordeaux Dr          fax: 408-572-5343
>>Sunnyvale, CA 94089     email: mkohli@infinera.com
>>
>> 
>>
>>    
>>
>
>  
>
>>_______________________________________________
>>Bug-commoncpp mailing list
>>Bug-commoncpp@gnu.org
>>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>>    
>>
>
>
>
>_______________________________________________
>Bug-commoncpp mailing list
>Bug-commoncpp@gnu.org
>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>  
>




From MAILER-DAEMON Tue Mar 11 12:25:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18snLG-0007OJ-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 12:15:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18snJB-0006M2-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 12:12:57 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18snGJ-0005FW-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 12:10:02 -0500
Received: from mail.zepton.net ([63.103.225.21] helo=mail.infinera.com)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18snGI-0005Dt-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 12:09:58 -0500
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 11 Mar 2003 09:09:56 -0800
Message-ID: <D4E5EB01EE9C4645B1E89B42C5FF4E530123380A@exchange.infinera.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Porting CommonC++ on QNX
Thread-Index: AcLnOfGehcU75FyOTi+OdAywRPSaowAtF6Ug
From: "Mukesh Kohli" <mkohli@infinera.com>
To: "Federico Montesino Pouzols" <fedemp@altern.org>
cc: bug-commoncpp@gnu.org
Subject: RE: Porting CommonC++ on QNX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 11 Mar 2003 17:15:04 -0000

Hello Federico,

I just got a reply from QNX guys saying that they do support POSIX
P1003.1b standard. So could you please help me out figuring out how can
I resolve the following compilation error "#error POSIX Semaphores needs
P1003.1b-1993 or later".

Regards,
Mukesh Kohli
Infinera                          tel: 408-572-5318
1322 Bordeaux Dr          fax: 408-572-5343
Sunnyvale, CA 94089     email: mkohli@infinera.com

-----Original Message-----
From: Federico Montesino Pouzols [mailto:fedemp@altern.org]=20
Sent: Monday, March 10, 2003 11:23 AM
To: Mukesh Kohli
Cc: bug-commoncpp@gnu.org
Subject: Re: Porting CommonC++ on QNX


	Hi,

	as for the `#error "XML support is not available."', it
happens because of a bug in 1.0.8. It has been already fixed in CVS
for the next release. You can fix it replacing, in cc++/common.h, the
line "#include <cc++/xml.h>" with the following three lines:

	#ifdef COMMON_XML_PARSING
	#include <cc++/xml.h>
	#endif

	Note that this probably means that your system does not have
libxml, so the xml stuff will not be compiled.

	As for the posix issue, I am not sure what may be
happening. Do you know if QNX implements the POSIX P1003.1b standard?
In case not, it may be a really difficult to solve issue. In case yes,
it may require defining some constant.

On Sat, Mar 08, 2003 at 09:05:30AM -0800, Mukesh Kohli wrote:
> Hi,
>=20
> =20
>=20
> Can anybody help me with the following problem ????
>=20
> =20
>=20
> I am trying to port CommonC++ on QNX. My main objective is to use
> FTPSocket class. I am able to build the library using -with-ftp. But I
> am not able to compile the demo directory.=20
>=20
> =20
>=20
> I am getting following error if I try to build demos directory. Kindly
> give some insight to it. Here is the dump of errors I am getting. In
> first command I am trying to build whole directory using make. In
second
> I am trying to build just ftptest.cpp.
>=20
> =20
>=20
>
------------------------------------------------------------------------
> --
>=20
> bash-2.05a# make
>=20
> g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c tcp.cpp
>=20
> In file included from ../include/cc++/config.h:466,
>=20
>                  from ../include/cc++/socket.h:50,
>=20
>                  from tcp.cpp:42:
>=20
> /usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or
> later
>=20
> In file included from /usr/include/pthread.h:30,
>=20
>                  from ../include/cc++/config.h:466,
>=20
>                  from ../include/cc++/socket.h:50,
>=20
>                  from tcp.cpp:42:
>=20
> /usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993
or
> later
>=20
> In file included from ../include/cc++/config.h:473,
>=20
>                  from ../include/cc++/socket.h:50,
>=20
>                  from tcp.cpp:42:
>=20
> /usr/include/semaphore.h:28: #error POSIX Semaphores needs
P1003.1b-1993
> or later
>=20
> make: *** [tcp.o] Error 1
>=20
> =20
>=20
> =20
>=20
> bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c
ftptest.cpp
>=20
> In file included from ../include/cc++/common.h:68,
>=20
>                  from ftptest.cpp:25:
>=20
> ../include/cc++/xml.h:323: #error "XML support is not available."
>=20
>
------------------------------------------------------------------------
> --
>=20
> =20
>=20
> =20
>=20
> =20
>=20
> Regards,
>=20
> Mukesh Kohli
>=20
> Infinera                          tel: 408-572-5318
> 1322 Bordeaux Dr          fax: 408-572-5343
> Sunnyvale, CA 94089     email: mkohli@infinera.com
>=20
> =20
>=20

> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Tue Mar 11 18:35:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18stGd-00073S-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:34:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18stDD-0005ok-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:31:11 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18stBc-00054D-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:29:33 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18st0x-0001yy-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:18:31 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2C019f06336;
	Tue, 11 Mar 2003 19:01:09 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: "Mukesh Kohli" <mkohli@infinera.com>, <bug-commoncpp@gnu.org>
Date: Tue, 11 Mar 2003 18:23:14 -0500
User-Agent: KMail/1.4.3
References: <D4E5EB01EE9C4645B1E89B42C5FF4E530123C0B7@exchange.infinera.com>
In-Reply-To: <D4E5EB01EE9C4645B1E89B42C5FF4E530123C0B7@exchange.infinera.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111823.14615.dyfet@ostel.com>
Subject: Re: FTP
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 11 Mar 2003 23:34:41 -0000

You have to use --with-ftp in the configure script.  FTP is still a bit o=
f=20
experimental code, and not well integrated into the rest of the library a=
s=20
yet.

On Wednesday 05 March 2003 09:38 pm, Mukesh Kohli wrote:
> Hi,
>
>
>
> I downloaded the latest version of commonCpp code base. I want to use
> ftp functionality of it. I am seeing that ftp.cpp <ftp://ftp.cpp/>  is
> not being compiled. Is there any specific reason why it's not being don=
e
> so. Could if anybody can send me the ftptest.cpp file? Any other things
> to be taken care in order to get ftp compile and working.
>
>
>
>
>
>
>
> Regards,
>
> Mukesh Kohli
>
> Infinera                          tel: 408-572-5318
> 1322 Bordeaux Dr          fax: 408-572-5343
> Sunnyvale, CA 94089     email: mkohli@infinera.com




From MAILER-DAEMON Tue Mar 11 18:40:13 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18stGr-00078l-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:34:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18st3O-0002pS-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:21:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18st0G-0001lH-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:17:49 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18st02-0001iS-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:17:34 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2C00Cf06328;
	Tue, 11 Mar 2003 19:00:12 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: "Georg Soffel" <Georg.Soffel@marconi.com>, bug-commoncpp@gnu.org
Date: Tue, 11 Mar 2003 18:22:16 -0500
User-Agent: KMail/1.4.3
References: <OF0EA04E29.86D18794-ONC1256CE1.004A9B57@uk.marconicomms.com>
In-Reply-To: <OF0EA04E29.86D18794-ONC1256CE1.004A9B57@uk.marconicomms.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111822.16738.dyfet@ostel.com>
cc: "Craig E. Johnston" <johnston@ace.knt.boeing.com>
cc: Federico Montesino Pouzols <fedemp@altern.org>
Subject: Re: patch for networkcpp under Solaris 2.8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 11 Mar 2003 23:34:55 -0000

This one seems solaris specific and may not be portable.  Craig has submi=
tted=20
a different solaris patch that uses lifreq on a conditional basis for=20
Solaris, and I am going to see if we can get that one to work to solve th=
is=20
issue.

On Thursday 06 March 2003 08:40 am, Georg Soffel wrote:
> Dear all,
>
> The following error in common c++ version 1.0.8:
>
> In file included from network.cpp:41:
> ../include/cc++/config.h:340:1: warning: "__EXTENSIONS__" redefined
> network.cpp:1:1: warning: this is the location of the previous definiti=
on
> network.cpp: In function `bool
>    ost::enumNetworkDevices(std::vector<ost::NetworkDeviceInfo,
>    std::allocator<ost::NetworkDeviceInfo> >&)':
> network.cpp:127: `struct ifreq' has no member named `ifr_mtu'
> *** Error code 1
>
> is fixed with the attached patch.
>
> (See attached file: patch_for_network.cpp)
>
>
> Georg Soffel




From MAILER-DAEMON Tue Mar 11 18:43:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18stPQ-0001mp-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:43:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18stPN-0001mE-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:43:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18stPL-0001kj-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:43:44 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18stPL-0001kX-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:43:43 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2C0QKf06501;
	Tue, 11 Mar 2003 19:26:20 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: "Andrew Cheyne" <acheyne@gridironsoftware.com>, <bug-commoncpp@gnu.org>
Date: Tue, 11 Mar 2003 18:48:25 -0500
User-Agent: KMail/1.4.3
References: <000701c2e1b2$8a7fe120$2202a8c0@gridironnetworks.com>
In-Reply-To: <000701c2e1b2$8a7fe120$2202a8c0@gridironnetworks.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111848.25176.dyfet@ostel.com>
cc: Federico Montesino Pouzols <fedemp@altern.org>
Subject: Re: tcpstream multiple inheritance bug
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 11 Mar 2003 23:43:46 -0000

This is true, the read and write were overloaded and ambigious in this ca=
se. =20
Perhaps we should use readData/writeData (to match the existing readLine)=
 or=20
something similar?

On Monday 03 March 2003 01:27 pm, Andrew Cheyne wrote:
> With the addition of the read(...) method to the Socket class (in
> socket.h), tcpstream now exposes an ambiguous method error when
> attempting to use the class directly.
>
> For example (application code):
>
> tpstream tcp;
>
> // take care of initializing..
> // ... eventually, we want to do a read of one char:
>
> tcp.read(buf, 1);
>
>     Since read() is defined in both Socket and std::istream, the
> compiler doesn't know which read() method to use, and complains (error)=
=2E
>
> I was able to get around this (for now), by doing:
>
> std::iostream* tcpio =3D (std::iostream*)(&tcp);
> tcpio->read(buf, 1 );
>
>    which is really ugly, but works..
>
> Andrew
>
> PS: I am not subscribed to the mailing list, so email me directly if yo=
u
> need further information.
>
> Andrew Cheyne
> Senior Software Developer
> GridIron Software
> 613.226.9445 ext. 285
> acheyne@gridironsoftware.com
> http://www.gridironsoftware.com <http://www.gridironsoftware.com/>




From MAILER-DAEMON Tue Mar 11 18:48:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18stT8-00030n-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:47:38 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18stL5-0000ds-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:39:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18stK9-0000Lz-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:38:21 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18st2L-0002UZ-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:19:57 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2C02Wf06342;
	Tue, 11 Mar 2003 19:02:32 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: "Georg Soffel" <Georg.Soffel@marconi.com>, bug-commoncpp@gnu.org
Date: Tue, 11 Mar 2003 18:24:37 -0500
User-Agent: KMail/1.4.3
References: <OF2ACD2546.08CDBE82-ONC1256CE1.00459F8E@uk.marconicomms.com>
In-Reply-To: <OF2ACD2546.08CDBE82-ONC1256CE1.00459F8E@uk.marconicomms.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111824.37110.dyfet@ostel.com>
Subject: Re: configure script bug
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 11 Mar 2003 23:47:37 -0000

The configure scripts are usually generated from autoconf/automake, so th=
is=20
sounds like a autoconf/automake bug.  But any c++ compiler can be tested =
for=20
and used with them, not just gcc.  You can override the default compiler=20
configure chooses by setting CXX before running it.

On Thursday 06 March 2003 07:49 am, Georg Soffel wrote:
> I am trying to install version 1.0.8 under Solaris 8
>
> Found a bug in the configure script line 10458:
> if test $GCC =3D yes ; then
> should probably be
> if test "$GCC" =3D yes ; then
>
> Did you ever test with a compiler other than gcc?
>
> I further get with gcc 3.2.2 the following:
>
> In file included from network.cpp:41:
> ../include/cc++/config.h:340:1: warning: "__EXTENSIONS__" redefined
> network.cpp:1:1: warning: this is the location of the previous definiti=
on
> network.cpp: In function `bool
>    ost::enumNetworkDevices(std::vector<ost::NetworkDeviceInfo,
>    std::allocator<ost::NetworkDeviceInfo> >&)':
> network.cpp:127: `struct ifreq' has no member named `ifr_mtu'
> *** Error code 1
>
> I did not go in detail with that one right know, maybe it is due to our
> local system installation.
>
> Regards,
> Georg Soffel
>
>
>
>
>
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Tue Mar 11 18:55:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18stTp-0003MN-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:48:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ssyR-0000du-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:15:55 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18sssK-0006gu-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:09:37 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18sssJ-0006ge-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:09:35 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2BNqDf06287;
	Tue, 11 Mar 2003 18:52:13 -0500
Content-Type: text/plain;
  charset="utf-8"
From: David Sugar <dyfet@ostel.com>
To: "Craig E. Johnston" <johnston@ace.knt.boeing.com>, bug-commoncpp@gnu.org
Date: Tue, 11 Mar 2003 18:14:17 -0500
User-Agent: KMail/1.4.3
References: <1046987768.1796.58.camel@ace.peanuts.boeing.com>
In-Reply-To: <1046987768.1796.58.camel@ace.peanuts.boeing.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111814.17644.dyfet@ostel.com>
cc: Federico Montesino Pouzols <fedemp@altern.org>
Subject: Re: Error compiling network.cpp on Solaris 8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 11 Mar 2003 23:48:20 -0000

Perhaps this could be tied to the _THR_SUNOS5 symbol definition rathern t=
han=20
the CEJ_... macro you use?  If so and that works for you and for other=20
sun/solaris configurations then it would be self configuring and I think =
we=20
could include this for the next release.

On Thursday 06 March 2003 04:56 pm, Craig E. Johnston wrote:
> I have run into a problem compiling commoncpp2-1.08 on a Sun running
> Solaris 8.0 (SunOS 5.8).
>
> Specifically, in the enumNetworkDevices() method of network.cpp, the
> ioctl call to retrieve the MTU is no longer supported using the 'ifreq'
> structure from "include/net/if.h".  Sun has moved to an IPv6
> implementation that uses a structure named 'lifreq'.  Some ioctl() call=
s
> are still supported for backward compatibility, but not the
> ifreq.ifr_mtu union member for the SIOCGIFMTU call.
>
> The following diff is my workaround. (watch the line wrap)
>
> *** network.cpp 2003-03-04 11:51:17.000000000 -0800
> --- /project/commoncpp2-1.0.8/src/network.cpp   2003-01-23
> 06:33:55.000000000 -0800
> ***************
> *** 121,138 ****
>                 else
>                         (InetAddress&)maskaddr =3D
> ((sockaddr_in&)devifreq.ifr_addr).sin_addr;
>
> - #ifdef CEJ_SOLARIS_FIX
>                 if(ioctl(fd, SIOCGIFMTU, &devifreq) =3D=3D -1)
>                         mtu =3D 0;
>                 else
>                         mtu =3D devifreq.ifr_mtu;
> - #else
> -               struct lifreq devlifreq;
> -               if(ioctl(fd, SIOCGLIFMTU, &devlifreq) =3D=3D -1)
> -                       mtu =3D 0;
> -               else
> -                       mtu =3D devlifreq.lifr_mtu;
> - #endif
>
>
> devs.push_back(NetworkDeviceInfo(ifc.ifc_req[i].ifr_name, addr, brdaddr=
,
> maskaddr, mtu));
>         }
> --- 121,130 ----
>
>
> Craig Johnston
> craig.e.johnston@boeing.com
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Tue Mar 11 19:08:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18stmv-0001wr-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:08:05 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18stgs-0007zu-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:01:50 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18stYs-0004wv-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:53:34 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18stJo-0000HW-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:38:00 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2C0K5f06473;
	Tue, 11 Mar 2003 19:20:05 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: James Cooper <jc@cs.curtin.edu.au>, bug-commoncpp@gnu.org
Date: Tue, 11 Mar 2003 18:42:10 -0500
User-Agent: KMail/1.4.3
References: <3E6421B2.20301@cs.curtin.edu.au>
In-Reply-To: <3E6421B2.20301@cs.curtin.edu.au>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111842.10277.dyfet@ostel.com>
cc: Federico Montesino Pouzols <fedemp@altern.org>
Subject: Re: UDPDuplex constructor fails on cygwin
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 12 Mar 2003 00:08:03 -0000

Hmmm...I was hoping to look at integrating that patch before I leave on=20
Thursday.  If so I might get a chance to look at this issue. but I think =
it's=20
not likely I will get a chance to look at it until I get back.

On Monday 03 March 2003 10:46 pm, James Cooper wrote:
> I used Makino Takaki's patch and compiled commoncpp2-1.0.8 on cygwin.
> (Thanks Makino),
> but the following program, which works on linux dumps core on cygwin
> when it tries to construct a UDPDuplex object.  Sorry if this is a know=
n
> problem.
>
> #include <iostream>
> #include <cc++/socket.h>
>
> using namespace ost;
>
> int main(int argc, char *argv[])
> {
>      int port =3D 4321;
>      char thishost[256];
>
>      gethostname(thishost,sizeof(thishost));
>
>      cout << "creating UDPDuplex socket on host \"" << thishost << "\""=
;
>      cout << " at port " << port << endl;
>      InetAddress address(thishost);
>
>      cout << "host name: " << address.getHostname()  << endl;
>
>      cout << "Got address.  So far so good." << endl;
>      UDPDuplex duplex(address, port);
>      cout << "I want to see this message from cygwin." << endl;
>
>      exit(0);
> }




From MAILER-DAEMON Tue Mar 11 19:09:58 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18stne-0002V9-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:08:50 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18staQ-0005NX-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:55:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18stWt-0004d0-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:51:32 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18ssmU-0005MF-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:03:34 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2BNk9f06260;
	Tue, 11 Mar 2003 18:46:09 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: "Orlov, Yuriy" <Yuriy.Orlov@schwab.com>,
   "'bug-commoncpp@gnu.org'" <bug-commoncpp@gnu.org>
Date: Tue, 11 Mar 2003 18:08:13 -0500
User-Agent: KMail/1.4.3
References: <539183EE2CDFD31186CF00508B6BF64D02787FBB@n7006jmx.mash.schwab.com>
In-Reply-To: <539183EE2CDFD31186CF00508B6BF64D02787FBB@n7006jmx.mash.schwab.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111808.13989.dyfet@ostel.com>
cc: "'orlovy@yahoo.com'" <orlovy@yahoo.com>
cc: Federico Montesino Pouzols <fedemp@altern.org>
Subject: Re: CmdLineOptions
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 12 Mar 2003 00:08:48 -0000

Yes, the command line parser we have is a very complicated piece of code;=
=20
perhaps overly so.  In fact, I have to admit I don't use it in Bayonne=20
because it was overly complex :), and Bayonne is a BIG project which uses=
=20
complicated command line option parsing!

I would like to think about this and see if there is anyone using the cur=
rent=20
parser.  If not, maybe this is something we want to adopt for the 1.1=20
release.

On Thursday 06 March 2003 05:01 pm, Orlov, Yuriy wrote:
> Hello guys!
>
> =09You are doing great job. Common C++ library is very usefull tool for
> developers.
> I think many programmers around the world spent many time to develop th=
eir
> own wrapers realization
> for system dependent calls, unfortunately including me.
>
> But one comment about your command line option mechanizm. I think it to
> complicated for most task that
> programmers sovling each day, and may be usefull just for big projects.
> Please look to my solution below.
>
> Regards,
> Yuri Orlov
>
> #include <map>
> #include <vector>
> #include <stdio.h>
>
> #define _opt_sign '-'
>
> /* Command line option class */
> class clopt
> {
> public:
>     clopt() :
>       name(NULL), value(NULL), format(NULL) {};
>     clopt(char *_name, void *_value,char *_format =3D NULL) :
>       name(_name), value(_value), format(_format) {};
>
>     bool operator () (const char* c1, const char* c2) const
>         { return (strcmp(c1,c2)<0); };
> protected:
>     char *name;
>     void *value;
>     char *format;
>
>     friend class cmdline;
> };
>
> /* Command line class */
> class cmdline
> {
> public:
>     cmdline& operator+(clopt &_o) {
>         olist[_o.name] =3D &_o;
>         return *this;
>     };
>     void extract(int argc, char* argv[]);
>     std::vector<char*> param;
>
> private:
>     std::map<char*,clopt*,clopt> olist;
> };
>
> inline void cmdline::extract(int argc, char* argv[])
> {
>     for (int i=3D0; i<argc; i++) {
>         if (argv[i][0] =3D=3D _opt_sign) {
>             clopt *_o =3D olist[argv[i]+1];
>             if (_o)
>                 if (_o->format) {
>                     i++; if (i >=3D argc) return;
>                     sscanf(argv[i],_o->format,_o->value);
>                 } else *((bool *)_o->value) =3D true;
>         } else {
>             param.push_back(argv[i]);
>         }
>     }
> }
>
> // --------------------------------------------------------
> // Sample usage
> // --------------------------------------------------------
>
> #include <iostream>
> using namespace std;
> main(int argc, char* argv[])
> {
>     int  intval  =3D 1;     // Default value
>     bool boolval =3D false; // Default value
>     float floatval =3D -1.0;
>     cmdline cl;
>
>     cl +clopt("intval",&intval,"%d")
>        +clopt("boolval",&boolval)
>        +clopt("floatval",&floatval,"%f");
>     // .............
>
>     cl.extract(argc,argv);
>
>     cout << "intval=3D" << intval << endl
>          << "boolval=3D" << boolval << endl
>          << "floatval=3D" << floatval << endl;
>     return 0;
> }
>
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Tue Mar 11 19:33:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18sto7-000303-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:09:19 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18stna-0002Qa-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:08:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18stmA-0001VY-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:07:19 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18sti6-0008Rk-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:03:06 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2C0jhf10154;
	Tue, 11 Mar 2003 19:45:43 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: "Ian Gough" <igough@gridironsoftware.com>, <bug-commoncpp@gnu.org>
Date: Tue, 11 Mar 2003 19:07:48 -0500
User-Agent: KMail/1.4.3
References: <000001c2df85$e6fc3d10$3102a8c0@gridironnetworks.com>
In-Reply-To: <000001c2df85$e6fc3d10$3102a8c0@gridironnetworks.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111907.48486.dyfet@ostel.com>
Subject: Re: CommonCpp2 compile errors on Win32
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 12 Mar 2003 00:09:14 -0000

This is being fixed in cvs now...

On Friday 28 February 2003 07:02 pm, Ian Gough wrote:
> latest CVS snapshot. 3 compile errors using MSVC 6 in socket.cpp
>
> ---------------------------------------------------------------
> C:\src\GridIron\revgen\xGrid\ccxx\src\socket.cpp(236) : error C2664:
> 'recv' : cannot convert parameter 2 from 'void *' to 'char *'
>         Conversion from 'void*' to pointer to non-'void' requires an
> explicit cast
>
>
>       nstat =3D::recv (so, Target, Size, 0);
>
> Target is declared as a void*, but recv's 2nd arg should be a char*
>
> ---------------------------------------------------------------
> C:\src\GridIron\revgen\xGrid\ccxx\src\socket.cpp(924) : error C4716:
> 'ost::UDPSocket::join' : must return a value
>
> UDPSocket::join does not return a value on Win32
>
> ---------------------------------------------------------------
> C:\src\GridIron\revgen\xGrid\ccxx\src\socket.cpp(954) : error C4716:
> 'ost::UDPSocket::getInterfaceIndex' : must return a value
>
> UDPSocket::getInterfaceIndex does not return a value on Win32




From MAILER-DAEMON Tue Mar 11 19:38:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18strY-0004Pv-00
	for mharc-bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:12:52 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18stqD-0003bh-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:11:29 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18sto5-0002y3-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 19:09:20 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18stH4-0007CE-00
	for bug-commoncpp@gnu.org; Tue, 11 Mar 2003 18:35:10 -0500
Received: from localhost.sys ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2C0HZf06450;
	Tue, 11 Mar 2003 19:17:36 -0500
Content-Type: text/plain;
  charset="iso-8859-1"
From: David Sugar <dyfet@ostel.com>
To: "Ian Gough" <igough@gridironsoftware.com>, <bug-commoncpp@gnu.org>
Date: Tue, 11 Mar 2003 18:39:40 -0500
User-Agent: KMail/1.4.3
References: <001501c2e260$0b28b470$3102a8c0@gridironnetworks.com>
In-Reply-To: <001501c2e260$0b28b470$3102a8c0@gridironnetworks.com>
MIME-Version: 1.0
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303111839.40690.dyfet@ostel.com>
cc: Federico Montesino Pouzols <fedemp@altern.org>
Subject: Re: Compile problems on Mac OSX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 12 Mar 2003 00:12:49 -0000

Strangely enough, I actually have a brand new G4 sitting here today...I w=
ill=20
probably get a chance to look at some of these macosx issues after I get =
back=20
from Prague, at the end of the month.

On Tuesday 04 March 2003 10:09 am, Ian Gough wrote:
> Using a snapshot from Friday or so:
>
> g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
> -I/usr/local/include -D_GNU_SOURCE -Wall -ansi -pedantic -I../include -=
c
> socket.cpp -MT socket.lo -MD -MP -MF .deps/socket.TPlo  -fno-common
> -DPIC -o .libs/socket.lo
> cc1plus: warning: changing search order for system directory
> "/usr/local/include"
> cc1plus: warning:   as it has already been specified as a non-system
> directory
> socket.cpp: In member function `ost::Socket::Error
> ost::UDPSocket::join(const
>    ost::InetMcastAddress&, int)':
> socket.cpp:907: aggregate `ost::ip_mreqn group' has incomplete type and
> cannot
>    be defined
> socket.cpp: In member function `ost::Socket::Error
>    ost::UDPSocket::getInterfaceIndex(const char*, int&)':
> socket.cpp:932: aggregate `ost::ip_mreqn mreqn' has incomplete type and
> cannot
>    be defined
> socket.cpp:946: `SIOCGIFINDEX' undeclared (first use this function)
> socket.cpp:946: (Each undeclared identifier is reported only once for
> each
>    function it appears in.)
> socket.cpp:949: `struct ifreq' has no member named `ifr_ifindex'




From MAILER-DAEMON Wed Mar 12 08:22:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18t6AM-0005Gv-00
	for mharc-bug-commoncpp@gnu.org; Wed, 12 Mar 2003 08:21:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18sVpf-0006CG-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 17:33:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18sVpc-0006An-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 17:33:17 -0500
Received: from raven.ecs.soton.ac.uk ([152.78.70.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18sVoT-0005rx-00
	for bug-commoncpp@gnu.org; Mon, 10 Mar 2003 17:32:05 -0500
Received: from crow.ecs.soton.ac.uk (crow.ecs.soton.ac.uk [152.78.71.3])
	by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id WAA27775
	for <bug-commoncpp@gnu.org>; Mon, 10 Mar 2003 22:32:03 GMT
Received: from ecs.soton.ac.uk (ug-vpn19 [152.78.236.19])
	by crow.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id WAA14137
	for <bug-commoncpp@gnu.org>; Mon, 10 Mar 2003 22:32:00 GMT
Message-ID: <3E6D1261.8040002@ecs.soton.ac.uk>
Date: Mon, 10 Mar 2003 22:32:01 +0000
From: Jon Wilson <jdw100@ecs.soton.ac.uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-ECS-MailScanner: Found to be clean
X-Mailman-Approved-At: Wed, 12 Mar 2003 08:21:00 -0500
Subject: Threads in MingW gcc3.2
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 10 Mar 2003 22:34:32 -0000

I have the following code, none of the threads seem to do anything!
Have I misused the library? Each
cout << (new MyThread(i))->start() << endl;
prints 0.
Or could there be a bug?
Thanks.
Jon Wilson

#include <string>
#include <iostream>
#include <cc++/thread.h>
using namespace std;
using namespace ost;
class MyThread : public Thread{
     public:
         MyThread(int i){
                 this->i=i;
         }
         void run(){
                 cout << "RUNNING " << i << endl;
                 for(int j=0;j<100;j++){
                     cout << "Thread " << i << endl;
                 }
         }
     private:
         int i;
};

int main(int argc,char **argv){
     try{
         for(int i=0;i<5;i++){
             cout << "Thread " << i << " Starting " << (new 
MyThread(i))->start() << endl;
         }
     }catch(string& s){
         cout << "Error " << s << endl;
     }
}





From MAILER-DAEMON Thu Mar 13 04:25:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18tOx9-0007vZ-00
	for mharc-bug-commoncpp@gnu.org; Thu, 13 Mar 2003 04:24:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18tOwo-0007gR-00
	for bug-commoncpp@gnu.org; Thu, 13 Mar 2003 04:24:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18tOwW-00077U-00
	for bug-commoncpp@gnu.org; Thu, 13 Mar 2003 04:24:07 -0500
Received: from [164.15.59.200] (helo=resu1.ulb.ac.be)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18tOsA-0002vx-00
	for bug-commoncpp@gnu.org; Thu, 13 Mar 2003 04:19:34 -0500
Received: from mach.vub.ac.be (mach.ulb.ac.be [164.15.128.3]) by
	resu1.ulb.ac.be (8.8.8/3.17.1.ap (resu))        id KAA21006;
	Thu, 13 Mar 2003 10:16:24 +0100 (MET) for <bug-commoncpp@gnu.org>
Received: from cfao20.ulb.ac.be (cfao20.ulb.ac.be [164.15.80.120]) by
	mach.vub.ac.be (8.9.3/3.13.3.ap (mach))        id KAA20385;
	Thu, 13 Mar 2003 10:17:59 +0100 (MET) for <bug-commoncpp@gnu.org>
From: Pascal Francq <pfrancq@ulb.ac.be>
To: bug-commoncpp@gnu.org
Date: Thu, 13 Mar 2003 10:17:58 +0100
User-Agent: KMail/1.5.9.1i
MIME-Version: 1.0
Content-Disposition: inline
Organization: =?iso-8859-1?q?Universit=E9=20Libre=20de?= Bruxelles
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303131017.58700.pfrancq@ulb.ac.be>
Subject: Srange problems with FixedBuffer
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 13 Mar 2003 09:24:41 -0000

Hi,
I have a strange problem when using a class that both derived from TCPSessi=
on=20
and FixedBuffer.

 GClient : public ost::TCPSession, public ost::FixedBuffer
{
	....
}

GClient c;
c.start();
c.post(msg),

When I debug this problem, in the post method (comming from Buffer), when i=
t=20
lmust run onPost (in FixedBuffer), the program halt with the message "pure=
=20
virtual function called". In fact, onPost is pure in Buffer but overwritten=
=20
in FixedBuffer.
Anyone an idea?
=2D-=20


Ir Pascal Francq
Researcher
Universit=E9 Libre de Bruxelles
CAD/CAM Department
Avenue F.D. Roosevelt, 50
CP 165/14
B-1050 Brussels
BELGIUM
Tel. +32-2-650 47 65
=46ax +32-2-650 47 24
ICQ: 91206668




From MAILER-DAEMON Thu Mar 13 15:54:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18tZhG-0003FJ-00
	for mharc-bug-commoncpp@gnu.org; Thu, 13 Mar 2003 15:53:02 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18tZh2-0002fy-00
	for bug-commoncpp@gnu.org; Thu, 13 Mar 2003 15:52:48 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18tZgF-0000mq-00
	for bug-commoncpp@gnu.org; Thu, 13 Mar 2003 15:52:00 -0500
Received: from moutvdom.kundenserver.de ([212.227.126.251])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18tZg3-0000ab-00
	for bug-commoncpp@gnu.org; Thu, 13 Mar 2003 15:51:47 -0500
Received: from [212.227.126.221] (helo=mrvdomng.kundenserver.de)
	by moutvdom.kundenserver.de with esmtp (Exim 3.35 #1)
	id 18tZfx-0004xX-00; Thu, 13 Mar 2003 21:51:41 +0100
Received: from [212.202.201.94] (helo=reliant.darklab.org)
	by mrvdomng.kundenserver.de with esmtp (Exim 3.35 #1)
	id 18tZfx-00071z-00; Thu, 13 Mar 2003 21:51:42 +0100
From: "Prochnow, Christian" <cproch@seculogix.de>
To: Pascal Francq <pfrancq@ulb.ac.be>,
 bug-commoncpp@gnu.org
Date: Thu, 13 Mar 2003 21:51:40 +0100
User-Agent: KMail/1.5
References: <200303131017.58700.pfrancq@ulb.ac.be>
In-Reply-To: <200303131017.58700.pfrancq@ulb.ac.be>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
Message-Id: <200303132151.40944.cproch@seculogix.de>
Subject: Re: Srange problems with FixedBuffer
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: cproch@seculogix.de
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 13 Mar 2003 20:52:58 -0000

Am Donnerstag, 13. M=E4rz 2003 10:17 schrieb Pascal Francq:
> Hi,
> I have a strange problem when using a class that both derived from
> TCPSession and FixedBuffer.
>
>  GClient : public ost::TCPSession, public ost::FixedBuffer
> {
> 	....
> }
>
> GClient c;
> c.start();
> c.post(msg),
>
> When I debug this problem, in the post method (comming from Buffer), when
> it lmust run onPost (in FixedBuffer), the program halt with the message
> "pure virtual function called". In fact, onPost is pure in Buffer but
> overwritten in FixedBuffer.
> Anyone an idea?

Maybe the object has not been completely constructed when onPost gets calle=
d.
I did run into a similar problem when using SocketPort :(

Regards,

Christian Prochnow




From MAILER-DAEMON Fri Mar 14 02:57:32 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18tk30-0008Re-00
	for mharc-bug-commoncpp@gnu.org; Fri, 14 Mar 2003 02:56:10 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18tk2b-0007lF-00
	for bug-commoncpp@gnu.org; Fri, 14 Mar 2003 02:55:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18tk23-0006lU-00
	for bug-commoncpp@gnu.org; Fri, 14 Mar 2003 02:55:12 -0500
Received: from resu1.ulb.ac.be ([164.15.59.200])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18tk1x-0006He-00
	for bug-commoncpp@gnu.org; Fri, 14 Mar 2003 02:55:05 -0500
Received: from mach.vub.ac.be (mach.ulb.ac.be [164.15.128.3]) by
	resu1.ulb.ac.be (8.8.8/3.17.1.ap (resu))        id IAA15237;
	Fri, 14 Mar 2003 08:53:24 +0100 (MET) for <bug-commoncpp@gnu.org>
Received: from cfao20.ulb.ac.be (cfao20.ulb.ac.be [164.15.80.120]) by
	mach.vub.ac.be (8.9.3/3.13.3.ap (mach))        id IAA15703;
	Fri, 14 Mar 2003 08:54:58 +0100 (MET) for <bug-commoncpp@gnu.org>
From: Pascal Francq <pfrancq@ulb.ac.be>
To: bug-commoncpp@gnu.org
Date: Fri, 14 Mar 2003 08:54:57 +0100
User-Agent: KMail/1.5.9.1i
References: <200303131017.58700.pfrancq@ulb.ac.be>
	<200303132151.40944.cproch@seculogix.de>
In-Reply-To: <200303132151.40944.cproch@seculogix.de>
MIME-Version: 1.0
Content-Disposition: inline
Organization: =?iso-8859-1?q?Universit=E9=20Libre=20de?= Bruxelles
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Message-Id: <200303140854.57987.pfrancq@ulb.ac.be>
Subject: Re: Srange problems with FixedBuffer
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 14 Mar 2003 07:56:08 -0000

1=B0) Thanks for the tip, in fact I was to fast before post was send.
2=B0) Now, I have another problem:

int main(void)
{
 	....
	GClient c;
	c.start();
 	....
	c.post(msg),
 	....
}

At the end of main, the destructor of GClient is called, but the connection=
 is=20
not closed on the server side. When I does not called the post method, the=
=20
connection is closed correctly.

On Thursday 13 March 2003 21:51, Prochnow, Christian wrote:
> Am Donnerstag, 13. M=E4rz 2003 10:17 schrieb Pascal Francq:
> > Hi,
> > I have a strange problem when using a class that both derived from
> > TCPSession and FixedBuffer.
> >
> >  GClient : public ost::TCPSession, public ost::FixedBuffer
> > {
> > 	....
> > }
> >
> > GClient c;
> > c.start();
> > c.post(msg),
> >
> > When I debug this problem, in the post method (comming from Buffer), wh=
en
> > it lmust run onPost (in FixedBuffer), the program halt with the message
> > "pure virtual function called". In fact, onPost is pure in Buffer but
> > overwritten in FixedBuffer.
> > Anyone an idea?
>
> Maybe the object has not been completely constructed when onPost gets
> called. I did run into a similar problem when using SocketPort :(
>
> Regards,
>
> Christian Prochnow

=2D-=20


Ir Pascal Francq
Researcher
Universit=E9 Libre de Bruxelles
CAD/CAM Department
Avenue F.D. Roosevelt, 50
CP 165/14
B-1050 Brussels
BELGIUM
Tel. +32-2-650 47 65
=46ax +32-2-650 47 24
ICQ: 91206668




From MAILER-DAEMON Sat Mar 15 23:06:19 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18uPP4-00025S-00
	for mharc-bug-commoncpp@gnu.org; Sat, 15 Mar 2003 23:05:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18uPOo-0001Fi-00
	for bug-commoncpp@gnu.org; Sat, 15 Mar 2003 23:05:26 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18uPOM-0007vJ-00
	for bug-commoncpp@gnu.org; Sat, 15 Mar 2003 23:05:02 -0500
Received: from mail.gmx.net ([213.165.64.20])
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18uPOK-0007kv-00
	for bug-commoncpp@gnu.org; Sat, 15 Mar 2003 23:04:56 -0500
Received: (qmail 26801 invoked by uid 0); 16 Mar 2003 04:04:52 -0000
Received: from pD958C2D4.dip.t-dialin.net (HELO gate.home) (217.88.194.212)
  by mail.gmx.net (mp023-rz3) with SMTP; 16 Mar 2003 04:04:52 -0000
Received: from crunch2.home ([192.168.1.10] helo=there)
	by gate.home with smtp (Exim 3.35 #1 (Debian))
	id 18uPOD-0001am-00
	for <bug-commoncpp@gnu.org>; Sun, 16 Mar 2003 05:04:49 +0100
From: Onno Kortmann <onno@gmx.net>
To: bug-commoncpp@gnu.org
Date: Sun, 16 Mar 2003 05:04:52 +0100
X-Mailer: KMail [version 1.3.2]
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="------------Boundary-00=_40QTFQ3AHKR3KMRC261R"
Message-Id: <E18uPOD-0001am-00@gate.home>
Subject: demo directory did not build, general questions
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 16 Mar 2003 04:05:38 -0000


--------------Boundary-00=_40QTFQ3AHKR3KMRC261R
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hi!
I'm new here.
I tried to build your demo directory of commoncpp2 and ran into two errors on 
my 
debian testing system with gcc 2.95.4. The compiler was not sure which "read" 
function to choose:

XXXXX
$ make -k
c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -g -O2 -D_GNU_SOURCE 
 -
Wall -ansi -pedantic -c urlfetch.cpp
urlfetch.cpp: In function `int main(int, char **)':
urlfetch.cpp:83: request for member `read' is ambiguous
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:143: 
can
didates are: class istream & istream::read(void *, int)
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:141: 
can
didates are: class istream & istream::read(signed char *, int)
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:139: 
can
didates are: class istream & istream::read(unsigned char *, int)
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:137: 
can
didates are: class istream & istream::read(char *, int)
../include/cc++/socket.h:776:                 ssize_t ost::Socket::read(void 
*, 
unsigned int, char = 0, long unsigned int = 0)
make: *** [urlfetch.o] Fehler 1
c++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include    -g -O2 -D_GNU_SOURCE 
 -
Wall -ansi -pedantic -c xmlfetch.cpp
xmlfetch.cpp: In method `int myXMLParser::read(unsigned char *, int)':
xmlfetch.cpp:60: request for member `read' is ambiguous
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:143: 
can
didates are: class istream & istream::read(void *, int)
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:141: 
can
didates are: class istream & istream::read(signed char *, int)
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:139: 
can
didates are: class istream & istream::read(unsigned char *, int)
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/iostream.h:137: 
can
didates are: class istream & istream::read(char *, int)
../include/cc++/socket.h:776:                 ssize_t ost::Socket::read(void 
*, 
unsigned int, char = 0, long unsigned int = 0)
make: *** [xmlfetch.o] Fehler 1
make: Das Target »all« wurde wegen Fehlern nicht aktualisiert.
$   
XXXXX

A patch is appended.

And, after browsing your doxygen documentation, I have a rather simple 
question left:
Is there any function I can use to easily convert between string and int and 
float/double in common c++?
I'm not talking about things you may do with << operators.

People (Professionals!) I've talked to mostly prefer to use the C functions 
(atof etc.) a temporary strstream and hide this mechanism in their own little 
libraries, but this can't be the obvious solution?!
The current solution is also my "own little library", but I want to abolish 
it and use something like common c++ instead.

And another question: What's about the endianess of your persistency 
framework - is it supposed to reread object states only on the system which 
created them? Or should it work across different architectures?
At the moment, it seems that the endianess and the size of the written data 
(e.g. int=32 bit on i386) is fixed to the values the current system supports.

Regards,

Onno

--------------Boundary-00=_40QTFQ3AHKR3KMRC261R
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="demo-build.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="demo-build.diff"

PyBkZW1vL25ldGRldmljZXMKPyBkZW1vL3Bpbwo/IGRlbW8vc2hhZGlnZXN0Cj8gZG9jL2NvbW1v
bmNwcDIuaW5mbwo/IGRvYy9jb21tb25jcHAyLmluZm8tMQo/IGRvYy9jb21tb25jcHAyLmluZm8t
Mgo/IGRvYy9jb21tb25jcHAyLmluZm8tMwo/IHNzbC9NYWtlZmlsZQo/IHNzbC9NYWtlZmlsZS5p
bgo/IHdpbjMyL0NDWFgyLnJjCkluZGV4OiBkZW1vL3VybGZldGNoLmNwcAo9PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJD
UyBmaWxlOiAvY3Zzcm9vdC9jb21tb25jcHAvY29tbW9uY3BwMi9kZW1vL3VybGZldGNoLmNwcCx2
CnJldHJpZXZpbmcgcmV2aXNpb24gMS4yCmRpZmYgLWQgLXUgLXIxLjIgdXJsZmV0Y2guY3BwCi0t
LSBkZW1vL3VybGZldGNoLmNwcAk4IE1hciAyMDAyIDIzOjA4OjI3IC0wMDAwCTEuMgorKysgZGVt
by91cmxmZXRjaC5jcHAJMTYgTWFyIDIwMDMgMDM6NDU6MDggLTAwMDAKQEAgLTgwLDcgKzgwLDgg
QEAKIAkJCWNvdXQgPDwgImxvYWRpbmcuLi4iIDw8IGVuZGw7CiAJCQl3aGlsZSghdXJsLmVvZigp
KQogCQkJewotCQkJCXVybC5yZWFkKGNidWYsIHNpemVvZihjYnVmKSk7CisJCQkJc3RkOjppc3Ry
ZWFtICZzdHJlYW11cmw9dXJsOworCQkJCXN0cmVhbXVybC5yZWFkKGNidWYsIHNpemVvZihjYnVm
KSk7CiAJCQkJbGVuID0gdXJsLmdjb3VudCgpOwogCQkJCWlmKGxlbiA+IDApCiAJCQkJCWNvdXQu
d3JpdGUoY2J1ZiwgbGVuKTsKSW5kZXg6IGRlbW8veG1sZmV0Y2guY3BwCj09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNT
IGZpbGU6IC9jdnNyb290L2NvbW1vbmNwcC9jb21tb25jcHAyL2RlbW8veG1sZmV0Y2guY3BwLHYK
cmV0cmlldmluZyByZXZpc2lvbiAxLjIKZGlmZiAtZCAtdSAtcjEuMiB4bWxmZXRjaC5jcHAKLS0t
IGRlbW8veG1sZmV0Y2guY3BwCTMwIERlYyAyMDAyIDEyOjM0OjM2IC0wMDAwCTEuMgorKysgZGVt
by94bWxmZXRjaC5jcHAJMTYgTWFyIDIwMDMgMDM6NDU6MDkgLTAwMDAKQEAgLTU3LDcgKzU3LDgg
QEAKIAogCWludCByZWFkKHVuc2lnbmVkIGNoYXIgKmJ1ZmZlciwgaW50IGxlbikKIAl7Ci0JCVVS
TFN0cmVhbTo6cmVhZCgoY2hhciAqKWJ1ZmZlciwgbGVuKTsKKwkJaW9zdHJlYW0gJnVzPShVUkxT
dHJlYW0mKSgqdGhpcyk7CisJCXVzLnJlYWQoKGNoYXIgKilidWZmZXIsIGxlbik7CiAJCWxlbiA9
IGdjb3VudCgpOwogCQlyZXR1cm4gbGVuOwogCX0K

--------------Boundary-00=_40QTFQ3AHKR3KMRC261R--



From MAILER-DAEMON Mon Mar 17 07:30:41 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18utjd-0007GM-00
	for mharc-bug-commoncpp@gnu.org; Mon, 17 Mar 2003 07:28:57 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18utfZ-00050o-00
	for bug-commoncpp@gnu.org; Mon, 17 Mar 2003 07:24:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18utCy-0007xc-00
	for bug-commoncpp@gnu.org; Mon, 17 Mar 2003 06:55:16 -0500
Received: from raven.ecs.soton.ac.uk ([152.78.70.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18utBb-0007T0-00
	for bug-commoncpp@gnu.org; Mon, 17 Mar 2003 06:53:47 -0500
Received: from crow.ecs.soton.ac.uk (crow.ecs.soton.ac.uk [152.78.71.3])
	by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id LAA07799
	for <bug-commoncpp@gnu.org>; Mon, 17 Mar 2003 11:53:45 GMT
Received: from bigfoot.com (ug-vpn21 [152.78.236.21])
	by crow.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id LAA06025
	for <bug-commoncpp@gnu.org>; Mon, 17 Mar 2003 11:53:41 GMT
Message-ID: <3E75B741.30700@bigfoot.com>
Date: Mon, 17 Mar 2003 11:53:37 +0000
From: Jon Wilson <sendmemymail@bigfoot.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
References: <3E7469F3.80601@ecs.soton.ac.uk>
In-Reply-To: <3E7469F3.80601@ecs.soton.ac.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ECS-MailScanner: Found to be clean
Subject: Blocking IO
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 17 Mar 2003 12:28:55 -0000

Jon Wilson wrote:

> When passing a tcpstream to a function requiring an iostream and using 
> the >> and << operators, the io doesn't seem to block on reading???
> I have a program with one thread, the idea is that each sends a 
> receives data to and from each other, and that each requires the data 
> just sent by the other in order to send their next message (the 
> messages MUST be interleaved). However, on calling the >> operator, 
> the IO doesn't seem to block! I have looked at the trace of my program 
> and one thread seems to continue running past the point it requires 
> input before the other has started. Is there a way to make the 
> tcpstream block for input using the insertion operators? Or any other 
> way? I attach a fragment of code. As you can see, both spend and 
> receive should be called at the same time, both reading/writing to the 
> same network socket.
> Hope someone can help with this as it is for an important project.
> Thanks.
> Jon Wilson
> N.B: All insertion operators for defined types use the string 
> insertion method defined in std c++.
> Thread....
> void run(){
>            try{
>                tcpstream tcp("127.0.0.1:9000");
>                dc.receive(tcp);
>                tcp.close();
>            }catch(Botan::Exception& e){
>                cout << e.what();
>            }catch(...){
>                cout << "Some other error" << endl;
>            }
>        }
> Main code....
> TCPSocket tcp("127.0.0.1",9000);
>        myThread thread;
>        while(!tcp.isPendingConnection());
>        tcpstream stream(tcp);
>        dc.spend(stream);
>        stream.close();
>
> void OwnDigitalCash::spend(iostream& io){
>    RSA_PublicKey pub(*priv);
>    cout << "Sending public Key" << endl;
>    io << &pub << endl;
>    cout << "Sending this" << endl;
>    io << *this << endl;
>    if(priv==NULL)cout << "NULL" << endl;
>    cout << "Q " << priv->get_q() << endl << "P " << priv->get_p() << 
> endl << "D " << priv->get_d() << endl;
>    cout << "N " << priv->get_n() << endl << "E " << priv->get_e() << 
> endl;
>    BitCommiter bc(*priv);
>
>    SecureVector<Botan::byte> lb;
>    SecureVector<Botan::byte> rb;
>      for(int i=0;i<IDENTITYPAIRS;i++){
>        cout << "Spend " << i << endl;
>        lb << leftEncryptedKey[i];
>        rb << rightEncryptedKey[i];
>        string lk;
>        string rk;
>        cout << "Decrypting keys" << endl;
>        lk << bc.reveal(lb).value();
>        rk << bc.reveal(rb).value();
>        cout << lk << endl << rk << endl;
>        cout << "Constructing oblivious sender" << endl;
>        ObliviousSender ots(*priv);
>        cout << "Secding keys" << endl;
>        io << ots.getKey(LEFT) << endl;
>        io << ots.getKey(RIGHT) << endl;
>        cout << "Receiving Key and IV" << endl;
>        SecureVector<Botan::byte> ek;
>        SecureVector<Botan::byte> eiv;
>        io >> ek;
>        io >> eiv;
>        cout << "EK2 " << ek << endl;
>        cout << "EIV2 "<< eiv << endl;
>        cout << "Decrypting Key" << endl;
>        ots.decryptKey(ek,eiv);
>        ots.setMessages(lk,rk);
>        cout << "Sending data" << endl;
>        io << ots.getIV() << endl;
>        io << ots.getEncryptedMessage(LEFT) << endl;
>        io << ots.getEncryptedMessage(RIGHT) << endl;
>    }
> }
> void ReceivedDigitalCash::receive(iostream& io){
>    cout << "Receive" << endl;
>    io >> pub;
>    cout << "Received public key" << endl;
>    cout << "Receiving this" << endl;
>    *this<<io;
>    cout << "Received this" << endl;
>      for(int i=0;i<IDENTITYPAIRS;i++){
>        cout << "Receive " << i << endl;
>        ObliviousReceiver otr(*pub);
>        cout << "Constructed Receiver" << endl;
>        SymmetricKey skl;
>        SymmetricKey skr;
>        cout << "Reading Symmetric Keys" << endl;
>        io >> skl;
>        io >> skr;
>        cout << skl << endl << skr << endl;
>        otr.setKey(LEFT,skl);
>        otr.setKey(RIGHT,skr);
>        cout << "Sending Key and IV" << endl;
>        cout << "EK1 "<< otr.encryptKey() << endl;
>        cout << "EIV1 "<< otr.getIV() << endl;
>        io << otr.encryptKey() << endl;
>        io << otr.getIV() << endl;
>        BlockCipherModeIV iv;
>        string left;
>        string right;
>        cout << "Receiving messages" << endl;
>        io >> iv;
>        io >> left;
>        io >> right;
>        string dec=otr.decryptMessage(iv,left,right);
>        cout << "Getting half" << endl;
>        half h=otr.getHalf();
>        SecureVector<Botan::byte> sym;
>        cout << "Converting to Symmetric Key" << endl;
>        sym << dec;
>
>        SymmetricKey symKey(sym);
>              CommitmentChecker cc(symKey);
>        cc.setR1(r1);
>        BlockCipherModeIV ivBC;
>        ivBC << (h==LEFT?leftMessageIV[i]:rightMessageIV[i]);
>        cc.setMessageIV(ivBC);
>        
> cc.setEncryptedMessage(h==LEFT?leftEncryptedMessage[i]:rightEncryptedMessage[i]); 
>
>        cc.setHashedValue(h==LEFT?leftHashedValue[i]:rightHashedValue[i]);
>        decryptedIdentity[i]=cc.checkCommitment();
>    }
> }
>





From MAILER-DAEMON Tue Mar 18 06:04:43 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vEt2-0005xo-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 06:04:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vEsz-0005sH-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 06:04:01 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vEsn-0005dl-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 06:03:50 -0500
Received: from raven.ecs.soton.ac.uk ([152.78.70.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vEsf-0005Wr-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 06:03:41 -0500
Received: from crow.ecs.soton.ac.uk (crow.ecs.soton.ac.uk [152.78.71.3])
	by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id LAA29327
	for <bug-commoncpp@gnu.org>; Tue, 18 Mar 2003 11:03:40 GMT
Received: from bigfoot.com (ug-vpn21 [152.78.236.21])
	by crow.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id LAA00745
	for <bug-commoncpp@gnu.org>; Tue, 18 Mar 2003 11:03:33 GMT
Message-ID: <3E76FCFD.103@bigfoot.com>
Date: Tue, 18 Mar 2003 11:03:25 +0000
From: Jon Wilson <sendmemymail@bigfoot.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.2.1) Gecko/20021130
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
Content-Transfer-Encoding: 7bit
X-ECS-MailScanner: Found to be clean
Subject: Join not linking in threads (Compile error)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 11:04:02 -0000

I am building using MingW32 and GCC3.2, the only thing I have editied 
from v1.0.8 is to remove the #define HAVE_OLD_IOSTREAM in 
win32/config.h, but when I compile this...
#include <cc++/thread.h>
using namespace std;
using namespace ost;
class myThread:public Thread{
    public:
        myThread(){
            start();
        }
        void run(){
           
        }
};
int main(int argc, char *argv[]){
    myThread thread;
    thread.join();
       
}
I get...
g++.exe src/buffer.o src/cmdoptns.o src/date.o src/digest.o src/dir.o 
src/dso.o src/engine.o src/event.o src/exception.o src/fifo.o src/file.o 
src/friends.o src/ftp.o src/getopt1.o src/getopt.o src/groups.o 
src/inaddr.o src/keydata.o src/md5.o src/mempager.o src/mutex.o 
src/network.o src/numbers.o src/peer.o src/persist.o src/pipe.o 
src/port.o src/process.o src/semaphore.o src/serial.o src/sha.o 
src/slog.o src/socket.o src/thread.o src/threadkey.o src/unix.o 
src/url.o src/urlstring.o src/xml.o main.o  -o "commoncpp.exe" 
-L"C:/Dev-Cpp/lib" -L"C:/Work/commoncpp2-1.0.8b/win32" -lwsock32 
-lws2_32 -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include/c++"  
-I"C:/Dev-Cpp/include"  -I"c:/Dev-Cpp/include/c++/mingw32"  
-I"C:/Work/commoncpp2-1.0.8b/include"  -I"C:/Work/commoncpp2-1.0.8b/win32" 

main.o(.text+0x36):main.cpp: undefined reference to `ost::Thread::join()'
(Excuse the b in 1.0.8b, I have two copies built in the same folder)

Do you know why this could be?
__MINGW32__ is being set.
Thanks.
Jon Wilson




From MAILER-DAEMON Tue Mar 18 10:57:54 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vJRc-00034p-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 10:56:04 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vJRI-0002YX-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 10:55:44 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vJR1-0001mG-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 10:55:28 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vJQg-0000no-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 10:55:07 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vJUO-0000Au-00; Tue, 18 Mar 2003 16:58:56 +0100
Date: Tue, 18 Mar 2003 16:58:55 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Jon Wilson <sendmemymail@bigfoot.com>
Message-ID: <20030318155855.GA543@bulbasaur.rediris.es>
Mail-Followup-To: Jon Wilson <sendmemymail@bigfoot.com>,
	bug-commoncpp@gnu.org
References: <3E76FCFD.103@bigfoot.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3E76FCFD.103@bigfoot.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Join not linking in threads (Compile error)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 15:56:02 -0000


	Yes, this is a known bug in 1.0.8, join is not linked in on
win32 (not only mingw) systems since it is inside an #ifdef
WIN32. This is fixed in CVS for 1.0.9, which should be released soon,
as soon as we process some pending issues. You can fix it by moving
the definition of join outside the #ifdef WIN32 (in src/thread.cpp),
for instance right above the definition of
ThreadImpl::ThreadSigSuspend.

	As for `#define HAVE_OLD_IOSTREAM', it is needed for Mingw
systems based on gcc 2.9x, but as you have noticed, gcc 3.x does not
like it.

On Tue, Mar 18, 2003 at 11:03:25AM +0000, Jon Wilson wrote:
> I am building using MingW32 and GCC3.2, the only thing I have editied 
> from v1.0.8 is to remove the #define HAVE_OLD_IOSTREAM in 
> win32/config.h, but when I compile this...
> #include <cc++/thread.h>
> using namespace std;
> using namespace ost;
> class myThread:public Thread{
>    public:
>        myThread(){
>            start();
>        }
>        void run(){
>           
>        }
> };
> int main(int argc, char *argv[]){
>    myThread thread;
>    thread.join();
>       
> }
> I get...
> g++.exe src/buffer.o src/cmdoptns.o src/date.o src/digest.o src/dir.o 
> src/dso.o src/engine.o src/event.o src/exception.o src/fifo.o src/file.o 
> src/friends.o src/ftp.o src/getopt1.o src/getopt.o src/groups.o 
> src/inaddr.o src/keydata.o src/md5.o src/mempager.o src/mutex.o 
> src/network.o src/numbers.o src/peer.o src/persist.o src/pipe.o 
> src/port.o src/process.o src/semaphore.o src/serial.o src/sha.o 
> src/slog.o src/socket.o src/thread.o src/threadkey.o src/unix.o 
> src/url.o src/urlstring.o src/xml.o main.o  -o "commoncpp.exe" 
> -L"C:/Dev-Cpp/lib" -L"C:/Work/commoncpp2-1.0.8b/win32" -lwsock32 
> -lws2_32 -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include/c++"  
> -I"C:/Dev-Cpp/include"  -I"c:/Dev-Cpp/include/c++/mingw32"  
> -I"C:/Work/commoncpp2-1.0.8b/include"  -I"C:/Work/commoncpp2-1.0.8b/win32" 
> 
> main.o(.text+0x36):main.cpp: undefined reference to `ost::Thread::join()'
> (Excuse the b in 1.0.8b, I have two copies built in the same folder)
> 
> Do you know why this could be?
> __MINGW32__ is being set.
> Thanks.
> Jon Wilson
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



From MAILER-DAEMON Tue Mar 18 11:03:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vJYQ-00076B-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:03:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vJYN-0006wm-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:03:03 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vJYD-0006PC-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:02:53 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vJY6-00067k-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:02:46 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vJbm-0000BN-00; Tue, 18 Mar 2003 17:06:34 +0100
Date: Tue, 18 Mar 2003 17:06:33 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Mukesh Kohli <mkohli@infinera.com>
Message-ID: <20030318160633.GA681@bulbasaur.rediris.es>
Mail-Followup-To: Mukesh Kohli <mkohli@infinera.com>, bug-commoncpp@gnu.org
References: <D4E5EB01EE9C4645B1E89B42C5FF4E5301233809@exchange.infinera.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D4E5EB01EE9C4645B1E89B42C5FF4E5301233809@exchange.infinera.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Porting CommonC++ on QNX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 16:03:05 -0000


	Well, libxml is not part of cc++, it is the xml library of the
gnome project. You need to install libxml2 (see www.xmlsoft.org) on
your system if you want the xml related classes of ccpp to be built.

On Mon, Mar 10, 2003 at 03:11:30PM -0800, Mukesh Kohli wrote:
> Thanks a lot Federico.
> 
> I am able to resolve xml problem. Wanted to cross check regarding the
> libxml library? Is it a part of commonCpp code or it belongs to OS? If
> it is a part of commonCpp, I want to know how to build so that xml
> library is also being created.
> 
> I have send an email to qnx support guys in order to check there support
> for POSIX P1003.1b standard. If we assume QNX do support POSIX P1003.1b
> standard, then how can we resolve the problem I described?
> 
> Regards,
> Mukesh Kohli
> Infinera                          tel: 408-572-5318
> 1322 Bordeaux Dr          fax: 408-572-5343
> Sunnyvale, CA 94089     email: mkohli@infinera.com
> 
> -----Original Message-----
> From: Federico Montesino Pouzols [mailto:fedemp@altern.org] 
> Sent: Monday, March 10, 2003 11:23 AM
> To: Mukesh Kohli
> Cc: bug-commoncpp@gnu.org
> Subject: Re: Porting CommonC++ on QNX
> 
> 
> 	Hi,
> 
> 	as for the `#error "XML support is not available."', it
> happens because of a bug in 1.0.8. It has been already fixed in CVS
> for the next release. You can fix it replacing, in cc++/common.h, the
> line "#include <cc++/xml.h>" with the following three lines:
> 
> 	#ifdef COMMON_XML_PARSING
> 	#include <cc++/xml.h>
> 	#endif
> 
> 	Note that this probably means that your system does not have
> libxml, so the xml stuff will not be compiled.
> 
> 	As for the posix issue, I am not sure what may be
> happening. Do you know if QNX implements the POSIX P1003.1b standard?
> In case not, it may be a really difficult to solve issue. In case yes,
> it may require defining some constant.
> 
> On Sat, Mar 08, 2003 at 09:05:30AM -0800, Mukesh Kohli wrote:
> > Hi,
> > 
> >  
> > 
> > Can anybody help me with the following problem ????
> > 
> >  
> > 
> > I am trying to port CommonC++ on QNX. My main objective is to use
> > FTPSocket class. I am able to build the library using -with-ftp. But I
> > am not able to compile the demo directory. 
> > 
> >  
> > 
> > I am getting following error if I try to build demos directory. Kindly
> > give some insight to it. Here is the dump of errors I am getting. In
> > first command I am trying to build whole directory using make. In
> second
> > I am trying to build just ftptest.cpp.
> > 
> >  
> > 
> >
> ------------------------------------------------------------------------
> > --
> > 
> > bash-2.05a# make
> > 
> > g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> > -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c tcp.cpp
> > 
> > In file included from ../include/cc++/config.h:466,
> > 
> >                  from ../include/cc++/socket.h:50,
> > 
> >                  from tcp.cpp:42:
> > 
> > /usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or
> > later
> > 
> > In file included from /usr/include/pthread.h:30,
> > 
> >                  from ../include/cc++/config.h:466,
> > 
> >                  from ../include/cc++/socket.h:50,
> > 
> >                  from tcp.cpp:42:
> > 
> > /usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993
> or
> > later
> > 
> > In file included from ../include/cc++/config.h:473,
> > 
> >                  from ../include/cc++/socket.h:50,
> > 
> >                  from tcp.cpp:42:
> > 
> > /usr/include/semaphore.h:28: #error POSIX Semaphores needs
> P1003.1b-1993
> > or later
> > 
> > make: *** [tcp.o] Error 1
> > 
> >  
> > 
> >  
> > 
> > bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> > -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c
> ftptest.cpp
> > 
> > In file included from ../include/cc++/common.h:68,
> > 
> >                  from ftptest.cpp:25:
> > 
> > ../include/cc++/xml.h:323: #error "XML support is not available."
> > 
> >
> ------------------------------------------------------------------------
> > --
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > Regards,
> > 
> > Mukesh Kohli
> > 
> > Infinera                          tel: 408-572-5318
> > 1322 Bordeaux Dr          fax: 408-572-5343
> > Sunnyvale, CA 94089     email: mkohli@infinera.com
> > 
> >  
> > 
> 
> > _______________________________________________
> > Bug-commoncpp mailing list
> > Bug-commoncpp@gnu.org
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 



From MAILER-DAEMON Tue Mar 18 11:06:34 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vJbW-0003NB-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:06:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vJbD-0002sj-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:05:59 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vJas-0002Z3-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:05:38 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vJal-0002Lz-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:05:32 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vJeY-0000Bh-00; Tue, 18 Mar 2003 17:09:26 +0100
Date: Tue, 18 Mar 2003 17:09:26 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Mukesh Kohli <mkohli@infinera.com>
Message-ID: <20030318160926.GB681@bulbasaur.rediris.es>
Mail-Followup-To: Mukesh Kohli <mkohli@infinera.com>, bug-commoncpp@gnu.org
References: <D4E5EB01EE9C4645B1E89B42C5FF4E530123380A@exchange.infinera.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <D4E5EB01EE9C4645B1E89B42C5FF4E530123380A@exchange.infinera.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Porting CommonC++ on QNX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 16:06:15 -0000


	Perhaps a symbol definition is needed on QNX in order to
activate POSIX 1003.1b? I would have a look at /usr/include/sched.h to
see what #ifdefs are there around the following line:

/usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993

On Tue, Mar 11, 2003 at 09:09:56AM -0800, Mukesh Kohli wrote:
> Hello Federico,
> 
> I just got a reply from QNX guys saying that they do support POSIX
> P1003.1b standard. So could you please help me out figuring out how can
> I resolve the following compilation error "#error POSIX Semaphores needs
> P1003.1b-1993 or later".
> 
> Regards,
> Mukesh Kohli
> Infinera                          tel: 408-572-5318
> 1322 Bordeaux Dr          fax: 408-572-5343
> Sunnyvale, CA 94089     email: mkohli@infinera.com
> 
> -----Original Message-----
> From: Federico Montesino Pouzols [mailto:fedemp@altern.org] 
> Sent: Monday, March 10, 2003 11:23 AM
> To: Mukesh Kohli
> Cc: bug-commoncpp@gnu.org
> Subject: Re: Porting CommonC++ on QNX
> 
> 
> 	Hi,
> 
> 	as for the `#error "XML support is not available."', it
> happens because of a bug in 1.0.8. It has been already fixed in CVS
> for the next release. You can fix it replacing, in cc++/common.h, the
> line "#include <cc++/xml.h>" with the following three lines:
> 
> 	#ifdef COMMON_XML_PARSING
> 	#include <cc++/xml.h>
> 	#endif
> 
> 	Note that this probably means that your system does not have
> libxml, so the xml stuff will not be compiled.
> 
> 	As for the posix issue, I am not sure what may be
> happening. Do you know if QNX implements the POSIX P1003.1b standard?
> In case not, it may be a really difficult to solve issue. In case yes,
> it may require defining some constant.
> 
> On Sat, Mar 08, 2003 at 09:05:30AM -0800, Mukesh Kohli wrote:
> > Hi,
> > 
> >  
> > 
> > Can anybody help me with the following problem ????
> > 
> >  
> > 
> > I am trying to port CommonC++ on QNX. My main objective is to use
> > FTPSocket class. I am able to build the library using -with-ftp. But I
> > am not able to compile the demo directory. 
> > 
> >  
> > 
> > I am getting following error if I try to build demos directory. Kindly
> > give some insight to it. Here is the dump of errors I am getting. In
> > first command I am trying to build whole directory using make. In
> second
> > I am trying to build just ftptest.cpp.
> > 
> >  
> > 
> >
> ------------------------------------------------------------------------
> > --
> > 
> > bash-2.05a# make
> > 
> > g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> > -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c tcp.cpp
> > 
> > In file included from ../include/cc++/config.h:466,
> > 
> >                  from ../include/cc++/socket.h:50,
> > 
> >                  from tcp.cpp:42:
> > 
> > /usr/include/pthread.h:22: #error POSIX Threads needs P1003.1b-1993 or
> > later
> > 
> > In file included from /usr/include/pthread.h:30,
> > 
> >                  from ../include/cc++/config.h:466,
> > 
> >                  from ../include/cc++/socket.h:50,
> > 
> >                  from tcp.cpp:42:
> > 
> > /usr/include/sched.h:26: #error POSIX Scheduling needs P1003.1b-1993
> or
> > later
> > 
> > In file included from ../include/cc++/config.h:473,
> > 
> >                  from ../include/cc++/socket.h:50,
> > 
> >                  from tcp.cpp:42:
> > 
> > /usr/include/semaphore.h:28: #error POSIX Semaphores needs
> P1003.1b-1993
> > or later
> > 
> > make: *** [tcp.o] Error 1
> > 
> >  
> > 
> >  
> > 
> > bash-2.05a# g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../include
> > -I/usr/local/include -D_GNU_SOURCE  -Wall -ansi -pedantic -c
> ftptest.cpp
> > 
> > In file included from ../include/cc++/common.h:68,
> > 
> >                  from ftptest.cpp:25:
> > 
> > ../include/cc++/xml.h:323: #error "XML support is not available."
> > 
> >
> ------------------------------------------------------------------------
> > --
> > 
> >  
> > 
> >  
> > 
> >  
> > 
> > Regards,
> > 
> > Mukesh Kohli
> > 
> > Infinera                          tel: 408-572-5318
> > 1322 Bordeaux Dr          fax: 408-572-5343
> > Sunnyvale, CA 94089     email: mkohli@infinera.com
> > 
> >  
> > 
> 
> > _______________________________________________
> > Bug-commoncpp mailing list
> > Bug-commoncpp@gnu.org
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 



From MAILER-DAEMON Tue Mar 18 11:27:30 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vJw1-0005Rm-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:27:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vJvx-0005GY-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:27:25 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vJvc-0004qt-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:27:05 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vJvb-0004pS-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 11:27:03 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vJzK-0000CG-00; Tue, 18 Mar 2003 17:30:54 +0100
Date: Tue, 18 Mar 2003 17:30:54 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Pascal Francq <pfrancq@ulb.ac.be>
Message-ID: <20030318163054.GC681@bulbasaur.rediris.es>
Mail-Followup-To: Pascal Francq <pfrancq@ulb.ac.be>, bug-commoncpp@gnu.org
References: <200302171044.35293.pfrancq@ulb.ac.be>
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <200302171044.35293.pfrancq@ulb.ac.be>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Basic question about Common C++
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 16:27:27 -0000


	Yes, it seems that at leas a simple example should be added to
the demos. You can make a tcp client class inheriting from TCPStream
or tcpstream, or from TCPSession if you want to associate the client
with a separate thread.

On Mon, Feb 17, 2003 at 10:44:35AM +0100, Pascal Francq wrote:
> Hi,
> My question is very stupid: the examples distribute with Common C++ 
> demonstrate how servers works, but I don't not find a basic client apps that 
> can send and receive data to and from the server. Where can I find a little 
> example of such a basic application?
> Thanks in advance.
> -- 
> 
> 
> Ir Pascal Francq
> Researcher
> Université Libre de Bruxelles
> CAD/CAM Department
> Avenue F.D. Roosevelt, 50
> CP 165/14
> B-1050 Brussels
> BELGIUM
> Tel. +32-2-650 47 65
> Fax +32-2-650 47 24
> ICQ: 91206668
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



From MAILER-DAEMON Tue Mar 18 12:35:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vKy1-0008K5-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:33:37 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vKxs-0007wF-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:33:28 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vKx5-0006gk-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:32:40 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vKwI-0005Wk-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:31:50 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vL06-0001OM-00; Tue, 18 Mar 2003 18:35:46 +0100
Date: Tue, 18 Mar 2003 18:35:46 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Onno Kortmann <onno@gmx.net>
Message-ID: <20030318173546.GD681@bulbasaur.rediris.es>
Mail-Followup-To: Onno Kortmann <onno@gmx.net>, bug-commoncpp@gnu.org
References: <E18uPOD-0001am-00@gate.home>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <E18uPOD-0001am-00@gate.home>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: demo directory did not build, general questions
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 17:33:34 -0000


	Perhaps the ost::Number class (in numbers.h)?

On Sun, Mar 16, 2003 at 05:04:52AM +0100, Onno Kortmann wrote:
> 
> And, after browsing your doxygen documentation, I have a rather simple 
> question left:
> Is there any function I can use to easily convert between string and int and 
> float/double in common c++?
> I'm not talking about things you may do with << operators.
> 
> People (Professionals!) I've talked to mostly prefer to use the C functions 
> (atof etc.) a temporary strstream and hide this mechanism in their own little 
> libraries, but this can't be the obvious solution?!
> The current solution is also my "own little library", but I want to abolish 
> it and use something like common c++ instead.
> 
> Regards,
> 
> Onno


> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Tue Mar 18 12:37:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vL21-00038P-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:37:45 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vL1v-0002rM-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:37:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vL1e-0002LV-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:37:22 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vL1X-00023B-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 12:37:15 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vL5H-0001Oh-00; Tue, 18 Mar 2003 18:41:07 +0100
Date: Tue, 18 Mar 2003 18:41:06 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Ari Johnson <ariston@cs.und.edu>
Message-ID: <20030318174106.GE681@bulbasaur.rediris.es>
Mail-Followup-To: Ari Johnson <ariston@cs.und.edu>, bug-commoncpp@gnu.org
References: <Pine.GSO.4.10.10303031910130.29594-100000@agassiz.cs.und.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.10.10303031910130.29594-100000@agassiz.cs.und.edu>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Current CVS Fails to Compile on FreeBSD
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 17:37:43 -0000


	Since you see that error, it seems that IP_ADD_MEMBERSHIP and
IP_DROP_MEMBERSHIP are defined on FreeBSD. I would say that there must
be some equivalent field. On GNU/Linux systems, there are the
following lines:

#define IP_ADD_MEMBERSHIP  35   /* ip_mreq; add an IP group membership */
#define IP_DROP_MEMBERSHIP 36   /* ip_mreq; drop an IP group membership */

	in /usr/include/bits/in.h. Is there something like this on
FreeBSD?

On Mon, Mar 03, 2003 at 07:12:14PM -0600, Ari Johnson wrote:
> 
> g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
> -I/home/ari/cvswork/install/include -D_GNU_SOURCE -D_THREAD_SAFE
> -I/usr/local/include/libxml2 -I/usr/local/include -Wall -ansi -pedantic
> -I../include -c socket.cpp -Wp,-MD,.deps/socket.TPlo  -fPIC -DPIC -o
> .libs/socket.lo
> socket.cpp: In method `enum ost::Socket::Error ost::UDPSocket::join(const
> ost::InetMcastAddress &, int)':
> socket.cpp:907: aggregate `struct ost::ip_mreqn group' has incomplete type
> and cannot be initialized
> socket.cpp:918: confused by earlier errors, bailing out
> *** Error code 1
> 
> The ip_mreqn is apparently not defined on FreeBSD...I did a
> "grep ip_mreqn `find /usr/include`" and got no hits.
> 
> Ari Johnson
> 
> 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



From MAILER-DAEMON Tue Mar 18 13:12:09 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vLZI-0003Gq-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:12:08 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vLZF-00039w-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:12:05 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vLZE-00039H-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:12:04 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vLZD-000398-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:12:03 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vLcw-0001lS-00; Tue, 18 Mar 2003 19:15:54 +0100
Date: Tue, 18 Mar 2003 19:15:54 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: "Spinka, Kristofer" <kspinka@style.net>
Message-ID: <20030318181554.GF681@bulbasaur.rediris.es>
Mail-Followup-To: "Spinka, Kristofer" <kspinka@style.net>,
	bug-commoncpp@gnu.org
References: <038001c2db0a$1b50ef00$1600200a@hq.style.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <038001c2db0a$1b50ef00$1600200a@hq.style.net>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: [PATCH]: src/network.cpp
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 18:12:07 -0000


	Unfortunately, this does not compile on GNU/Linux, so it seems
that we would need a configure test. Does cc++ compile well on your
system with the old ifreq?

On Sun, Feb 23, 2003 at 02:06:36AM -0500, Spinka, Kristofer wrote:
>   This patch converts the ifreq requests of the old days to lifreq
> structure compliance.  It wasn't much work, honestly, mostly just
> "il[ESC]" (insert "l").  There were a couple other minor things, but I
> only tested this on Solaris 9, SPARC.  I'm not even sure of the extent
> of lifreq support in other UNIX implementations, sorry.  Patch
> follows...
> 
>    /kristofer
> 



From MAILER-DAEMON Tue Mar 18 13:31:55 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vLrw-0007nS-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:31:24 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vLrs-0007hC-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:31:20 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vLrj-0007Xv-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:31:12 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vLqy-0007Mx-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:30:25 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vLuS-0002vW-00; Tue, 18 Mar 2003 19:34:00 +0100
Date: Tue, 18 Mar 2003 19:33:59 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: David Sugar <dyfet@ostel.com>
Message-ID: <20030318183359.GG681@bulbasaur.rediris.es>
Mail-Followup-To: David Sugar <dyfet@ostel.com>,
	"Craig E. Johnston" <johnston@ace.knt.boeing.com>,
	bug-commoncpp@gnu.org
References: <1046987768.1796.58.camel@ace.peanuts.boeing.com>
	<200303111814.17644.dyfet@ostel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200303111814.17644.dyfet@ostel.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: "Craig E. Johnston" <johnston@ace.knt.boeing.com>
cc: bug-commoncpp@gnu.org
Subject: Re: Error compiling network.cpp on Solaris 8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 18:31:24 -0000


	I have committed this patch, but replacing 

#ifdef CEJ_SOLARIS_FIX

	with

#ifdef SIOCGIFMTU

	as it seems less Solaris-specific. Will this work on Solaris,
or is SIOCGIFMTU defined even if it does not work? In such case we
will have to add more symbols, like:

#if defined(SIOCGIFMTU) && ( !defined(_THR_SUNOS5) || defined(CEJ_SOLARIS_FIX) )

On Tue, Mar 11, 2003 at 06:14:17PM -0500, David Sugar wrote:
> Perhaps this could be tied to the _THR_SUNOS5 symbol definition rathern than 
> the CEJ_... macro you use?  If so and that works for you and for other 
> sun/solaris configurations then it would be self configuring and I think we 
> could include this for the next release.
> 
> On Thursday 06 March 2003 04:56 pm, Craig E. Johnston wrote:
> > I have run into a problem compiling commoncpp2-1.08 on a Sun running
> > Solaris 8.0 (SunOS 5.8).
> >
> > Specifically, in the enumNetworkDevices() method of network.cpp, the
> > ioctl call to retrieve the MTU is no longer supported using the 'ifreq'
> > structure from "include/net/if.h".  Sun has moved to an IPv6
> > implementation that uses a structure named 'lifreq'.  Some ioctl() calls
> > are still supported for backward compatibility, but not the
> > ifreq.ifr_mtu union member for the SIOCGIFMTU call.
> >
> > The following diff is my workaround. (watch the line wrap)
> >
> > *** network.cpp 2003-03-04 11:51:17.000000000 -0800
> > --- /project/commoncpp2-1.0.8/src/network.cpp   2003-01-23
> > 06:33:55.000000000 -0800
> > ***************
> > *** 121,138 ****
> >                 else
> >                         (InetAddress&)maskaddr =
> > ((sockaddr_in&)devifreq.ifr_addr).sin_addr;
> >
> > - #ifdef CEJ_SOLARIS_FIX
> >                 if(ioctl(fd, SIOCGIFMTU, &devifreq) == -1)
> >                         mtu = 0;
> >                 else
> >                         mtu = devifreq.ifr_mtu;
> > - #else
> > -               struct lifreq devlifreq;
> > -               if(ioctl(fd, SIOCGLIFMTU, &devlifreq) == -1)
> > -                       mtu = 0;
> > -               else
> > -                       mtu = devlifreq.lifr_mtu;
> > - #endif
> >
> >
> > devs.push_back(NetworkDeviceInfo(ifc.ifc_req[i].ifr_name, addr, brdaddr,
> > maskaddr, mtu));
> >         }
> > --- 121,130 ----
> >
> >
> > Craig Johnston
> > craig.e.johnston@boeing.com
> >
> >
> > _______________________________________________
> > Bug-commoncpp mailing list
> > Bug-commoncpp@gnu.org
> > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> 



From MAILER-DAEMON Tue Mar 18 13:34:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vLue-0005ST-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:34:12 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vLub-0005IJ-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:34:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vLuY-0005E9-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:34:07 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vLuT-0004pj-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 13:34:01 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vLyG-0002vj-00; Tue, 18 Mar 2003 19:37:56 +0100
Date: Tue, 18 Mar 2003 19:37:56 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: "Spinka, Kristofer" <kspinka@style.net>
Message-ID: <20030318183756.GH681@bulbasaur.rediris.es>
Mail-Followup-To: "Spinka, Kristofer" <kspinka@style.net>,
	bug-commoncpp@gnu.org
References: <20030318181554.GF681@bulbasaur.rediris.es>
	<Pine.GSO.4.44.0303181314080.53173-100000@node1.nsp.NJ.us.style.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.44.0303181314080.53173-100000@node1.nsp.NJ.us.style.net>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: [PATCH]: src/network.cpp
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 18:34:10 -0000


	Do you see only an error related to the ifr_mtu field? In such
case, it can be fixed with a more simple patch (see another thread in
this list).

On Tue, Mar 18, 2003 at 01:15:13PM -0500, Spinka, Kristofer wrote:
>   It doesn't work on Solari 8 or 9, but if you just make these diffs
> ifdef's it should integrate well.  Let me know if you want me to work on
> it.
> 
> 
>   /kristofer
> 
> On Tue, 18 Mar 2003, Federico Montesino Pouzols wrote:
> 
> >
> > 	Unfortunately, this does not compile on GNU/Linux, so it seems
> > that we would need a configure test. Does cc++ compile well on your
> > system with the old ifreq?
> >
> > On Sun, Feb 23, 2003 at 02:06:36AM -0500, Spinka, Kristofer wrote:
> > >   This patch converts the ifreq requests of the old days to lifreq
> > > structure compliance.  It wasn't much work, honestly, mostly just
> > > "il[ESC]" (insert "l").  There were a couple other minor things, but I
> > > only tested this on Solaris 9, SPARC.  I'm not even sure of the extent
> > > of lifreq support in other UNIX implementations, sorry.  Patch
> > > follows...
> > >
> > >    /kristofer
> > >
> >
> 



From MAILER-DAEMON Tue Mar 18 14:33:10 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vMp8-0002OW-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 14:32:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vMot-00021r-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 14:32:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vMnp-0000Ex-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 14:31:14 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vMnV-0008Bz-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 14:30:53 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vMrB-00007R-00; Tue, 18 Mar 2003 20:34:41 +0100
Date: Tue, 18 Mar 2003 20:34:41 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: David Sugar <dyfet@ostel.com>
Message-ID: <20030318193441.GI681@bulbasaur.rediris.es>
Mail-Followup-To: David Sugar <dyfet@ostel.com>,
	Makino Takaki <t-commoncpp@snowelm.com>, bug-commoncpp@gnu.org
References: <20030228132301.165A.T-COMMONCPP@snowelm.com>
	<200303011135.06663.dyfet@ostel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200303011135.06663.dyfet@ostel.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
cc: Makino Takaki <t-commoncpp@snowelm.com>
Subject: Re: Patch for Cygwin environment
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 19:32:32 -0000


	I have just committed the patch to CVS. A new EGREP check has
been added in order to check for socklen_t in cygwin/socket.h, in case
it is not defined in sys/socket.h. Let me know if there is any problem
with this modification.

On Sat, Mar 01, 2003 at 11:35:06AM -0500, David Sugar wrote:
> This I want to look at more closely.  My first concern is that it does not 
> break mingw32 cross-compiles.  I think I will have a chance to look at this 
> over the weekend.
> 
> David
> 
> On Thursday 27 February 2003 11:24 pm, Makino Takaki wrote:
> > Dear commonc++ developers,
> >
> > I'd like to post a patch to make commonc++2 compilable in a latest
> > Cygwin environment on Windows.  It seems that the commonc++2 package
> > cannot be compiled via configure script on current Cygwin release.
> > I hope that the patch helps development of this excellent library.
> >
> > The following patch is to fix the compilation error for pthread
> > emulation of Cygwin. It would be more efficient if I could make use of
> > native Win32 API, but it seems a lot of patching effort...
> > I confirmed the patch on Cygwin 1.3.19 and commoncpp2 1.0.8.
> >
> > The changes are:
> >  * Remove !defined(__CYGWIN32__) from #if surronding PosixThread class.
> >  * Disabled PosixThread::waitSignal when sigwait() is not available. I'm
> >    not sure why sigwait() is disabled on Cygwin, and I don't know
> >    what workaround is available for it.  Anyway it seems working happily
> >    without PosixThread::waitSignal member function.
> >  * Added some stuff for socklen_t.  Current configure script cannot find
> >    socklen_t in Cygwin; socklen_t is #define'd under cygwin/socket.h,
> >    but configure applies EGREP_HEADER to only sys/socket.h.  Though my
> >    patch for this problem may be too naive...
> >
> > Best regards,



From MAILER-DAEMON Tue Mar 18 15:07:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vNMG-0000cP-00
	for mharc-bug-commoncpp@gnu.org; Tue, 18 Mar 2003 15:06:48 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vNM1-00087N-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 15:06:33 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vNLs-0007hb-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 15:06:28 -0500
Received: from mail-r.hw.ac.uk ([137.195.101.212] helo=mail-r2.hw.ac.uk)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vNLg-0007KG-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 15:06:12 -0500
Received: from pcarnaud.ece.eps.hw.ac.uk ([137.195.182.5])
	by mail-r2.hw.ac.uk with esmtp (Exim 3.36 #1)
	id 18vNHd-0006H6-00
	for bug-commoncpp@gnu.org; Tue, 18 Mar 2003 20:02:01 +0000
From: "Hugo J. Ordonez "Rodriguez <H.Ordonez@hw.ac.uk>
To: bug-commoncpp@gnu.org
Content-Type: text/plain
Organization: Heriot-Watt University
Message-Id: <1048018235.24998.146.camel@pcarnaud>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.1 
Date: 18 Mar 2003 20:11:44 +0000
Content-Transfer-Encoding: 7bit
X-HW-MailScanner: Found to be clean
X-HW-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.2, required 5,
	WEIRD_PORT, AWL)
Subject: Compiling for qnx-nto-pc
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 18 Mar 2003 20:06:47 -0000

Hello, I'm trying to compile commoncpp2 1.0.8 
on a QNX PC with 6.2 Momentics NC (Non-Commercial
Edition)
There has been a number of applications that seem 
to break (they do not compile) due to the change 
to Drinkum C libraries Could this be the reason?

Perhaps Mr. Kohli could share some of the insight
to compile (at least partially) for QNX...

Kind Regards
Hugo

Is there a way to skip the autoconf stuff and
manually compile the files?

Sorry for such newbie questions but in Linux 
it's very straightforward

After a loong ./configure

$ make
Making all in include
make[1]: Entering directory `/home/hugo/commoncpp2-1.0.8/include'
make  all-recursive
make[2]: Entering directory `/home/hugo/commoncpp2-1.0.8/include'
Making all in cc++
make[3]: Entering directory `/home/hugo/commoncpp2-1.0.8/include/cc++'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include/cc++'
make[3]: Entering directory `/home/hugo/commoncpp2-1.0.8/include'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include'
make[2]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include'
make[1]: Leaving directory `/home/hugo/commoncpp2-1.0.8/include'
Making all in src
make[1]: Entering directory `/home/hugo/commoncpp2-1.0.8/src'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
-I../include     -I../src -DCCXX_EXPORT_LIBRARY  -g -O2 -D_GNU_SOURCE 
-I../include -c thread.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
-g -O2 -D_GNU_SOURCE -I../include -c thread.cpp -o thread.o
In file included from thread.cpp:41:
../include/cc++/config.h:574: ctime: No such file or directory
In file included from ../include/cc++/exception.h:54,
                 from ../include/cc++/thread.h:58,
                 from thread.cpp:43:
../include/cc++/strchar.h:48: cctype: No such file or directory
../include/cc++/strchar.h:49: string: No such file or directory
../include/cc++/strchar.h:50: cstring: No such file or directory
make[1]: *** [thread.lo] Error 1
make[1]: Leaving directory `/home/hugo/commoncpp2-1.0.8/src'
make: *** [all-recursive] Error 1
-- 
Hugo J. Ordonez Rodriguez <H.Ordonez@hw.ac.uk>
Heriot-Watt University




From MAILER-DAEMON Wed Mar 19 07:35:27 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vcn0-00042z-00
	for mharc-bug-commoncpp@gnu.org; Wed, 19 Mar 2003 07:35:26 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vcmt-0003hK-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 07:35:19 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vcmq-0003Z7-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 07:35:16 -0500
Received: from mail.gmx.de ([213.165.64.20] helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18vcmm-0003U9-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 07:35:13 -0500
Received: (qmail 30556 invoked by uid 0); 19 Mar 2003 12:35:11 -0000
Received: from pD9E3DB29.dip.t-dialin.net (HELO gate.home) (217.227.219.41)
  by mail.gmx.net (mp019-rz3) with SMTP; 19 Mar 2003 12:35:11 -0000
Received: from crunch2.home ([192.168.1.10] helo=there)
	by gate.home with smtp (Exim 3.35 #1 (Debian))
	id 18vcml-00018T-00
	for <bug-commoncpp@gnu.org>; Wed, 19 Mar 2003 13:35:11 +0100
Content-Type: text/plain;
  charset="iso-8859-1"
From: Onno Kortmann <onno@gmx.net>
To: bug-commoncpp@gnu.org
Date: Wed, 19 Mar 2003 13:31:43 +0100
X-Mailer: KMail [version 1.3.2]
References: <E18uPOD-0001am-00@gate.home>
	<20030318173546.GD681@bulbasaur.rediris.es>
In-Reply-To: <20030318173546.GD681@bulbasaur.rediris.es>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <E18vcml-00018T-00@gate.home>
Subject: Number class for doubles [was: Re: demo directory did not build,
 general questions]
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 19 Mar 2003 12:35:24 -0000

On Tuesday 18 March 2003 18:35, you wrote:
> Perhaps the ost::Number class (in numbers.h)?
Thanks!
But what's about a Number-like class for floats, doubles and other types?

Regards,

Onno



From MAILER-DAEMON Wed Mar 19 11:19:49 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18vgI3-0002IO-00
	for mharc-bug-commoncpp@gnu.org; Wed, 19 Mar 2003 11:19:43 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vgI0-0002DV-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 11:19:40 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vgHi-0001wB-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 11:19:24 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vgGv-0001rP-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 11:18:33 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18vgIo-0000G4-00; Wed, 19 Mar 2003 17:20:30 +0100
Date: Wed, 19 Mar 2003 17:20:30 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: "Craig E. Johnston" <craig.e.johnston@boeing.com>
Message-ID: <20030319162030.GA535@bulbasaur.rediris.es>
Mail-Followup-To: "Craig E. Johnston" <craig.e.johnston@boeing.com>,
	David Sugar <dyfet@ostel.com>, bug-commoncpp@gnu.org
References: <1046987768.1796.58.camel@ace.peanuts.boeing.com>
	<200303111814.17644.dyfet@ostel.com>
	<20030318183359.GG681@bulbasaur.rediris.es>
	<1048087112.1712.5.camel@ace.peanuts.boeing.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1048087112.1712.5.camel@ace.peanuts.boeing.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
cc: David Sugar <dyfet@ostel.com>
Subject: Re: Error compiling network.cpp on Solaris 8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 19 Mar 2003 16:19:41 -0000


	Ok, the change you suggest is in CVS.

On Wed, Mar 19, 2003 at 07:18:32AM -0800, Craig E. Johnston wrote:
> I don't think this symbol will work, as it is defined even when the
> ifr_mtu union member is not available.  Another symbol, SIOCGLIFMTU, is
> defined in Solaris's sys/sockio.h.  Thus, the logic below could be
> reversed to test for SIOCGLIFMTU and use lifr_mtu, otherwise use
> ifr_mtu.
> 
> Craig
> 
> On Tue, 2003-03-18 at 10:33, Federico Montesino Pouzols wrote:
> > 
> > 	I have committed this patch, but replacing 
> > 
> > #ifdef CEJ_SOLARIS_FIX
> > 
> > 	with
> > 
> > #ifdef SIOCGIFMTU
> > 
> > 	as it seems less Solaris-specific. Will this work on Solaris,
> > or is SIOCGIFMTU defined even if it does not work? In such case we
> > will have to add more symbols, like:
> > 
> > #if defined(SIOCGIFMTU) && ( !defined(_THR_SUNOS5) || defined(CEJ_SOLARIS_FIX) )
> > 



From MAILER-DAEMON Thu Mar 20 12:36:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18w3wn-00039y-00
	for mharc-bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:35:21 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18w3wk-000376-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:35:18 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18w3wi-00036f-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:35:17 -0500
Received: from raven.ecs.soton.ac.uk ([152.78.70.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18w3wi-00036T-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:35:16 -0500
Received: from crow.ecs.soton.ac.uk (crow.ecs.soton.ac.uk [152.78.71.3])
	by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id RAA23620
	for <bug-commoncpp@gnu.org>; Thu, 20 Mar 2003 17:35:14 GMT
Received: from bigfoot.com (ug-vpn7 [152.78.236.7])
	by crow.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id RAA15782
	for <bug-commoncpp@gnu.org>; Thu, 20 Mar 2003 17:35:11 GMT
Message-ID: <3E79FBBC.4090401@bigfoot.com>
Date: Thu, 20 Mar 2003 17:34:52 +0000
From: Jon Wilson <sendmemymail@bigfoot.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.2.1) Gecko/20021130
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
Content-Transfer-Encoding: 7bit
X-ECS-MailScanner: Found to be clean
Subject: Threads fail to join in 1.0.8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 20 Mar 2003 17:35:19 -0000

I have some code (below) where I create two threads, they establish the 
client and server ends of the socket and recieve a string append to it 
and send it back. However, when the run method completes, the threads 
call their finalize method and print as expected. However, in `main`, 
the threads fail to join. Have I done something wrong? Is there a known 
issue with this?
Thanks.
Jon Wilson

#include <cc++/thread.h>
#include <cc++/socket.h>
#include <iostream>
#include <sstream>
using namespace std;
using namespace ost;
class myThread : public Thread{
    private:
        bool read;
    public:
        myThread(bool read){
            start();
            this->read=read;
        }
        void final(){
          cout << "Final" << endl;
        }
        void run(){
            tcpstream* io;
            if(read){
                io=new tcpstream("127.0.0.1:9000");
            }else{
                TCPSocket tcp("127.0.0.1",9000);
                while(!tcp.isPendingConnection());
                io=new tcpstream(tcp);
                cout << "Sent Hello" << endl;
                *io << "Hello" << endl;
            }
            string s;
            for(int i=0;i<100;i++){
                cout << (read?"Read ":"Write ") << i << endl;
                bool b;
                do{
                    *io >> s;
                    b=!s.length();
                    if(b)Thread::yield();
                }while(b);
                ostringstream os;
                os << s << i;
                *io << os.str() << endl;
            }
            cout << s << endl;
            io->close();
            delete io;
        }

};
int main(int argc,char** argv){
    myThread t1(true);
    myThread t2(false);
    t1.join();
    cout << "1 joined" << endl;
    t2.join();
    cout << "2 joined" << endl;
}





From MAILER-DAEMON Thu Mar 20 12:59:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18w4HS-0005Xv-00
	for mharc-bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:56:42 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18w4HM-0005QG-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:56:36 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18w4Gh-00051d-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:55:56 -0500
Received: from raven.ecs.soton.ac.uk ([152.78.70.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18w4Fl-0004eh-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 12:54:57 -0500
Received: from crow.ecs.soton.ac.uk (crow.ecs.soton.ac.uk [152.78.71.3])
	by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id RAA23846
	for <bug-commoncpp@gnu.org>; Thu, 20 Mar 2003 17:54:55 GMT
Received: from bigfoot.com (ug-vpn7 [152.78.236.7])
	by crow.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id RAA16084
	for <bug-commoncpp@gnu.org>; Thu, 20 Mar 2003 17:54:52 GMT
Message-ID: <3E7A0058.2020308@bigfoot.com>
Date: Thu, 20 Mar 2003 17:54:32 +0000
From: Jon Wilson <sendmemymail@bigfoot.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
References: <3E79FBBC.4090401@bigfoot.com>
In-Reply-To: <3E79FBBC.4090401@bigfoot.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ECS-MailScanner: Found to be clean
Subject: Re: Threads fail to join in 1.0.8 (More details)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 20 Mar 2003 17:56:40 -0000

Sorry, forgot to mention, I am using MingW 20020817-1 and Gcc 3.2
Jon Wilson wrote:

> I have some code (below) where I create two threads, they establish 
> the client and server ends of the socket and recieve a string append 
> to it and send it back. However, when the run method completes, the 
> threads call their finalize method and print as expected. However, in 
> `main`, the threads fail to join. Have I done something wrong? Is 
> there a known issue with this?
> Thanks.
> Jon Wilson
>
> #include <cc++/thread.h>
> #include <cc++/socket.h>
> #include <iostream>
> #include <sstream>
> using namespace std;
> using namespace ost;
> class myThread : public Thread{
>    private:
>        bool read;
>    public:
>        myThread(bool read){
>            start();
>            this->read=read;
>        }
>        void final(){
>          cout << "Final" << endl;
>        }
>        void run(){
>            tcpstream* io;
>            if(read){
>                io=new tcpstream("127.0.0.1:9000");
>            }else{
>                TCPSocket tcp("127.0.0.1",9000);
>                while(!tcp.isPendingConnection());
>                io=new tcpstream(tcp);
>                cout << "Sent Hello" << endl;
>                *io << "Hello" << endl;
>            }
>            string s;
>            for(int i=0;i<100;i++){
>                cout << (read?"Read ":"Write ") << i << endl;
>                bool b;
>                do{
>                    *io >> s;
>                    b=!s.length();
>                    if(b)Thread::yield();
>                }while(b);
>                ostringstream os;
>                os << s << i;
>                *io << os.str() << endl;
>            }
>            cout << s << endl;
>            io->close();
>            delete io;
>        }
>
> };
> int main(int argc,char** argv){
>    myThread t1(true);
>    myThread t2(false);
>    t1.join();
>    cout << "1 joined" << endl;
>    t2.join();
>    cout << "2 joined" << endl;
> }
>
>
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>





From MAILER-DAEMON Thu Mar 20 20:06:57 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18wAzT-0000oc-00
	for mharc-bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:06:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18vfLP-0006F1-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 10:19:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18vfLN-0006BC-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 10:19:06 -0500
Received: from stl-smtpout-01.boeing.com ([130.76.96.56])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18vfLE-0005oS-00
	for bug-commoncpp@gnu.org; Wed, 19 Mar 2003 10:18:56 -0500
Received: from stl-av-02.boeing.com ([192.76.190.7])
	by stl-smtpout-01.boeing.com (8.9.2/8.8.5-M2) with ESMTP id JAA07770;
	Wed, 19 Mar 2003 09:18:38 -0600 (CST)
Received: from blv-hub-01.boeing.com (localhost [127.0.0.1])JAA26563;
	Wed, 19 Mar 2003 09:18:37 -0600 (CST)
Received: from ace.peanuts.boeing.com (ace.knt.boeing.com [134.52.222.8])
	h2JFIXE23605;	Wed, 19 Mar 2003 07:18:33 -0800 (PST)
Received: from ace.peanuts.boeing.com (localhost.localdomain [127.0.0.1])
	h2JFIXhI008839;	Wed, 19 Mar 2003 07:18:33 -0800
Received: (from johnston@localhost)
	by ace.peanuts.boeing.com (8.12.5/8.12.5/Submit) id h2JFIXLQ008837;
	Wed, 19 Mar 2003 07:18:33 -0800
X-Authentication-Warning: ace.peanuts.boeing.com: johnston set sender to
	craig.e.johnston@boeing.com using -f
From: "Craig E. Johnston" <craig.e.johnston@boeing.com>
To: Federico Montesino Pouzols <fedemp@altern.org>
In-Reply-To: <20030318183359.GG681@bulbasaur.rediris.es>
References: <1046987768.1796.58.camel@ace.peanuts.boeing.com>
	<200303111814.17644.dyfet@ostel.com> 
	<20030318183359.GG681@bulbasaur.rediris.es>
Content-Type: text/plain
Content-Transfer-Encoding: 7bit
X-Mailer: Ximian Evolution 1.0.8 (1.0.8-10) 
Date: 19 Mar 2003 07:18:32 -0800
Message-Id: <1048087112.1712.5.camel@ace.peanuts.boeing.com>
Mime-Version: 1.0
X-Mailman-Approved-At: Thu, 20 Mar 2003 20:06:33 -0500
cc: "Craig E. Johnston" <johnston@ace.knt.boeing.com>
cc: bug-commoncpp@gnu.org
cc: David Sugar <dyfet@ostel.com>
Subject: Re: Error compiling network.cpp on Solaris 8
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 19 Mar 2003 15:19:31 -0000

I don't think this symbol will work, as it is defined even when the
ifr_mtu union member is not available.  Another symbol, SIOCGLIFMTU, is
defined in Solaris's sys/sockio.h.  Thus, the logic below could be
reversed to test for SIOCGLIFMTU and use lifr_mtu, otherwise use
ifr_mtu.

Craig

On Tue, 2003-03-18 at 10:33, Federico Montesino Pouzols wrote:
> 
> 	I have committed this patch, but replacing 
> 
> #ifdef CEJ_SOLARIS_FIX
> 
> 	with
> 
> #ifdef SIOCGIFMTU
> 
> 	as it seems less Solaris-specific. Will this work on Solaris,
> or is SIOCGIFMTU defined even if it does not work? In such case we
> will have to add more symbols, like:
> 
> #if defined(SIOCGIFMTU) && ( !defined(_THR_SUNOS5) || defined(CEJ_SOLARIS_FIX) )
> 
> On Tue, Mar 11, 2003 at 06:14:17PM -0500, David Sugar wrote:
> > Perhaps this could be tied to the _THR_SUNOS5 symbol definition rathern than 
> > the CEJ_... macro you use?  If so and that works for you and for other 
> > sun/solaris configurations then it would be self configuring and I think we 
> > could include this for the next release.
> > 
> > On Thursday 06 March 2003 04:56 pm, Craig E. Johnston wrote:
> > > I have run into a problem compiling commoncpp2-1.08 on a Sun running
> > > Solaris 8.0 (SunOS 5.8).
> > >
> > > Specifically, in the enumNetworkDevices() method of network.cpp, the
> > > ioctl call to retrieve the MTU is no longer supported using the 'ifreq'
> > > structure from "include/net/if.h".  Sun has moved to an IPv6
> > > implementation that uses a structure named 'lifreq'.  Some ioctl() calls
> > > are still supported for backward compatibility, but not the
> > > ifreq.ifr_mtu union member for the SIOCGIFMTU call.
> > >
> > > The following diff is my workaround. (watch the line wrap)
> > >
> > > *** network.cpp 2003-03-04 11:51:17.000000000 -0800
> > > --- /project/commoncpp2-1.0.8/src/network.cpp   2003-01-23
> > > 06:33:55.000000000 -0800
> > > ***************
> > > *** 121,138 ****
> > >                 else
> > >                         (InetAddress&)maskaddr =
> > > ((sockaddr_in&)devifreq.ifr_addr).sin_addr;
> > >
> > > - #ifdef CEJ_SOLARIS_FIX
> > >                 if(ioctl(fd, SIOCGIFMTU, &devifreq) == -1)
> > >                         mtu = 0;
> > >                 else
> > >                         mtu = devifreq.ifr_mtu;
> > > - #else
> > > -               struct lifreq devlifreq;
> > > -               if(ioctl(fd, SIOCGLIFMTU, &devlifreq) == -1)
> > > -                       mtu = 0;
> > > -               else
> > > -                       mtu = devlifreq.lifr_mtu;
> > > - #endif
> > >
> > >
> > > devs.push_back(NetworkDeviceInfo(ifc.ifc_req[i].ifr_name, addr, brdaddr,
> > > maskaddr, mtu));
> > >         }
> > > --- 121,130 ----
> > >
> > >
> > > Craig Johnston
> > > craig.e.johnston@boeing.com
> > >
> > >
> > > _______________________________________________
> > > Bug-commoncpp mailing list
> > > Bug-commoncpp@gnu.org
> > > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> > 




From MAILER-DAEMON Thu Mar 20 20:08:16 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18wAzS-0000o5-00
	for mharc-bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:06:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18uX6E-0004Tl-00
	for bug-commoncpp@gnu.org; Sun, 16 Mar 2003 07:18:46 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18uX0f-0003RK-00
	for bug-commoncpp@gnu.org; Sun, 16 Mar 2003 07:13:02 -0500
Received: from raven.ecs.soton.ac.uk ([152.78.70.1])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18uWzS-0003FM-00
	for bug-commoncpp@gnu.org; Sun, 16 Mar 2003 07:11:46 -0500
Received: from crow.ecs.soton.ac.uk (crow.ecs.soton.ac.uk [152.78.71.3])
	by raven.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id MAA29898
	for <bug-commoncpp@gnu.org>; Sun, 16 Mar 2003 12:11:39 GMT
Received: from ecs.soton.ac.uk (ug-vpn25 [152.78.236.25])
	by crow.ecs.soton.ac.uk (8.9.3/8.9.3) with ESMTP id MAA19110
	for <bug-commoncpp@gnu.org>; Sun, 16 Mar 2003 12:11:37 GMT
Message-ID: <3E7469F3.80601@ecs.soton.ac.uk>
Date: Sun, 16 Mar 2003 12:11:31 +0000
From: Jon Wilson <jdw100@ecs.soton.ac.uk>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.2.1) Gecko/20021130
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
Content-Transfer-Encoding: 7bit
X-ECS-MailScanner: Found to be clean
X-Mailman-Approved-At: Thu, 20 Mar 2003 20:06:33 -0500
Subject: Blocking IO
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 16 Mar 2003 12:18:49 -0000

When passing a tcpstream to a function requiring an iostream and using 
the >> and << operators, the io doesn't seem to block on reading???
I have a program with one thread, the idea is that each sends a receives 
data to and from each other, and that each requires the data just sent 
by the other in order to send their next message (the messages MUST be 
interleaved). However, on calling the >> operator, the IO doesn't seem 
to block! I have looked at the trace of my program and one thread seems 
to continue running past the point it requires input before the other 
has started. Is there a way to make the tcpstream block for input using 
the insertion operators? Or any other way? I attach a fragment of code. 
As you can see, both spend and receive should be called at the same 
time, both reading/writing to the same network socket.
Hope someone can help with this as it is for an important project.
Thanks.
Jon Wilson

Thread....
void run(){
            try{
                tcpstream tcp("127.0.0.1:9000");
                dc.receive(tcp);
                tcp.close();
            }catch(Botan::Exception& e){
                cout << e.what();
            }catch(...){
                cout << "Some other error" << endl;
            }
        }
Main code....
TCPSocket tcp("127.0.0.1",9000);
        myThread thread;
        while(!tcp.isPendingConnection());
        tcpstream stream(tcp);
        dc.spend(stream);
        stream.close();

void OwnDigitalCash::spend(iostream& io){
    RSA_PublicKey pub(*priv);
    cout << "Sending public Key" << endl;
    io << &pub << endl;
    cout << "Sending this" << endl;
    io << *this << endl;
    if(priv==NULL)cout << "NULL" << endl;
    cout << "Q " << priv->get_q() << endl << "P " << priv->get_p() << 
endl << "D " << priv->get_d() << endl;
    cout << "N " << priv->get_n() << endl << "E " << priv->get_e() << endl;
    BitCommiter bc(*priv);

    SecureVector<Botan::byte> lb;
    SecureVector<Botan::byte> rb;
   
    for(int i=0;i<IDENTITYPAIRS;i++){
        cout << "Spend " << i << endl;
        lb << leftEncryptedKey[i];
        rb << rightEncryptedKey[i];
        string lk;
        string rk;
        cout << "Decrypting keys" << endl;
        lk << bc.reveal(lb).value();
        rk << bc.reveal(rb).value();
        cout << lk << endl << rk << endl;
        cout << "Constructing oblivious sender" << endl;
        ObliviousSender ots(*priv);
        cout << "Secding keys" << endl;
        io << ots.getKey(LEFT) << endl;
        io << ots.getKey(RIGHT) << endl;
        cout << "Receiving Key and IV" << endl;
        SecureVector<Botan::byte> ek;
        SecureVector<Botan::byte> eiv;
        io >> ek;
        io >> eiv;
        cout << "EK2 " << ek << endl;
        cout << "EIV2 "<< eiv << endl;
        cout << "Decrypting Key" << endl;
        ots.decryptKey(ek,eiv);
        ots.setMessages(lk,rk);
        cout << "Sending data" << endl;
        io << ots.getIV() << endl;
        io << ots.getEncryptedMessage(LEFT) << endl;
        io << ots.getEncryptedMessage(RIGHT) << endl;
    }
}
void ReceivedDigitalCash::receive(iostream& io){
    cout << "Receive" << endl;
    io >> pub;
    cout << "Received public key" << endl;
    cout << "Receiving this" << endl;
    *this<<io;
    cout << "Received this" << endl;
   
    for(int i=0;i<IDENTITYPAIRS;i++){
        cout << "Receive " << i << endl;
        ObliviousReceiver otr(*pub);
        cout << "Constructed Receiver" << endl;
        SymmetricKey skl;
        SymmetricKey skr;
        cout << "Reading Symmetric Keys" << endl;
        io >> skl;
        io >> skr;
        cout << skl << endl << skr << endl;
        otr.setKey(LEFT,skl);
        otr.setKey(RIGHT,skr);
        cout << "Sending Key and IV" << endl;
        cout << "EK1 "<< otr.encryptKey() << endl;
        cout << "EIV1 "<< otr.getIV() << endl;
        io << otr.encryptKey() << endl;
        io << otr.getIV() << endl;
        BlockCipherModeIV iv;
        string left;
        string right;
        cout << "Receiving messages" << endl;
        io >> iv;
        io >> left;
        io >> right;
        string dec=otr.decryptMessage(iv,left,right);
        cout << "Getting half" << endl;
        half h=otr.getHalf();
        SecureVector<Botan::byte> sym;
        cout << "Converting to Symmetric Key" << endl;
        sym << dec;

        SymmetricKey symKey(sym);
       
        CommitmentChecker cc(symKey);
        cc.setR1(r1);
        BlockCipherModeIV ivBC;
        ivBC << (h==LEFT?leftMessageIV[i]:rightMessageIV[i]);
        cc.setMessageIV(ivBC);
        
cc.setEncryptedMessage(h==LEFT?leftEncryptedMessage[i]:rightEncryptedMessage[i]);
        cc.setHashedValue(h==LEFT?leftHashedValue[i]:rightHashedValue[i]);
        decryptedIdentity[i]=cc.checkCommitment();
    }
}




From MAILER-DAEMON Thu Mar 20 20:41:20 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18wBX4-000189-00
	for mharc-bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:41:18 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18wBWv-0000Yq-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:41:09 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18wBWs-0000Ps-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:41:06 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18wBW8-0007Ma-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:40:20 -0500
Received: from ostel.com ([192.168.1.100])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2L2O1f01071;
	Thu, 20 Mar 2003 21:24:01 -0500
Message-ID: <3E7A6D5F.5070309@ostel.com>
Date: Thu, 20 Mar 2003 20:39:43 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US;
	rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Federico Montesino Pouzols <fedemp@altern.org>
References: <20030228132301.165A.T-COMMONCPP@snowelm.com>
	<200303011135.06663.dyfet@ostel.com>
	<20030318193441.GI681@bulbasaur.rediris.es>
In-Reply-To: <20030318193441.GI681@bulbasaur.rediris.es>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: bug-commoncpp@gnu.org
cc: Makino Takaki <t-commoncpp@snowelm.com>
Subject: Re: Patch for Cygwin environment
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 21 Mar 2003 01:41:15 -0000

I just got back from Prague, but I think this is good news to have the 
cygwin builds at least integrated for testing and debugging.

Federico Montesino Pouzols wrote:

>	I have just committed the patch to CVS. A new EGREP check has
>been added in order to check for socklen_t in cygwin/socket.h, in case
>it is not defined in sys/socket.h. Let me know if there is any problem
>with this modification.
>
>On Sat, Mar 01, 2003 at 11:35:06AM -0500, David Sugar wrote:
>  
>
>>This I want to look at more closely.  My first concern is that it does not 
>>break mingw32 cross-compiles.  I think I will have a chance to look at this 
>>over the weekend.
>>
>>David
>>
>>On Thursday 27 February 2003 11:24 pm, Makino Takaki wrote:
>>    
>>
>>>Dear commonc++ developers,
>>>
>>>I'd like to post a patch to make commonc++2 compilable in a latest
>>>Cygwin environment on Windows.  It seems that the commonc++2 package
>>>cannot be compiled via configure script on current Cygwin release.
>>>I hope that the patch helps development of this excellent library.
>>>
>>>The following patch is to fix the compilation error for pthread
>>>emulation of Cygwin. It would be more efficient if I could make use of
>>>native Win32 API, but it seems a lot of patching effort...
>>>I confirmed the patch on Cygwin 1.3.19 and commoncpp2 1.0.8.
>>>
>>>The changes are:
>>> * Remove !defined(__CYGWIN32__) from #if surronding PosixThread class.
>>> * Disabled PosixThread::waitSignal when sigwait() is not available. I'm
>>>   not sure why sigwait() is disabled on Cygwin, and I don't know
>>>   what workaround is available for it.  Anyway it seems working happily
>>>   without PosixThread::waitSignal member function.
>>> * Added some stuff for socklen_t.  Current configure script cannot find
>>>   socklen_t in Cygwin; socklen_t is #define'd under cygwin/socket.h,
>>>   but configure applies EGREP_HEADER to only sys/socket.h.  Though my
>>>   patch for this problem may be too naive...
>>>
>>>Best regards,
>>>      
>>>
>
>
>_______________________________________________
>Bug-commoncpp mailing list
>Bug-commoncpp@gnu.org
>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>  
>




From MAILER-DAEMON Thu Mar 20 20:50:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18wBfZ-0007gH-00
	for mharc-bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:50:05 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18wBfL-0006wU-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:49:51 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18wBf8-00067i-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:49:38 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18wBeV-0005Wp-00
	for bug-commoncpp@gnu.org; Thu, 20 Mar 2003 20:48:59 -0500
Received: from ostel.com ([192.168.1.100])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2L2Wqf01116;
	Thu, 20 Mar 2003 21:32:52 -0500
Message-ID: <3E7A6F71.1020204@ostel.com>
Date: Thu, 20 Mar 2003 20:48:33 -0500
From: David Sugar <dyfet@ostel.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-US;
	rv:1.2.1) Gecko/20021130
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Federico Montesino Pouzols <fedemp@altern.org>
References: <3E76FCFD.103@bigfoot.com>
	<20030318155855.GA543@bulbasaur.rediris.es>
In-Reply-To: <20030318155855.GA543@bulbasaur.rediris.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: bug-commoncpp@gnu.org
Subject: Re: Join not linking in threads (Compile error)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 21 Mar 2003 01:50:03 -0000

Ideally I would like to see if we can do the next point release this 
weekend.  There does seem to be a few pending issues, but even so, there 
are less issues I think in cvs than are in the current release at this 
point :).  I recall there was one issue in win32 native builds that is 
related to sha (again...).

Federico Montesino Pouzols wrote:

>	Yes, this is a known bug in 1.0.8, join is not linked in on
>win32 (not only mingw) systems since it is inside an #ifdef
>WIN32. This is fixed in CVS for 1.0.9, which should be released soon,
>as soon as we process some pending issues. You can fix it by moving
>the definition of join outside the #ifdef WIN32 (in src/thread.cpp),
>for instance right above the definition of
>ThreadImpl::ThreadSigSuspend.
>
>	As for `#define HAVE_OLD_IOSTREAM', it is needed for Mingw
>systems based on gcc 2.9x, but as you have noticed, gcc 3.x does not
>like it.
>
>On Tue, Mar 18, 2003 at 11:03:25AM +0000, Jon Wilson wrote:
>  
>
>>I am building using MingW32 and GCC3.2, the only thing I have editied 
>>from v1.0.8 is to remove the #define HAVE_OLD_IOSTREAM in 
>>win32/config.h, but when I compile this...
>>#include <cc++/thread.h>
>>using namespace std;
>>using namespace ost;
>>class myThread:public Thread{
>>   public:
>>       myThread(){
>>           start();
>>       }
>>       void run(){
>>          
>>       }
>>};
>>int main(int argc, char *argv[]){
>>   myThread thread;
>>   thread.join();
>>      
>>}
>>I get...
>>g++.exe src/buffer.o src/cmdoptns.o src/date.o src/digest.o src/dir.o 
>>src/dso.o src/engine.o src/event.o src/exception.o src/fifo.o src/file.o 
>>src/friends.o src/ftp.o src/getopt1.o src/getopt.o src/groups.o 
>>src/inaddr.o src/keydata.o src/md5.o src/mempager.o src/mutex.o 
>>src/network.o src/numbers.o src/peer.o src/persist.o src/pipe.o 
>>src/port.o src/process.o src/semaphore.o src/serial.o src/sha.o 
>>src/slog.o src/socket.o src/thread.o src/threadkey.o src/unix.o 
>>src/url.o src/urlstring.o src/xml.o main.o  -o "commoncpp.exe" 
>>-L"C:/Dev-Cpp/lib" -L"C:/Work/commoncpp2-1.0.8b/win32" -lwsock32 
>>-lws2_32 -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include/c++"  
>>-I"C:/Dev-Cpp/include"  -I"c:/Dev-Cpp/include/c++/mingw32"  
>>-I"C:/Work/commoncpp2-1.0.8b/include"  -I"C:/Work/commoncpp2-1.0.8b/win32" 
>>
>>main.o(.text+0x36):main.cpp: undefined reference to `ost::Thread::join()'
>>(Excuse the b in 1.0.8b, I have two copies built in the same folder)
>>
>>Do you know why this could be?
>>__MINGW32__ is being set.
>>Thanks.
>>Jon Wilson
>>
>>
>>
>>_______________________________________________
>>Bug-commoncpp mailing list
>>Bug-commoncpp@gnu.org
>>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>>    
>>
>
>
>_______________________________________________
>Bug-commoncpp mailing list
>Bug-commoncpp@gnu.org
>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>  
>




From MAILER-DAEMON Sat Mar 22 09:35:35 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18wk5u-0002lb-00
	for mharc-bug-commoncpp@gnu.org; Sat, 22 Mar 2003 09:35:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18wk5s-0002dt-00
	for bug-commoncpp@gnu.org; Sat, 22 Mar 2003 09:35:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18wk5o-0002Tr-00
	for bug-commoncpp@gnu.org; Sat, 22 Mar 2003 09:35:30 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18wk5n-0002RZ-00
	for bug-commoncpp@gnu.org; Sat, 22 Mar 2003 09:35:27 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18wk9Z-0001mY-00; Sat, 22 Mar 2003 15:39:21 +0100
Date: Sat, 22 Mar 2003 15:39:21 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: David Sugar <dyfet@ostel.com>
Message-ID: <20030322143921.GB3518@bulbasaur.rediris.es>
Mail-Followup-To: David Sugar <dyfet@ostel.com>, bug-commoncpp@gnu.org
References: <3E76FCFD.103@bigfoot.com>
	<20030318155855.GA543@bulbasaur.rediris.es> <3E7A6F71.1020204@ostel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3E7A6F71.1020204@ostel.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Join not linking in threads (Compile error)
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sat, 22 Mar 2003 14:35:33 -0000


	Yes, it is a good idea to make a release. Currently there two
problems that should be fixed before:

	1) FreeBSD and ip_mreqn.

	2) The ambiguity created for some derived classes after the
addition of new read and write methods to Socket. As suggested, they
could be renamed as readData and writeData.

I have just committed the change for '2' and will look at '1' later
today.

On Thu, Mar 20, 2003 at 08:48:33PM -0500, David Sugar wrote:
> Ideally I would like to see if we can do the next point release this 
> weekend.  There does seem to be a few pending issues, but even so, there 
> are less issues I think in cvs than are in the current release at this 
> point :).  I recall there was one issue in win32 native builds that is 
> related to sha (again...).
> 
> Federico Montesino Pouzols wrote:
> 
> >	Yes, this is a known bug in 1.0.8, join is not linked in on
> >win32 (not only mingw) systems since it is inside an #ifdef
> >WIN32. This is fixed in CVS for 1.0.9, which should be released soon,
> >as soon as we process some pending issues. You can fix it by moving
> >the definition of join outside the #ifdef WIN32 (in src/thread.cpp),
> >for instance right above the definition of
> >ThreadImpl::ThreadSigSuspend.
> >
> >	As for `#define HAVE_OLD_IOSTREAM', it is needed for Mingw
> >systems based on gcc 2.9x, but as you have noticed, gcc 3.x does not
> >like it.
> >
> >On Tue, Mar 18, 2003 at 11:03:25AM +0000, Jon Wilson wrote:
> > 
> >
> >>I am building using MingW32 and GCC3.2, the only thing I have editied 
> >>from v1.0.8 is to remove the #define HAVE_OLD_IOSTREAM in 
> >>win32/config.h, but when I compile this...
> >>#include <cc++/thread.h>
> >>using namespace std;
> >>using namespace ost;
> >>class myThread:public Thread{
> >>  public:
> >>      myThread(){
> >>          start();
> >>      }
> >>      void run(){
> >>         
> >>      }
> >>};
> >>int main(int argc, char *argv[]){
> >>  myThread thread;
> >>  thread.join();
> >>     
> >>}
> >>I get...
> >>g++.exe src/buffer.o src/cmdoptns.o src/date.o src/digest.o src/dir.o 
> >>src/dso.o src/engine.o src/event.o src/exception.o src/fifo.o src/file.o 
> >>src/friends.o src/ftp.o src/getopt1.o src/getopt.o src/groups.o 
> >>src/inaddr.o src/keydata.o src/md5.o src/mempager.o src/mutex.o 
> >>src/network.o src/numbers.o src/peer.o src/persist.o src/pipe.o 
> >>src/port.o src/process.o src/semaphore.o src/serial.o src/sha.o 
> >>src/slog.o src/socket.o src/thread.o src/threadkey.o src/unix.o 
> >>src/url.o src/urlstring.o src/xml.o main.o  -o "commoncpp.exe" 
> >>-L"C:/Dev-Cpp/lib" -L"C:/Work/commoncpp2-1.0.8b/win32" -lwsock32 
> >>-lws2_32 -I"C:/Dev-Cpp/include"  -I"C:/Dev-Cpp/include/c++"  
> >>-I"C:/Dev-Cpp/include"  -I"c:/Dev-Cpp/include/c++/mingw32"  
> >>-I"C:/Work/commoncpp2-1.0.8b/include"  
> >>-I"C:/Work/commoncpp2-1.0.8b/win32" 
> >>main.o(.text+0x36):main.cpp: undefined reference to `ost::Thread::join()'
> >>(Excuse the b in 1.0.8b, I have two copies built in the same folder)
> >>
> >>Do you know why this could be?
> >>__MINGW32__ is being set.
> >>Thanks.
> >>Jon Wilson
> >>
> >>
> >>
> >>_______________________________________________
> >>Bug-commoncpp mailing list
> >>Bug-commoncpp@gnu.org
> >>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> >>   
> >>
> >
> >
> >_______________________________________________
> >Bug-commoncpp mailing list
> >Bug-commoncpp@gnu.org
> >http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> > 
> >
> 



From MAILER-DAEMON Sun Mar 23 08:38:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18x5gJ-0002ET-00
	for mharc-bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:38:35 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18x5gH-0002Ar-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:38:33 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18x5gG-00026m-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:38:32 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18x5gF-00024q-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:38:31 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18x5kG-0005AR-00; Sun, 23 Mar 2003 14:42:40 +0100
Date: Sun, 23 Mar 2003 14:42:40 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: Ari Johnson <ariston@cs.und.edu>
Message-ID: <20030323134239.GA16963@bulbasaur.rediris.es>
Mail-Followup-To: Ari Johnson <ariston@cs.und.edu>, bug-commoncpp@gnu.org
References: <20030318174106.GE681@bulbasaur.rediris.es>
	<Pine.GSO.4.10.10303182037580.29289-100000@agassiz.cs.und.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <Pine.GSO.4.10.10303182037580.29289-100000@agassiz.cs.und.edu>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
Subject: Re: Current CVS Fails to Compile on FreeBSD
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 23 Mar 2003 13:38:34 -0000


	I see. It seems that using 

#if defined(IP_ADD_MEMBERSHIP) && defined(SIOCGIFINDEX)

	is enough to make ccpp compilable on FreeBSD again, as
SIOCGIFINDEX is defined if the problematic ip_mreqn structure is
available. It is fixed in CVS.

On Tue, Mar 18, 2003 at 08:39:13PM -0600, Ari Johnson wrote:
> 
> I'm no longer on the mailing list, as my project is coming to a close.
> FreeBSD has the same two #defines, except as 12 and 13, with the same
> comments.  Note that the structure mentioned is ip_mreq, whereas the error
> refers to ip_mreqn.  The #defines in question are in
> /usr/include/netinet/in.h, though.
> 
> Ari Johnson
> 
> On Tue, 18 Mar 2003, Federico Montesino Pouzols wrote:
> 
> > 
> > 	Since you see that error, it seems that IP_ADD_MEMBERSHIP and
> > IP_DROP_MEMBERSHIP are defined on FreeBSD. I would say that there must
> > be some equivalent field. On GNU/Linux systems, there are the
> > following lines:
> > 
> > #define IP_ADD_MEMBERSHIP  35   /* ip_mreq; add an IP group membership */
> > #define IP_DROP_MEMBERSHIP 36   /* ip_mreq; drop an IP group membership */
> > 
> > 	in /usr/include/bits/in.h. Is there something like this on
> > FreeBSD?
> > 
> > On Mon, Mar 03, 2003 at 07:12:14PM -0600, Ari Johnson wrote:
> > > 
> > > g++ -DHAVE_CONFIG_H -I. -I. -I../include -I../src -DCCXX_EXPORT_LIBRARY
> > > -I/home/ari/cvswork/install/include -D_GNU_SOURCE -D_THREAD_SAFE
> > > -I/usr/local/include/libxml2 -I/usr/local/include -Wall -ansi -pedantic
> > > -I../include -c socket.cpp -Wp,-MD,.deps/socket.TPlo  -fPIC -DPIC -o
> > > .libs/socket.lo
> > > socket.cpp: In method `enum ost::Socket::Error ost::UDPSocket::join(const
> > > ost::InetMcastAddress &, int)':
> > > socket.cpp:907: aggregate `struct ost::ip_mreqn group' has incomplete type
> > > and cannot be initialized
> > > socket.cpp:918: confused by earlier errors, bailing out
> > > *** Error code 1
> > > 
> > > The ip_mreqn is apparently not defined on FreeBSD...I did a
> > > "grep ip_mreqn `find /usr/include`" and got no hits.
> > > 
> > > Ari Johnson
> > > 
> > > 
> > > 
> > > 
> > > _______________________________________________
> > > Bug-commoncpp mailing list
> > > Bug-commoncpp@gnu.org
> > > http://mail.gnu.org/mailman/listinfo/bug-commoncpp
> > 
> 



From MAILER-DAEMON Mon Mar 24 08:09:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18xRh1-0001rs-00
	for mharc-bug-commoncpp@gnu.org; Mon, 24 Mar 2003 08:08:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18x5eo-0006Tj-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:37:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18x5eg-00062d-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:36:54 -0500
Received: from subversions.gnu.org ([199.232.41.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18x5ea-0005kb-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:36:48 -0500
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1
	(Debian))	id 18x5eg-00071c-00; Sun, 23 Mar 2003 08:36:54 -0500
To: bug-commoncpp@gnu.org,fedemp@altern.org
From: nobody@savannah.gnu.org
Message-Id: <E18x5eg-00071c-00@subversions.gnu.org>
Date: Sun, 23 Mar 2003 08:36:54 -0500
X-Mailman-Approved-At: Mon, 24 Mar 2003 08:08:46 -0500
Subject: [Bug #2883] #warning unknown by VC++6
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 23 Mar 2003 13:37:21 -0000


=================== BUG #2883: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2883&group_id=89

Changes by: Federico Montesino Pouzols <fedemp@altern.org>
Date: Sun 03/23/03 at 14:36 (Europe/Madrid)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | fedemp
              Status | Open                      | Closed
                  CC |                           | bug-commoncpp@gnu.org


------------------ Additional Follow-up Comments ----------------------------
Yes, in fact, #warning is not allowed in ANSI C++. It is 
fixed in CVS for 1.0.9.




=================== BUG #2883: FULL BUG SNAPSHOT ===================


Submitted by: None                    Project: commonc++                    
Submitted on: Thu 03/20/03 at 12:35
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  Fixed                    
Assigned to:  fedemp                  Status:  Closed                       

Summary:  #warning unknown by VC++6

Original Submission:  xml.cpp
c:\temp\commoncpp2-1.0.8\src\xml.cpp(471) : fatal error C1021: Ungueltige Praeprozessor-Direktive 'warning'

works using
#pragma message("....")

Follow-up Comments
*******************

-------------------------------------------------------
Date: Sun 03/23/03 at 14:36         By: fedemp
Yes, in fact, #warning is not allowed in ANSI C++. It is 
fixed in CVS for 1.0.9.



CC List
*******

CC Address                          | Comment
------------------------------------+-----------------------------
bug-commoncpp@gnu.org               | 



No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2883&group_id=89



From MAILER-DAEMON Mon Mar 24 08:10:07 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18xRh1-0001rt-00
	for mharc-bug-commoncpp@gnu.org; Mon, 24 Mar 2003 08:08:47 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18x5mk-0004XB-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:45:14 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18x5mi-0004UZ-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:45:12 -0500
Received: from subversions.gnu.org ([199.232.41.2])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18x5mh-0004Tl-00
	for bug-commoncpp@gnu.org; Sun, 23 Mar 2003 08:45:11 -0500
Received: from www-data by subversions.gnu.org with local (Exim 3.35 #1
	(Debian))	id 18x5mn-0007Gm-00; Sun, 23 Mar 2003 08:45:17 -0500
To: bug-commoncpp@gnu.org,nkoch@gmx.de,fedemp@altern.org
From: nobody@savannah.gnu.org
Message-Id: <E18x5mn-0007Gm-00@subversions.gnu.org>
Date: Sun, 23 Mar 2003 08:45:17 -0500
X-Mailman-Approved-At: Mon, 24 Mar 2003 08:08:46 -0500
Subject: [Bug #2817] g++32/FreeBSD4.8-RC1: Compilation fails
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 23 Mar 2003 13:45:15 -0000


=================== BUG #2817: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2817&group_id=89

Changes by: Federico Montesino Pouzols <fedemp@altern.org>
Date: Sun 03/23/03 at 14:45 (Europe/Madrid)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | None                      | Fixed
         Assigned to | None                      | fedemp
              Status | Open                      | Closed
                  CC |                           | bug-commoncpp@gnu.org


------------------ Additional Follow-up Comments ----------------------------
Both are fixed in CVS for 1.0.9. As for how to solve 2), 
see a post to bug-commoncpp that has been sent a few minutes
ago.



=================== BUG #2817: FULL BUG SNAPSHOT ===================


Submitted by: nkoch                   Project: commonc++                    
Submitted on: Thu 03/13/03 at 17:19
Category:  None                       Severity:  5 - Major                  
Bug Group:  None                      Resolution:  Fixed                    
Assigned to:  fedemp                  Status:  Closed                       

Summary:  g++32/FreeBSD4.8-RC1: Compilation fails

Original Submission:  Hello.

I found problems in two source files when trying to
compile the latest cvs sources under FreeBSD 4.8-RC1 using
g++3.2.2:

1. src/date.cpp:
When configuring "--enable-
debug" the compiler complains about cout and endl. You have to
add #include <iostream> and "using namespace std".

2.
src/socket.cpp:
A lot of problems around
IP_ADD_MEMBERSHIP.
This symbol is defined in
FreeBSD's system headers but the structures and ioctls seem to
be competely different.
Here is the compiler's
output:

socket.cpp: In member function
`ost::Socket::Error ost::UDPSocket::join(const

ost::InetMcastAddress&, int)':
socket.cpp:907: aggregate
`ost::ip_mreqn group' has incomplete type and cannot
be
defined 
socket.cpp: In member function
`ost::Socket::Error

ost::UDPSocket::getInterfaceIndex(const char*,
int&)':
socket.cpp:931: aggregate `ost::ip_mreqn mreqn' has
incomplete type and cannot
be defined
socket.cpp:945:
`SIOCGIFINDEX' undeclared (first use this
function)
socket.cpp:945: (Each undeclared identifier is
reported only once for each
function it appears
in.)
socket.cpp:948: `struct ifreq' has no member named
`ifr_ifindex'

I found a structure ip_mreq in FreeBSD's
headers.
If I #undef IP_ADD_MEMBERSHIP the compilation
succeeds.

Sorry but I can't help more as I'm no socket
programming expert.

Follow-up Comments
*******************

-------------------------------------------------------
Date: Sun 03/23/03 at 14:45         By: fedemp
Both are fixed in CVS for 1.0.9. As for how to solve 2), 
see a post to bug-commoncpp that has been sent a few minutes
ago.


CC List
*******

CC Address                          | Comment
------------------------------------+-----------------------------
bug-commoncpp@gnu.org               | 



No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=2817&group_id=89



From MAILER-DAEMON Mon Mar 24 11:32:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18xUkR-0006hC-00
	for mharc-bug-commoncpp@gnu.org; Mon, 24 Mar 2003 11:24:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18xUk8-0005zG-00
	for bug-commoncpp@gnu.org; Mon, 24 Mar 2003 11:24:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18xUih-0003ud-00
	for bug-commoncpp@gnu.org; Mon, 24 Mar 2003 11:22:51 -0500
Received: from nextra16.root.at ([194.118.56.16] helo=mia.root.at)
	by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168)
	(Exim 4.10.13)
	id 18xUib-0003AR-00
	for bug-commoncpp@gnu.org; Mon, 24 Mar 2003 11:22:37 -0500
Received: (qmail 17632 invoked from network); 24 Mar 2003 16:22:28 -0000
Received: from unknown (HELO [192.168.100.155]) (pit@[192.84.221.5])
          (envelope-sender <pit@root.at>)
          by mia.root.at (qmail-ldap-1.03) with SMTP
          for <bug-commoncpp@gnu.org>; 24 Mar 2003 16:22:28 -0000
From: Karl Pitrich <pit@root.at>
To: bug-commoncpp@gnu.org
Content-Type: text/plain
Organization: 
Message-Id: <1048522947.22380.13.camel@warp.fabafsc.fabagl.fabasoft.com>
Mime-Version: 1.0
X-Mailer: Ximian Evolution 1.2.2 
Date: 24 Mar 2003 17:22:28 +0100
Content-Transfer-Encoding: 7bit
Subject: c++ coders wanted
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 24 Mar 2003 16:24:30 -0000

hi,

we are looking for C++ coders with linux/unix experience.
the task is to port a huge business application from win32 to linux.

payment is quite well, work location is linz/austria.

check 
http://www.fabasoft.com/html/jobs/jobs-software.htm
and ignore all windows stuff on that page :-)



/ pit






From MAILER-DAEMON Mon Mar 24 20:53:21 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18xdcm-00084x-00
	for mharc-bug-commoncpp@gnu.org; Mon, 24 Mar 2003 20:53:12 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18xdcd-0007tR-00
	for bug-commoncpp@gnu.org; Mon, 24 Mar 2003 20:53:03 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18xdcY-0007gK-00
	for bug-commoncpp@gnu.org; Mon, 24 Mar 2003 20:52:59 -0500
Received: from mail.gmx.de ([213.165.65.60] helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18xdcW-0007WT-00
	for bug-commoncpp@gnu.org; Mon, 24 Mar 2003 20:52:56 -0500
Received: (qmail 31323 invoked by uid 0); 25 Mar 2003 01:52:53 -0000
Received: from pD958CF0E.dip.t-dialin.net (HELO gate.home) (217.88.207.14)
  by mail.gmx.net (mp002-rz3) with SMTP; 25 Mar 2003 01:52:53 -0000
Received: from crunch2.home ([192.168.1.10] helo=there)
	by gate.home with smtp (Exim 3.35 #1 (Debian))
	id 18xdcW-0003ZW-00
	for <bug-commoncpp@gnu.org>; Tue, 25 Mar 2003 02:52:56 +0100
Content-Type: text/plain;
  charset="iso-8859-1"
From: Onno Kortmann <onno@gmx.net>
To: bug-commoncpp@gnu.org
Date: Tue, 25 Mar 2003 02:49:26 +0100
X-Mailer: KMail [version 1.3.2]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <E18xdcW-0003ZW-00@gate.home>
Subject: Test framework
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 25 Mar 2003 01:53:10 -0000

Hello!

In order to get familar with the api of common c++, I wanted to write test 
cases.
Is there a structure for cppunit-testcases?
In tests/, I find some threading/tcp-connection-tests, but not more.

Regards,

Onno



From MAILER-DAEMON Tue Mar 25 12:24:48 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18xs8P-0003A3-00
	for mharc-bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:22:49 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18xs8H-00035k-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:22:41 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18xs8C-00030N-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:22:39 -0500
Received: from ns1.futurnet.es ([62.97.84.3] helo=smtp2.futurnet.es)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18xs0B-00070W-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:14:19 -0500
Received: from galadriel.proinnet (217-125-21-246.uc.nombres.ttd.es
	[217.125.21.246])
	by smtp2.futurnet.es (Postfix) with ESMTP id 976803806F
	for <bug-commoncpp@gnu.org>; Tue, 25 Mar 2003 19:06:28 +0100 (CET)
Received: from irios (nacho.proinnet [10.0.0.33])id 1FA421D0F7
	for <bug-commoncpp@gnu.org>; Tue, 25 Mar 2003 19:18:25 +0100 (CET)
Content-Type: text/plain;
  charset="iso-8859-15"
From: Nacho de los =?iso-8859-15?q?R=EDos=20Tormo?= <irios@proin.es>
Organization: Procedimientos Integrados SL
To: bug-commoncpp@gnu.org
Date: Tue, 25 Mar 2003 18:16:41 +0100
User-Agent: KMail/1.4.3
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200303251816.41481.irios@proin.es>
Subject: Thread::detach() call doesn't return
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 25 Mar 2003 17:22:42 -0000

Hi there!

Sorry to be so vague and so wordy at the same time, but I couldn't think of a 
shorter way of communicating my problem without posting the whole code, which 
I figured would not be tolerable to (and would be certainly skipped by) poor 
list readers. I have searched the archives and found no clues: if there are, 
forgive me; I'm really not experienced in c++.

Thanks in advance for your patience.

Nacho de los Ríos

+++++++++++++++++++++++++++++++++

I'm porting an old DOS C program to Linux. It was, predictably, a 
single-thread program, but now that it's moving into Linux, I want it to gain 
new abilities: I'm trying to substitute its former RS232 comms with TCP/IP 
over Ethernet.

I've written a program using commoncpp that takes care of comms this way:

* Define a TCPSocket subclass MyTCPSocket

* Define a TCPSession subclass MyTCPSession that will be instanced once for 
every new connection. MyTCPSession has a static, semaphore protected mailbox 
to communicate with the original DOS single-thread code.

* Define a thread subclass MyTCPServer that aggregates a static MyTCPSocket 
and a vector of MyTCPSession*. It's run() method awaits incoming connections 
and assigns them to a new MyTCPSession.

This is more-or-less how I understood it should be from the examples. This 
code is meant to be called from the formerly DOS code, and amounts to less 
than 400 lines of code.

The whole scheme works just fine with a test main() function that instances a 
new MyTCPServer and then just sits there while new TCP sessions are created, 
checking the mailbox and printing received messages when they are available.

However, when the TCP code is called from the DOS code, it happens that the 
call to detach() in MyTCPServer constructor never returns, and the DOS thread 
sleeps forever. The TCP threads are nonetheless running, new connections are 
happily accepted, and the first incoming message is received. Further 
incoming messages make their receiving threads freeze on the incoming mailbox 
semaphore, as the calls to read the mailbox are in the sleeping or dead DOS 
code thread.

By the way, these threads, though visible with 'ps -A', and easy to interact 
with,  are not seen by gdb's 'info threads'.




From MAILER-DAEMON Tue Mar 25 12:54:17 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18xsbs-0000qu-00
	for mharc-bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:53:16 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18xsXG-0006FV-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:48:30 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18xsX4-000637-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:48:18 -0500
Received: from maila.its.uidaho.edu ([129.101.155.252])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18xsU9-0005GI-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 12:45:17 -0500
Received: from falcon ([129.101.69.98]) by mailA.its.uidaho.edu (Go Vandals!)
 with ESMTPP id <0HCB00BFQFZDHP@mailA.its.uidaho.edu> for
 bug-commoncpp@gnu.org; Tue, 25 Mar 2003 09:45:14 -0800 (PST)
Date: Tue, 25 Mar 2003 09:45:13 -0800
From: Chad Yates <cyates@uidaho.edu>
In-reply-to: <E18xdcW-0003ZW-00@gate.home>
To: Onno Kortmann <onno@gmx.net>, bug-commoncpp@gnu.org
Message-id: <NBBBJJODBJBNJFNIDDCNEEHHDFAA.cyates@uidaho.edu>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
Subject: RE: Test framework
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Tue, 25 Mar 2003 17:53:14 -0000

Onno,

There are the beginnings of a test suite using cppunit that I contributed at
the beginning of the year.  All the files are in the tests directory along
with the standalone test (that need to be converted to unit tests someday).
ccxx_tests.cpp is the runner that runs all the unit tests.  the files
prefixed like Test_ are the individual suites for the classes that have unit
tests.  take a look at them for how to structure the tests.

You might search the archives as there was a lot of discussion dec 2002, jan
2003 about it.

To enable compilation of the unit tests you have to configure with an extra
option for now.

./configure --with-cppunit

also there are a few unit tests (specifically the persistence engine ones)
that don't yet work on linux for some reason (I haven't had a chance to find
out why).

It would be wonderful if you wrote test cases as you learn the api.  I was
doing some of the same.  just remember to report any bugs you find while
writing the tests, as I'm sure you will (I did). Also feel free to make test
cases out of the functionality in some of the stand alone test programs too.

Cheers,

Chad

> -----Original Message-----
> From: bug-commoncpp-bounces+cyates=uidaho.edu@gnu.org
> [mailto:bug-commoncpp-bounces+cyates=uidaho.edu@gnu.org]On Behalf Of
> Onno Kortmann
> Sent: Monday, March 24, 2003 5:49 PM
> To: bug-commoncpp@gnu.org
> Subject: Test framework
>
>
> Hello!
>
> In order to get familar with the api of common c++, I wanted to
> write test
> cases.
> Is there a structure for cppunit-testcases?
> In tests/, I find some threading/tcp-connection-tests, but not more.
>
> Regards,
>
> Onno
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp




From MAILER-DAEMON Tue Mar 25 21:37:59 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18y0nG-0004Mc-00
	for mharc-bug-commoncpp@gnu.org; Tue, 25 Mar 2003 21:37:34 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18y0mT-00027j-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 21:36:45 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18y0m6-0000tp-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 21:36:26 -0500
Received: from pop.gmx.de ([213.165.65.60] helo=mail.gmx.net)
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18y0lP-0007je-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 21:35:39 -0500
Received: (qmail 15686 invoked by uid 65534); 26 Mar 2003 02:35:35 -0000
Received: from pD9E3D9BA.dip.t-dialin.net (EHLO gate.home) (217.227.217.186)
  by mail.gmx.net (mp001-rz3) with SMTP; 26 Mar 2003 03:35:35 +0100
Received: from crunch2.home ([192.168.1.10] helo=there)
	by gate.home with smtp (Exim 3.35 #1 (Debian))
	id 18y0lN-0007AA-00
	for <bug-commoncpp@gnu.org>; Wed, 26 Mar 2003 03:35:37 +0100
From: Onno Kortmann <onno@gmx.net>
To: bug-commoncpp@gnu.org
Date: Wed, 26 Mar 2003 03:32:09 +0100
X-Mailer: KMail [version 1.3.2]
MIME-Version: 1.0
Content-Type: Multipart/Mixed;
  boundary="------------Boundary-00=_LD4CLVI4CYK5UDSLSEAA"
Message-Id: <E18y0lN-0007AA-00@gate.home>
Subject: Build system
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 26 Mar 2003 02:37:30 -0000


--------------Boundary-00=_LD4CLVI4CYK5UDSLSEAA
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hello,
[Chad, I'm digging through the archives... thanks for your information!]
In order to get into Common C++, here are some build system complains and 
fixes :)

1. The configure-scripts looks for doc/html to build some bsd package list 
but then builds it using the doc/man3 directory. This leads to a cosmetic 
configure error 

ls: doc/man3/*.3cc: No such file or directory

if one removes the man3/ directory but leaves the html/ dir in order to save 
some space.

A Patch is appended. I hope I made it right since I'm on Debian GNU/Linux, 
not FreeBSD.

2. Another thing:

I noticed the files "Doxyfile" and "Doxyman" in doc/. As the first line in 
each file states, Doxyfile is for html/latex generation and Doxyman for 
manual generation. Diffiing these two files, I found some interesting things:

commoncpp2/doc$ diff Doxyfile Doxyman
2c2
< # Generate doxy documentation in html and latex format.
---
> # Generate doxy documentation in man format.
18c18
< PROJECT_NAME         ="GNU CommonC++"
---
> PROJECT_NAME         =CommonC++
140c140
< CASE_SENSE_NAMES     = NO
---
> CASE_SENSE_NAMES     = YES
211c211
< EXAMPLE_PATH         = ../demo ../tests
---
> EXAMPLE_PATH         =
242c242
< GENERATE_HTML        = YES
---
> GENERATE_HTML        = NO
280c280
< GENERATE_HTMLHELP    = YES
---
> GENERATE_HTMLHELP    = NO
301c301
< GENERATE_LATEX       = YES
---
> GENERATE_LATEX       = NO
347c347
< GENERATE_MAN         = NO
---
> GENERATE_MAN         = YES
353c353
< MAN_OUTPUT           =
---
> MAN_OUTPUT           = .
358c358
< MAN_EXTENSION        = .3
---
> MAN_EXTENSION        = .3cc
commoncpp2/doc$

I suppose, these differences shouldn't be there?
And, I think it would be better to put the common things into Doxyfile and 
create "Doxyhtml" "Doxylatex" and a new "Doxyman3" with the specific things.
The Makefile can then handle the concatenation of these files.
That would be a more OO approach, having some kind of configuration file 
inheritance ;))

I have made these changes, another patch for that is appended. Please also 
add the two files Doxyhtml and Doxylatex into the doc/ directory, cvs diff 
doesn't diff them because they have to be added first...

To create documentation then, go into doc/ and execute either

make html, make latex, make man or make alldoc.



Regards,

Onno
--------------Boundary-00=_LD4CLVI4CYK5UDSLSEAA
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="commoncpp-configure-freebsd-pkgplist.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
	filename="commoncpp-configure-freebsd-pkgplist.diff"

SW5kZXg6IGNvbmZpZ3VyZS5pbgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zzcm9vdC9jb21tb25j
cHAvY29tbW9uY3BwMi9jb25maWd1cmUuaW4sdgpyZXRyaWV2aW5nIHJldmlzaW9uIDEuMzMKZGlm
ZiAtdSAtZCAtcjEuMzMgY29uZmlndXJlLmluCi0tLSBjb25maWd1cmUuaW4JMSBGZWIgMjAwMyAy
MDowOToxNiAtMDAwMAkxLjMzCisrKyBjb25maWd1cmUuaW4JMjYgTWFyIDIwMDMgMDE6NDk6MDgg
LTAwMDAKQEAgLTE0OCw5ICsxNDgsMTQgQEAKIHBrZ2luZm8gY29tbW9uY3BwMi5zcGVjIGZyZWVi
c2QvTWFrZWZpbGUgd2luMzIvQ0NYWDIucmMgdGVzdHMvTWFrZWZpbGUKIGNvbW1vbmNwcDIucHJv
dG8pCiAKLWlmIHRlc3QgLWYgZG9jL2h0bWwvaW5kZXguaHRtbCA7IHRoZW4KK2lmIHRlc3QgLWQg
ZG9jL21hbjM7IHRoZW4KKwllY2hvICJhcHBlbmRpbmcgbWFuMyBmaWxlcyB0byBmcmVlYnNkIHBr
Zy1wbGlzdCIKIAlscyBkb2MvbWFuMy8qLjNjYyB8IHNlZCAtZSAnczpeZG9jL21hbjMvOm1hbi9t
YW4zLzonIHwgZ3JlcCAtdiB0b2RvID4+ZnJlZWJzZC9wa2ctcGxpc3QKLSMJbHMgZG9jL2h0bWwg
fCBzZWQgLWUgJ3M6XjpzaGFyZS9kb2MvY29tbW9uY3BwMi86JyA+PmZyZWVic2QvcGtnLXBsaXN0
CitmaQorCitpZiB0ZXN0IC1mIGRvYy9odG1sL2luZGV4Lmh0bWw7IHRoZW4KKwllY2hvICJhcHBl
bmRpbmcgaHRtbCBmaWxlcyB0byBmcmVlYnNkIHBrZy1wbGlzdCIKKwlscyBkb2MvaHRtbCB8IHNl
ZCAtZSAnczpeOnNoYXJlL2RvYy9jb21tb25jcHAyLzonID4+ZnJlZWJzZC9wa2ctcGxpc3QKIGZp
CiAKIGNkIGluY2x1ZGUvY2MrKwo=

--------------Boundary-00=_LD4CLVI4CYK5UDSLSEAA
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="commoncpp-doxygen-makefile.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="commoncpp-doxygen-makefile.diff"

PyBEb3h5aHRtbAo/IERveHlsYXRleAo/IGNvbW1vbmNwcDIuaW5mbwo/IGNvbW1vbmNwcDIuaW5m
by0xCj8gY29tbW9uY3BwMi5pbmZvLTIKPyBjb21tb25jcHAyLmluZm8tMwpJbmRleDogRG94eWZp
bGUKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PQpSQ1MgZmlsZTogL2N2c3Jvb3QvY29tbW9uY3BwL2NvbW1vbmNwcDIvZG9j
L0RveHlmaWxlLHYKcmV0cmlldmluZyByZXZpc2lvbiAxLjMKZGlmZiAtdSAtZCAtcjEuMyBEb3h5
ZmlsZQotLS0gRG94eWZpbGUJMTYgSmFuIDIwMDMgMTE6NDg6MDIgLTAwMDAJMS4zCisrKyBEb3h5
ZmlsZQkyNiBNYXIgMjAwMyAwMjoyNToyNSAtMDAwMApAQCAtMSw1ICsxLDcgQEAKLSMgRG94eWZp
bGUgMC4wLjEKKyMgRG94eWZpbGUgMC4wLjIKICMgR2VuZXJhdGUgZG94eSBkb2N1bWVudGF0aW9u
IGluIGh0bWwgYW5kIGxhdGV4IGZvcm1hdC4KKyMgSGVyZSBhcmUgdGhlIGNvbm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Qgd2lsbCBhbHdheXMgdHJpZ2dlciByZWNyZWF0aW9uIG9mIHRoZQorIyBkb2N1bWVu
dGF0aW9uLiBJZiB0aGF0IHdvdWxkIG5vdCBiZSB0aGUgY2FzZSwgYSBkYXRlIGNoZWNrIGZvciBl
dmVyeSBzaW5nbGUKKyMgYysrIGZpbGUgd291bGQgaGF2ZSB0byB0YWtlIHBsYWNlIHRvIGRlY2lk
ZSBpZiBkb2NzIG5lZWQgdG8gYmUgcmVnZW5lcmF0ZWQKKyMgb3Igbm90LgorCisjIFRoZSBtYWtl
ZmlsZSBhcHBlbmRzICJEb3h5aHRtbCIsICJEb3h5bGF0ZXgiIG9yICJEb3h5bWFuIiAoZGVwZW5k
cyBvbgorIyB0YXJnZXQsIG9mIGNvdXJzZSkgdG8gIkRveHlmaWxlIiBhbmQgc2VuZHMgdGhpcyBh
cyB0aGUgY29uZmlndXJhdGlvbiBmaWxlIHRvCisjIGRveHlnZW4uCisKK2FsbGRvYzoJaHRtbCBs
YXRleCBtYW4KK2h0bWw6OgorCWNhdCBEb3h5ZmlsZSBEb3h5aHRtbHxkb3h5Z2VuIC0KK2xhdGV4
OjoKKwljYXQgRG94eWZpbGUgRG94eWxhdGV4fGRveHlnZW4gLQorbWFuOjoKKwljYXQgRG94eWZp
bGUgRG94eW1hbnxkb3h5Z2VuIC0K

--------------Boundary-00=_LD4CLVI4CYK5UDSLSEAA
Content-Type: text/plain;
  charset="iso-8859-1";
  name="Doxylatex"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Doxylatex"

Iy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLQojIGNvbmZpZ3VyYXRpb24gb3B0aW9ucyByZWxhdGVkIHRvIHRo
ZSBMYVRlWCBvdXRwdXQKIy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS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YnJvd3NpbmcgdXNpbmcgYSBwZGYgdmlld2VyLgoKUERGX0hZUEVSTElO
S1MgICAgICAgPSBOTwoKIyBTd2l0Y2ggb2ZmIG90aGVyIGRvY3VtZW50YXRpb24gZm9ybWF0cwpH
RU5FUkFURV9IVE1MICAgICAgICA9IE5PCkdFTkVSQVRFX01BTgkgICAgID0gTk8K

--------------Boundary-00=_LD4CLVI4CYK5UDSLSEAA
Content-Type: text/plain;
  charset="iso-8859-1";
  name="Doxyhtml"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Doxyhtml"

Iy0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLQojIGNvbmZpZ3VyYXRpb24gb3B0aW9ucyByZWxhdGVkIHRvIHRo
ZSBIVE1MIG91dHB1dAojLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tCgojIElmIHRoZSBHRU5FUkFURV9IVE1M
IHRhZyBpcyBzZXQgdG8gWUVTICh0aGUgZGVmYXVsdCkgRG94eWdlbiB3aWxsCiMgZ2VuZXJhdGUg
SFRNTCBvdXRwdXQKCkdFTkVSQVRFX0hUTUwgICAgICAgID0gWUVTCgojIFRoZSBIVE1MX09VVFBV
VCB0YWcgaXMgdXNlZCB0byBzcGVjaWZ5IHdoZXJlIHRoZSBIVE1MIGRvY3Mgd2lsbCBiZSBwdXQu
CiMgSWYgYSByZWxhdGl2ZSBwYXRoIGlzIGVudGVyZWQgdGhlIHZhbHVlIG9mIE9VVFBVVF9ESVJF
Q1RPUlkgd2lsbCBiZQojIHB1dCBpbiBmcm9udCBvZiBpdC4gSWYgbGVmdCBibGFuayBgaHRtbCcg
d2lsbCBiZSB1c2VkIGFzIHRoZSBkZWZhdWx0IHBhdGguCgpIVE1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0IChjYW4gYmUgYSBudW1iZXIgaW4gdGhlIHJhbmdlIFsxLi4yMF0pCgpDT0xTX0lOX0FMUEhB
X0lOREVYICA9IDUKCgojIFN3aXRjaCBvZmYgb3RoZXIgZG9jdW1lbnRhdGlvbiBmb3JtYXRzCkdF
TkVSQVRFX0xBVEVYICAgICAgID0gTk8KR0VORVJBVEVfTUFOCSAgICAgPSBOTwo=

--------------Boundary-00=_LD4CLVI4CYK5UDSLSEAA--



From MAILER-DAEMON Tue Mar 25 22:34:26 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18y1gH-0000ds-00
	for mharc-bug-commoncpp@gnu.org; Tue, 25 Mar 2003 22:34:25 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18y1cX-0006jL-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 22:30:33 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18y1bt-0005O1-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 22:29:54 -0500
Received: from mail.gmx.net ([213.165.65.60])
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18y1be-0004Ti-00
	for bug-commoncpp@gnu.org; Tue, 25 Mar 2003 22:29:38 -0500
Received: (qmail 9503 invoked by uid 65534); 26 Mar 2003 03:29:36 -0000
Received: from pD958C587.dip.t-dialin.net (EHLO gate.home) (217.88.197.135)
  by mail.gmx.net (mp001-rz3) with SMTP; 26 Mar 2003 04:29:36 +0100
Received: from crunch2.home ([192.168.1.10] helo=there)
	by gate.home with smtp (Exim 3.35 #1 (Debian))
	id 18y1bf-0007Th-00
	for <bug-commoncpp@gnu.org>; Wed, 26 Mar 2003 04:29:39 +0100
Content-Type: text/plain;
  charset="iso-8859-1"
From: Onno Kortmann <onno@gmx.net>
To: bug-commoncpp@gnu.org
Date: Wed, 26 Mar 2003 04:26:11 +0100
X-Mailer: KMail [version 1.3.2]
References: <NBBBJJODBJBNJFNIDDCNEEHHDFAA.cyates@uidaho.edu>
In-Reply-To: <NBBBJJODBJBNJFNIDDCNEEHHDFAA.cyates@uidaho.edu>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <E18y1bf-0007Th-00@gate.home>
Subject: Re: Test framework
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 26 Mar 2003 03:34:23 -0000

Now, some questions and comments :)

> There are the beginnings of a test suite using cppunit that I contributed
> at the beginning of the year.  All the files are in the tests directory
> along with the standalone test (that need to be converted to unit tests
> someday). ccxx_tests.cpp is the runner that runs all the unit tests.  the
> files prefixed like Test_ are the individual suites for the classes that
> have unit tests.  take a look at them for how to structure the tests.
>
> You might search the archives as there was a lot of discussion dec 2002,
> jan 2003 about it.
>
Yes, I read that. I am even a bit familiiar with cppunit, using it in an own 
project...
Now, my first question: Why is there crc related stuff in ccxx_tests.cpp?

> To enable compilation of the unit tests you have to configure with an extra
> option for now.
>
> ./configure --with-cppunit
>
> also there are a few unit tests (specifically the persistence engine ones)
> that don't yet work on linux for some reason (I haven't had a chance to
> find out why).
Regarding persistence, I have a rather general question: How is platform 
independence of the files/streams achieved? I'm thinking of endianess. Or is 
the persistence framework not used to interchange data?
(Asked that already, but it was lost in the ML traffic)

> It would be wonderful if you wrote test cases as you learn the api.  I was
> doing some of the same.  just remember to report any bugs you find while
> writing the tests, as I'm sure you will (I did). 
I'll see what I can do in my little spare time...

> Also feel free to make
> test cases out of the functionality in some of the stand alone test
> programs too.
Really? Wouldn't that be somehow redundant... I mean if there is a bug in the 
testcode then there is one in the democode and vice versa?

Cheers,

Onno



From MAILER-DAEMON Wed Mar 26 11:58:39 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18yEAY-0001NM-00
	for mharc-bug-commoncpp@gnu.org; Wed, 26 Mar 2003 11:54:30 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18yE9r-0000tt-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 11:53:47 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yE9e-0000eT-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 11:53:34 -0500
Received: from bulbasaur.rediris.es ([130.206.194.34])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18yE5r-0007PS-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 11:49:39 -0500
Received: from fedemp by bulbasaur.rediris.es with local (Exim 3.36 #1
	(Debian))	id 18yE8h-0000bN-00; Wed, 26 Mar 2003 17:52:35 +0100
Date: Wed, 26 Mar 2003 17:52:34 +0100
From: Federico Montesino Pouzols <fedemp@altern.org>
To: dyfet <dyfet@ostel.com>
Message-ID: <20030326165234.GA2086@bulbasaur.rediris.es>
Mail-Followup-To: dyfet <dyfet@ostel.com>,
	cplusplus-devel@lists.sourceforge.net, bug-commoncpp@gnu.org
References: <20030319122729.GA409@bulbasaur.rediris.es>
	<NGBBIFPNCHFBHDDLAHNCMEFOCHAA.robert@tankred.sk> <3E7CFBC5.9040300@ostel.com>
	<20030323121549.GA16057@bulbasaur.rediris.es> <3E805CC2.1040708@ostel.com>
	<20030325152342.GB5069@pcutec> <3E8076E2.2070205@ostel.com>
	<20030325154912.GD5069@pcutec> <3E81D382.9080104@ostel.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3E81D382.9080104@ostel.com>
User-Agent: Mutt/1.5.3i
Sender: Federico Montesino Pouzols <fedemp@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
cc: cplusplus-devel@lists.sourceforge.net
Subject: Re: macosx notes
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
Reply-To: Federico Montesino Pouzols <fedemp@altern.org>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 26 Mar 2003 16:54:28 -0000


	I have found in my mailbox of cc++ bugs still to be fixed that
sem_init does not work on macosx, which could explain the freezes. Ian
Gough, who has been testing cc++ on macosx may have some comments,
since I believe he was able to get cc++ working after some hacks...

	An yes, I have not seen these kind of problems on FreeBSD.

On Wed, Mar 26, 2003 at 11:21:22AM -0500, dyfet wrote:
> Curiously, with a relativily few simple changes I can get reconfig to 
> work and (r1 based) common c++ to compile on macosx with a configure 
> script and libtool built from macosx's distribution of libtool, 
> autoconf, and automake.
> 
> However, I have yet to get a demo or test to actually work on the test 
> machine in question, at least from the build directory.  Anything that 
> is linked through ccext2 (including the simple digest test app) appears 
> to segfault in the dynamic linker while loading/resolving the image.  
> Things that use just ccgnu2 just freeze...most curious, since the last 
> time I had tested under FreeBSD (which is somewhat related), it 
> generally worked very well there...
> 
> >>>>       
> >>>>
> 



From MAILER-DAEMON Wed Mar 26 13:17:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18yFSc-0000k9-00
	for mharc-bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:17:14 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18yFST-0000Tq-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:17:05 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yFRx-0000DR-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:16:35 -0500
Received: from mx2.magma.ca ([206.191.0.250])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18yFLr-0005W8-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:10:15 -0500
Received: from mail5.magma.ca (mail5.magma.ca [206.191.0.225])
	by mx2.magma.ca (Magma Relay Server) with ESMTP id h2QIACQH018415; 
	Wed, 26 Mar 2003 13:10:12 -0500
Received: from igough (ottawa-hs-64-26-156-25.s-ip.magma.ca [64.26.156.25])
	by mail5.magma.ca (Magma's Mail Server) with ESMTP id h2QIAB8M007292;
	Wed, 26 Mar 2003 13:10:11 -0500 (EST)
From: "Ian Gough" <igough@gridironsoftware.com>
To: "'Federico Montesino Pouzols'" <fedemp@altern.org>,
   "'dyfet'" <dyfet@ostel.com>
Date: Wed, 26 Mar 2003 13:10:11 -0500
Message-ID: <000d01c2f3c2$f1969da0$1202a8c0@gridironnetworks.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <20030326165234.GA2086@bulbasaur.rediris.es>
cc: bug-commoncpp@gnu.org
cc: cplusplus-devel@lists.sourceforge.net
Subject: RE: macosx notes
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 26 Mar 2003 18:17:13 -0000

Odd. I had all sorts of problems getting the ccgnu2 lib to compile for
OS X, but I have not tried the code base lately. What I found was that
the Mac did not have sem_init or sem_destroy, so I substituted the named
semaphore variants sem_open and sem_close, choosing pseudorandom names.

On the mac, there is a version of libtool installed, but it is called
glibtool. That is the one I used. Just created a symlink from libtool to
glibtool.

I am surprised that you didn't run into a problem with not being able to
find the signature for the lockf() function too. On my system, there
isn't any signature in any header in /usr/include.

I haven't attempted to build the ext lib.

> -----Original Message-----
> From: 
> bug-commoncpp-bounces+igough=gridironsoftware.com@gnu.org 
> [mailto:bug-commoncpp-bounces+igough=gridironsoftware.com@gnu.
> org] On Behalf Of Federico Montesino Pouzols
> Sent: Wednesday, March 26, 2003 11:53 AM
> To: dyfet
> Cc: bug-commoncpp@gnu.org; cplusplus-devel@lists.sourceforge.net
> Subject: Re: macosx notes
> 
> 
> 
> 	I have found in my mailbox of cc++ bugs still to be 
> fixed that sem_init does not work on macosx, which could 
> explain the freezes. Ian Gough, who has been testing cc++ on 
> macosx may have some comments, since I believe he was able to 
> get cc++ working after some hacks...
> 
> 	An yes, I have not seen these kind of problems on FreeBSD.
> 
> On Wed, Mar 26, 2003 at 11:21:22AM -0500, dyfet wrote:
> > Curiously, with a relativily few simple changes I can get 
> reconfig to
> > work and (r1 based) common c++ to compile on macosx with a 
> configure 
> > script and libtool built from macosx's distribution of libtool, 
> > autoconf, and automake.
> > 
> > However, I have yet to get a demo or test to actually work 
> on the test
> > machine in question, at least from the build directory.  
> Anything that 
> > is linked through ccext2 (including the simple digest test 
> app) appears 
> > to segfault in the dynamic linker while loading/resolving 
> the image.  
> > Things that use just ccgnu2 just freeze...most curious, 
> since the last 
> > time I had tested under FreeBSD (which is somewhat related), it 
> > generally worked very well there...
> > 
> > >>>>       
> > >>>>
> > 
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org 
> http://mail.gnu.org/mailman/listinfo/bug-> commoncpp
> 




From MAILER-DAEMON Wed Mar 26 13:33:44 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18yFeF-0007t8-00
	for mharc-bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:29:15 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18yFck-0006Qw-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:27:42 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yFI4-0003b6-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:06:22 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18yF87-0007gJ-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 12:56:03 -0500
Received: from ostel.com ([192.168.1.102])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2QIeYf24652;
	Wed, 26 Mar 2003 13:40:34 -0500
Message-ID: <3E81E946.5060306@ostel.com>
Date: Wed, 26 Mar 2003 12:54:14 -0500
From: dyfet <dyfet@ostel.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Federico Montesino Pouzols <fedemp@altern.org>
References: <20030319122729.GA409@bulbasaur.rediris.es>
	<3E7CFBC5.9040300@ostel.com><3E805CC2.1040708@ostel.com>
	<20030325152342.GB5069@pcutec> <3E8076E2.2070205@ostel.com>
	<20030325154912.GD5069@pcutec> <3E81D382.9080104@ostel.com>
	<20030326165234.GA2086@bulbasaur.rediris.es>
In-Reply-To: <20030326165234.GA2086@bulbasaur.rediris.es>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
cc: bug-commoncpp@gnu.org
cc: cplusplus-devel@lists.sourceforge.net
Subject: Re: macosx notes
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 26 Mar 2003 18:29:14 -0000

Yes, I remember the discussion on sem_init awhile back...but that 
sem_open could still be used...I will track that down to look at that 
too, and maybe this would be a good time to try to review and 
incorporate any patches Ian might have...

Federico Montesino Pouzols wrote:

>	I have found in my mailbox of cc++ bugs still to be fixed that
>sem_init does not work on macosx, which could explain the freezes. Ian
>Gough, who has been testing cc++ on macosx may have some comments,
>since I believe he was able to get cc++ working after some hacks...
>
>	An yes, I have not seen these kind of problems on FreeBSD.
>
>On Wed, Mar 26, 2003 at 11:21:22AM -0500, dyfet wrote:
>  
>
>>Curiously, with a relativily few simple changes I can get reconfig to 
>>work and (r1 based) common c++ to compile on macosx with a configure 
>>script and libtool built from macosx's distribution of libtool, 
>>autoconf, and automake.
>>
>>However, I have yet to get a demo or test to actually work on the test 
>>machine in question, at least from the build directory.  Anything that 
>>is linked through ccext2 (including the simple digest test app) appears 
>>to segfault in the dynamic linker while loading/resolving the image.  
>>Things that use just ccgnu2 just freeze...most curious, since the last 
>>time I had tested under FreeBSD (which is somewhat related), it 
>>generally worked very well there...
>>
>>    
>>
>>>>>>      
>>>>>>
>>>>>>            
>>>>>>
>
>
>_______________________________________________
>Bug-commoncpp mailing list
>Bug-commoncpp@gnu.org
>http://mail.gnu.org/mailman/listinfo/bug-commoncpp
>  
>




From MAILER-DAEMON Wed Mar 26 13:38:51 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18yFhP-0001NV-00
	for mharc-bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:32:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18yFdX-00072Y-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:28:31 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yFdM-0006u0-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:28:21 -0500
Received: from pool-141-153-147-83.mad.east.verizon.net ([141.153.147.83]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18yFZO-0004tl-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 13:24:14 -0500
Received: from ostel.com ([192.168.1.102])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2QJ8kf24803;
	Wed, 26 Mar 2003 14:08:46 -0500
Message-ID: <3E81EFE2.5020304@ostel.com>
Date: Wed, 26 Mar 2003 13:22:26 -0500
From: dyfet <dyfet@ostel.com>
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US;
	rv:1.3) Gecko/20030312
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ian Gough <igough@gridironsoftware.com>
References: <000d01c2f3c2$f1969da0$1202a8c0@gridironnetworks.com>
In-Reply-To: <000d01c2f3c2$f1969da0$1202a8c0@gridironnetworks.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
cc: 'Federico Montesino Pouzols' <fedemp@altern.org>
cc: bug-commoncpp@gnu.org
cc: cplusplus-devel@lists.sourceforge.net
Subject: Re: macosx notes
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Wed, 26 Mar 2003 18:32:29 -0000

I have it compile the internal replacement function in file.cpp for the 
macosx target.  This got around that problem.  I also modified reconfig 
so that it would use glibtoolize if it finds it, rather than making the 
symlink.  I created a new macro, "MACOSX", based on __APPLE__ and 
__MACH__ being defined so that I could easily do other macosx specific 
changes easily.  This was done in the -rRELEASE1 tree, and that tree now 
does compile cleanly on macosx...

I will have to look at the sem_ stuff next...maybe then at least the 
ccgnu2 linked stuff will then execute.

Ian Gough wrote:

>Odd. I had all sorts of problems getting the ccgnu2 lib to compile for
>OS X, but I have not tried the code base lately. What I found was that
>the Mac did not have sem_init or sem_destroy, so I substituted the named
>semaphore variants sem_open and sem_close, choosing pseudorandom names.
>
>On the mac, there is a version of libtool installed, but it is called
>glibtool. That is the one I used. Just created a symlink from libtool to
>glibtool.
>
>I am surprised that you didn't run into a problem with not being able to
>find the signature for the lockf() function too. On my system, there
>isn't any signature in any header in /usr/include.
>
>I haven't attempted to build the ext lib.
>
>  
>
>>-----Original Message-----
>>From: 
>>bug-commoncpp-bounces+igough=gridironsoftware.com@gnu.org 
>>[mailto:bug-commoncpp-bounces+igough=gridironsoftware.com@gnu.
>>org] On Behalf Of Federico Montesino Pouzols
>>Sent: Wednesday, March 26, 2003 11:53 AM
>>To: dyfet
>>Cc: bug-commoncpp@gnu.org; cplusplus-devel@lists.sourceforge.net
>>Subject: Re: macosx notes
>>
>>
>>
>>	I have found in my mailbox of cc++ bugs still to be 
>>fixed that sem_init does not work on macosx, which could 
>>explain the freezes. Ian Gough, who has been testing cc++ on 
>>macosx may have some comments, since I believe he was able to 
>>get cc++ working after some hacks...
>>
>>	An yes, I have not seen these kind of problems on FreeBSD.
>>
>>On Wed, Mar 26, 2003 at 11:21:22AM -0500, dyfet wrote:
>>    
>>
>>>Curiously, with a relativily few simple changes I can get 
>>>      
>>>
>>reconfig to
>>    
>>
>>>work and (r1 based) common c++ to compile on macosx with a 
>>>      
>>>
>>configure 
>>    
>>
>>>script and libtool built from macosx's distribution of libtool, 
>>>autoconf, and automake.
>>>
>>>However, I have yet to get a demo or test to actually work 
>>>      
>>>
>>on the test
>>    
>>
>>>machine in question, at least from the build directory.  
>>>      
>>>
>>Anything that 
>>    
>>
>>>is linked through ccext2 (including the simple digest test 
>>>      
>>>
>>app) appears 
>>    
>>
>>>to segfault in the dynamic linker while loading/resolving 
>>>      
>>>
>>the image.  
>>    
>>
>>>Things that use just ccgnu2 just freeze...most curious, 
>>>      
>>>
>>since the last 
>>    
>>
>>>time I had tested under FreeBSD (which is somewhat related), it 
>>>generally worked very well there...
>>>
>>>      
>>>
>>>>>>>      
>>>>>>>
>>>>>>>              
>>>>>>>
>>_______________________________________________
>>Bug-commoncpp mailing list
>>Bug-commoncpp@gnu.org 
>>http://mail.gnu.org/mailman/listinfo/bug-> commoncpp
>>
>>    
>>
>
>  
>




From MAILER-DAEMON Wed Mar 26 19:29:53 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18yLGR-0000AM-00
	for mharc-bug-commoncpp@gnu.org; Wed, 26 Mar 2003 19:29:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18yLGE-000868-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 19:28:50 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yLFN-0006Hc-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 19:28:01 -0500
Received: from maila.its.uidaho.edu ([129.101.155.252])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18yLFC-00060H-00
	for bug-commoncpp@gnu.org; Wed, 26 Mar 2003 19:27:46 -0500
Received: from falcon ([129.101.69.98]) by mailA.its.uidaho.edu (Go Vandals!)
 with ESMTPP id <0HCD00AHVTA74X@mailA.its.uidaho.edu> for
 bug-commoncpp@gnu.org; Wed, 26 Mar 2003 16:27:44 -0800 (PST)
Date: Wed, 26 Mar 2003 16:27:44 -0800
From: Chad Yates <cyates@uidaho.edu>
In-reply-to: <E18y1bf-0007Th-00@gate.home>
To: Onno Kortmann <onno@gmx.net>, bug-commoncpp@gnu.org
Message-id: <NBBBJJODBJBNJFNIDDCNEEIADFAA.cyates@uidaho.edu>
MIME-version: 1.0
X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
Content-type: text/plain; charset=iso-8859-1
Content-transfer-encoding: 7BIT
Importance: Normal
X-Priority: 3 (Normal)
X-MSMail-priority: Normal
Subject: RE: Test framework
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Thu, 27 Mar 2003 00:29:02 -0000

> Now, my first question: Why is there crc related stuff in ccxx_tests.cpp?

It really isn't supposed to be there, but I didn't take it out before I
submitted it because the issues with the crc32 algorithm were unresolved.

> Regarding persistence, I have a rather general question: How is platform
> independence of the files/streams achieved? I'm thinking of
> endianess. Or is
> the persistence framework not used to interchange data?
> (Asked that already, but it was lost in the ML traffic)

I doubt it is handled, but should be.  I'll probably be looking into it in
the future as my app needs to be cross platform at least between
powerpc/intel, and I use the persistence engine as part of my remote object
infrastructure.


> > Also feel free to make
> > test cases out of the functionality in some of the stand alone test
> > programs too.
> Really? Wouldn't that be somehow redundant... I mean if there is
> a bug in the
> testcode then there is one in the democode and vice versa?

yeah, I suppose, but it would be a good starting point for expansion, and
then obsolescence of the stand-a-lone test progs.

later,

chad




From MAILER-DAEMON Fri Mar 28 07:25:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18ysu3-0000Cv-00
	for mharc-bug-commoncpp@gnu.org; Fri, 28 Mar 2003 07:24:11 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18yr0A-0003wm-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 05:22:22 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yqza-0003Km-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 05:21:46 -0500
Received: from smtp.citb.bull.net ([192.90.76.5] helo=loupiac.citb.bull.net)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18yqz9-00032T-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 05:21:19 -0500
Received: from citb.bull.net (magellan.citb.bull.net [192.168.76.175])
	by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id h2SALFR24363
	for <bug-commoncpp@gnu.org>; Fri, 28 Mar 2003 11:21:15 +0100
Message-ID: <3E842286.8000207@citb.bull.net>
Date: Fri, 28 Mar 2003 11:23:02 +0100
From: Patrice de Sury <p.desury@citb.bull.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.3) Gecko/20030312
X-Accept-Language: fr, en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
X-Mailman-Approved-At: Fri, 28 Mar 2003 07:24:10 -0500
Subject: commonc++ et AIX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 28 Mar 2003 10:22:23 -0000

Hello,
I downloaded commoncpp2-1.0.8 on my AIX 4.3

the "configure", "make" and "make install" are OK
(except warning in /usr/include/pthread.h 
PTHREAD_MUTEX_INITIALIZER...that I solved)

but, after a link and for any program , I have the following error:

/bin/sh ../libtool --mode=link c++  -I/usr/local/include -D_GNU_SOURCE 
-g -DDEBUG -D_THREAD_SAFE -Wall -ansi -pedantic  -o bug1  bug1.o 
../src/libccgnu2.la -mthreads -ldl -L/usr/local/lib
c++ -I/usr/local/include -D_GNU_SOURCE -g -DDEBUG -D_THREAD_SAFE -Wall 
-ansi -pedantic -o .libs/bug1 bug1.o -mthreads  -L../src/.libs -lccgnu2 
-L/usr/local/lib -ldl -Wl,-bnolibpath 
-Wl,-blibpath:/usr/local/lib:/usr/lib:/lib
ld: 0711-317 ERROR: Undefined symbol: .ost::Thread::~Thread(void)
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more 
information.
collect2: ld returned 8 exit status
make: *** [bug1] Error 1

gcc version 2.95.3 20010315 (release)
GNU Make version 3.79.1

Thank you very much for any help
p.desury@citb.bull.net





From MAILER-DAEMON Fri Mar 28 07:32:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18yt1R-0004vz-00
	for mharc-bug-commoncpp@gnu.org; Fri, 28 Mar 2003 07:31:49 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18ysuV-0000JQ-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 07:24:39 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yskF-0005hg-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 07:14:04 -0500
Received: from smtp.citb.bull.net ([192.90.76.5] helo=loupiac.citb.bull.net)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18ysaP-0004Ex-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 07:03:54 -0500
Received: from citb.bull.net (magellan.citb.bull.net [192.168.76.175])
	by loupiac.citb.bull.net (8.11.6/linuxconf) with ESMTP id h2SC3pR26967
	for <bug-commoncpp@gnu.org>; Fri, 28 Mar 2003 13:03:51 +0100
Message-ID: <3E843A92.3090503@citb.bull.net>
Date: Fri, 28 Mar 2003 13:05:38 +0100
From: Patrice de Sury <p.desury@citb.bull.net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
	rv:1.3) Gecko/20030312
X-Accept-Language: fr, en-us, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Subject: commonc++ et AIX
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 28 Mar 2003 12:31:45 -0000

I fixed my problem by using the GNU ld and the GNU as
:-)
Patrice



    Hello,
    I downloaded commoncpp2-1.0.8 on my AIX 4.3

    the "configure", "make" and "make install" are OK
    (except warning in /usr/include/pthread.h
    PTHREAD_MUTEX_INITIALIZER...that I solved)

    but, after a link and for any program , I have the following error:

    /bin/sh ../libtool --mode=link c++  -I/usr/local/include
    -D_GNU_SOURCE -g -DDEBUG -D_THREAD_SAFE -Wall -ansi -pedantic  -o
    bug1  bug1.o ../src/libccgnu2.la -mthreads -ldl -L/usr/local/lib
    c++ -I/usr/local/include -D_GNU_SOURCE -g -DDEBUG -D_THREAD_SAFE
    -Wall -ansi -pedantic -o .libs/bug1 bug1.o -mthreads  -L../src/.libs
    -lccgnu2 -L/usr/local/lib -ldl -Wl,-bnolibpath
    -Wl,-blibpath:/usr/local/lib:/usr/lib:/lib
    ld: 0711-317 ERROR: Undefined symbol: .ost::Thread::~Thread(void)
    ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
    information.
    collect2: ld returned 8 exit status
    make: *** [bug1] Error 1

    gcc version 2.95.3 20010315 (release)
    GNU Make version 3.79.1





From MAILER-DAEMON Fri Mar 28 12:50:33 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18yxyR-0005qp-00
	for mharc-bug-commoncpp@gnu.org; Fri, 28 Mar 2003 12:49:03 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18yxxS-0005Qz-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 12:48:02 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18yxxG-0005GA-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 12:47:53 -0500
Received: from acate.com.br ([200.215.17.89] helo=cli004.brasmap.com.br)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18yxvG-0004Kh-00
	for bug-commoncpp@gnu.org; Fri, 28 Mar 2003 12:45:46 -0500
Received: from cli004.brasmap.com.br (localhost.localdomain [127.0.0.1])
	by cli004.brasmap.com.br (Postfix) with SMTP id 4B2565B91D
	for <bug-commoncpp@gnu.org>; Fri, 28 Mar 2003 14:48:42 -0300 (BRT)
Date: Fri, 28 Mar 2003 14:48:41 -0300
From: Marcelo Dalmas <mad@brasmap.com.br>
To: bug-commoncpp@gnu.org
Message-Id: <20030328144841.1f91e7db.mad@brasmap.com.br>
In-Reply-To: <20030129151422.39db57bc.mad@brasmap.com.br>
References: <LLEGJHOMPFHINGBACKKLEEMGCHAA.mikes@in-tune.com>
	<20030129094029.743bc346.mad@brasmap.com.br>
	<20030129135136.GA274@bulbasaur.rediris.es>
	<20030129151422.39db57bc.mad@brasmap.com.br>
Organization: BRASMAP Sistemas
X-Mailer: Sylpheed version 0.8.11 (GTK+ 1.2.10; i586-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: multipart/mixed;
 boundary="Multipart_Fri__28_Mar_2003_14:48:41_-0300_0828d788"
Subject: Re: DateTime() constructor
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Fri, 28 Mar 2003 17:49:01 -0000

This is a multi-part message in MIME format.

--Multipart_Fri__28_Mar_2003_14:48:41_-0300_0828d788
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Hi,

I'm sending a patch with original fromSeconds and a patch for commoncpp2.spec.in.

On Wed, 29 Jan 2003 15:14:22 -0200
Marcelo Dalmas <mad@brasmap.com.br> wrote:

> The patch for fromSeconds method should't be apply because methods like
> getHour,
> getMinute, etc., use fromSeconds.
> 
[snip]
> 
> 
> On Wed, 29 Jan 2003 14:51:36 +0100
> Federico Montesino Pouzols <fedemp@altern.org> wrote:
> 
> > 
> > 	Ok, it is in CVS. Marcelo, this patch seems to include your
> > previous one for Time, however I see a little difference as for the
> > fromSeconds method. Should we apply to CVS the changes to fromSeconds
> > that you included in the first patch?


-- 
Marcelo Dalmas
BRASMAP Sistemas
www.brasmap.com.br
Fone/Fax: (48) 333-2218 ramal 2114

Linux user #114373 http://counter.li.org/


--Multipart_Fri__28_Mar_2003_14:48:41_-0300_0828d788
Content-Type: application/octet-stream;
 name="spec.patch"
Content-Disposition: attachment;
 filename="spec.patch"
Content-Transfer-Encoding: base64

SW5kZXg6IGNvbW1vbmNwcDIuc3BlYy5pbgo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvdXNyL2xvY2Fs
L2N2c3Jvb3QvYnJhc21hcC9jb21tb25jcHAyL2NvbW1vbmNwcDIuc3BlYy5pbix2CnJldHJpZXZp
bmcgcmV2aXNpb24gMS41CmRpZmYgLXUgLXIxLjUgY29tbW9uY3BwMi5zcGVjLmluCi0tLSBjb21t
b25jcHAyLnNwZWMuaW4JMjAwMi8wOS8yMCAxMzoxMjoyOAkxLjUKKysrIGNvbW1vbmNwcDIuc3Bl
Yy5pbgkyMDAzLzAzLzI4IDE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m8gJXtfaW5mb2Rpcn0vZGlyCg==

--Multipart_Fri__28_Mar_2003_14:48:41_-0300_0828d788
Content-Type: application/octet-stream;
 name="date.patch"
Content-Disposition: attachment;
 filename="date.patch"
Content-Transfer-Encoding: base64

SW5kZXg6IHNyYy9kYXRlLmNwcAo9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvdXNyL2xvY2FsL2N2c3Jv
b3QvYnJhc21hcC9jb21tb25jcHAyL3NyYy9kYXRlLmNwcCx2CnJldHJpZXZpbmcgcmV2aXNpb24g
MS4xMgpkaWZmIC11IC1yMS4xMiBkYXRlLmNwcAotLS0gc3JjL2RhdGUuY3BwCTIwMDMvMDMvMjUg
MTI6Mzg6MTMJMS4xMgorKysgc3JjL2RhdGUuY3BwCTIwMDMvMDMvMjggMTc6MjQ6MjIKQEAgLTYy
OSwxNCArNjI5LDEyIEBACiB2b2lkIFRpbWU6OmZyb21TZWNvbmRzKGNoYXIgKmJ1ZmZlcikKIHsK
IAlaTnVtYmVyIGhvdXIoYnVmZmVyLCAyKTsKLQlaTnVtYmVyIG1pbnV0ZShidWZmZXIgKyAzLCAy
KTsKLQlaTnVtYmVyIHNlY29uZChidWZmZXIgKyA2LCAyKTsKKwlaTnVtYmVyIG1pbnV0ZShidWZm
ZXIgKyAyLCAyKTsKKwlaTnVtYmVyIHNlY29uZChidWZmZXIgKyA0LCAyKTsKIAogCWhvdXIgPSBz
ZWNvbmRzIC8gMzYwMDsKIAltaW51dGUgPSAoc2Vjb25kcyAtICgzNjAwICogaG91cigpKSkgLyA2
MDsKIAlzZWNvbmQgPSBzZWNvbmRzIC0gKDM2MDAgKiBob3VyKCkpIC0gKDYwICogbWludXRlKCkp
OwotCWJ1ZmZlclsyXSA9ICc6JzsKLQlidWZmZXJbNV0gPSAnOic7CiAJYnVmZmVyWzhdID0gJ1ww
JzsKIH0KIAo=

--Multipart_Fri__28_Mar_2003_14:48:41_-0300_0828d788--



From MAILER-DAEMON Sun Mar 30 10:22:36 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18zedo-0001AE-00
	for mharc-bug-commoncpp@gnu.org; Sun, 30 Mar 2003 10:22:36 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18zedk-00014g-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 10:22:32 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18zedj-00010e-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 10:22:32 -0500
Received: from mail.gmx.net ([213.165.64.20])
	by monty-python.gnu.org with smtp (Exim 4.10.13)
	id 18zedi-0000tR-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 10:22:30 -0500
Received: (qmail 29472 invoked by uid 65534); 30 Mar 2003 15:22:26 -0000
Received: from pD9E3DC82.dip.t-dialin.net (EHLO gate.home) (217.227.220.130)
  by mail.gmx.net (mp012-rz3) with SMTP; 30 Mar 2003 17:22:26 +0200
Received: from crunch2.home ([192.168.1.10] helo=there)
	by gate.home with smtp (Exim 3.35 #1 (Debian))
	id 18zedc-0006bA-00
	for <bug-commoncpp@gnu.org>; Sun, 30 Mar 2003 17:22:24 +0200
From: Onno Kortmann <onno@gmx.net>
To: bug-commoncpp@gnu.org
Date: Sun, 30 Mar 2003 16:22:23 +0100
X-Mailer: KMail [version 1.3.2]
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Content-Type: Multipart/Mixed;
  boundary="------------Boundary-00=_BPIKD4ZCQXIS3R0E62E9"
Message-Id: <E18zedc-0006bA-00@gate.home>
Subject: operator<< for exceptions, testsuite for exceptions
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Sun, 30 Mar 2003 15:22:33 -0000


--------------Boundary-00=_BPIKD4ZCQXIS3R0E62E9
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 8bit

Hello,

here is a patch that will enrich the interface of Exception a little bit. It 
adds an << - operator. And there is now a little testsuite for the exception 
class.
Oh, and this updates tests/README. It was a bit out of date.
...and I'm not a native english speaker, so please correct it...

The patch that adds the operator is commoncpp-exception-stream.diff,
the patch that modifies the Makefile/README in tests/ is 
commoncpp-exception-test.diff and the two files Test_Exception.h/.cpp are the 
new test for the "Exception" class.

Regards,

Onno

PS. If this all is crap, please let me know :)
--------------Boundary-00=_BPIKD4ZCQXIS3R0E62E9
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="commoncpp-exception-test.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="commoncpp-exception-test.diff"

SW5kZXg6IHRlc3RzL01ha2VmaWxlLmFtCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KUkNTIGZpbGU6IC9jdnNyb290L2Nv
bW1vbmNwcC9jb21tb25jcHAyL3Rlc3RzL01ha2VmaWxlLmFtLHYKcmV0cmlldmluZyByZXZpc2lv
biAxLjkKZGlmZiAtdSAtZCAtcjEuOSBNYWtlZmlsZS5hbQotLS0gdGVzdHMvTWFrZWZpbGUuYW0J
OCBGZWIgMjAwMyAyMDo1MzoxMyAtMDAwMAkxLjkKKysrIHRlc3RzL01ha2VmaWxlLmFtCTMwIE1h
ciAyMDAzIDE1OjExOjMwIC0wMDAwCkBAIC0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YXNz
bmFtZT4uY3BwIi4KKworUHV0IHlvdXIgdGVzdCBzdWl0ZSBpbiB0aGVzZSBmaWxlcyBhbmQgcmVn
aXN0ZXIgaXQgdXNpbmcgdGhlIGZhY3RvcnkgZnJhbWV3b3JrCitjcHB1bml0IHN1cHBsaWVzLihB
IGNhbGwgdG8gQ1BQVU5JVF9URVNUX1NVSVRFX1JFR0lTVFJBVElPTiBzaG91bGQgYmUgZW5vdWdo
LikgCitJIHdvbid0IGdvIGludG8gZGV0YWlsIGhlcmUgYWJvdXQgd3JpdGluZyB0aGVzZSB0ZXN0
IHN1aXRlcyAoQXMgSSdtIGFsc28gbm90CisxMDAlIHVzZWQgdG8gaXQgeWV0IDopLCBidXQgdGhl
IGNwcHVuaXQgZG9jdW1lbnRhdGlvbiB0aGF0IG1heSBiZSBmb3VuZCBvbmxpbmUKK2F0IHRoZSBh
Ym92ZSBVUkwgaXMgdmVyeSBjb21wcmVoZW5zaXZlLgorCitPbm5vClwgTm8gbmV3bGluZSBhdCBl
bmQgb2YgZmlsZQo=

--------------Boundary-00=_BPIKD4ZCQXIS3R0E62E9
Content-Type: text/x-diff;
  charset="iso-8859-1";
  name="commoncpp-exception-stream.diff"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="commoncpp-exception-stream.diff"

SW5kZXg6IGluY2x1ZGUvY2MrKy9leGNlcHRpb24uaAo9PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09ClJDUyBmaWxlOiAvY3Zz
cm9vdC9jb21tb25jcHAvY29tbW9uY3BwMi9pbmNsdWRlL2NjKysvZXhjZXB0aW9uLmgsdgpyZXRy
aWV2aW5nIHJldmlzaW9uIDEuNgpkaWZmIC11IC1kIC1yMS42IGV4Y2VwdGlvbi5oCi0tLSBpbmNs
dWRlL2NjKysvZXhjZXB0aW9uLmgJMTYgTm92IDIwMDIgMjI6MTg6NTggLTAwMDAJMS42CisrKyBp
bmNsdWR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ZiAtdSAtZCAtcjEuNiBleGNlcHRpb24uY3BwCi0t
LSBzcmMvZXhjZXB0aW9uLmNwcAkyMCBOb3YgMjAwMiAxMjoyOToxOSAtMDAwMAkxLjYKKysrIHNy
Yy9leGNlcHRpb24uY3BwCTMwIE1hciAyMDAzIDE1OjA5OjIzIC0wMDAwCkBAIC02MCw2ICs2MCwx
MSBAQAogCXJldHVybiBfd2hhdC5jX3N0cigpOwogfQogCitvc3RyZWFtICZvcGVyYXRvcjw8KG9z
dHJlYW0gJm9zLCBjb25zdCBFeGNlcHRpb24gJmUpIHsKKwlyZXR1cm4gKG9zIDw8IGUuZ2V0U3Ry
aW5nKCkpOworfQorCisgCiBJT0V4Y2VwdGlvbjo6SU9FeGNlcHRpb24oY29uc3Qgc3RkOjpzdHJp
bmcgJndoYXRfYXJnLCBsb25nIHN5c3RlbUVycm9yKSB0aHJvdygpIDogCiAJRXhjZXB0aW9uKHdo
YXRfYXJnKSwgX3N5c3RlbUVycm9yKHN5c3RlbUVycm9yKSwgCiAJX3N5c3RlbUVycm9yU3RyaW5n
KE5VTEwpCg==

--------------Boundary-00=_BPIKD4ZCQXIS3R0E62E9
Content-Type: text/x-c++;
  charset="iso-8859-1";
  name="Test_Exception.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Test_Exception.cpp"

Ly8gQ29weXJpZ2h0IChDKSAyMDAzIE9ubm8gS29ydG1hbm4gPG9ubm9AZ214Lm5ldD4KLy8gIAov
LyBUaGlzIHByb2dyYW0gaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3RyaWJ1dGUgaXQg
YW5kL29yIG1vZGlmeQovLyBpdCB1bmRlciB0aGUgdGVybXMgb2YgdGhlIEdOVSBHZW5lcmFsIFB1
YmxpYyBMaWNlbnNlIGFzIHB1Ymxpc2hlZCBieQovLyB0aGUgRnJlZSBTb2Z0d2FyZSBGb3VuZGF0
aW9uOyBlaXRoZXIgdmVyc2lvbiAyIG9mIHRoZSBMaWNlbnNlLCBvcgovLyAoYXQgeW91ciBvcHRp
b24pIGFueSBsYXRlciB2ZXJzaW9uLgovLyAKLy8gVGhpcyBwcm9ncmFtIGlzIGRpc3RyaWJ1dGVk
IGluIHRoZSBob3BlIHRoYXQgaXQgd2lsbCBiZSB1c2VmdWwsCi8vIGJ1dCBXSVRIT1VUIEFOWSBX
QVJSQU5UWTsgd2l0aG91dCBldmVuIHRoZSBpbXBsaWVkIHdhcnJhbnR5IG9mCi8vIE1FUkNIQU5U
QUJJTElUWSBvciBGSVRORVNTIEZPUiBBIFBBUlRJQ1VMQVIgUFVSUE9TRS4gIFNlZSB0aGUKLy8g
R05VIEdlbmVyYWwgUHVibGljIExpY2Vuc2UgZm9yIG1vcmUgZGV0YWlscy4KLy8KLy8gWW91IHNo
b3VsZCBoYXZlIHJlY2VpdmVkIGEgY29weSBvZiB0aGUgR05VIEdlbmVyYWwgUHVibGljIExpY2Vu
c2UKLy8gYWxvbmcgd2l0aCB0aGlzIHByb2dyYW07IGlmIG5vdCwgd3JpdGUgdG8gdGhlIEZyZWUg
U29mdHdhcmUgCi8vIEZvdW5kYXRpb24sIEluYy4sIDU5IFRlbXBsZSBQbGFjZSAtIFN1aXRlIDMz
MCwgQm9zdG9uLCBNQSAwMjExMS0xMzA3LCBVU0EuCiAKI2luY2x1ZGUgIlRlc3RfRXhjZXB0aW9u
LmgiCgpDUFBVTklUX1RFU1RfU1VJVEVfUkVHSVNUUkFUSU9OKEV4Y2VwdGlvblRlc3QpOwoK

--------------Boundary-00=_BPIKD4ZCQXIS3R0E62E9
Content-Type: text/x-c++;
  charset="iso-8859-1";
  name="Test_Exception.h"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="Test_Exception.h"

Ly8gQ29weXJpZ2h0IChDKSAyMDAzIE9ubm8gS29ydG1hbm4gPG9ubm9AZ214Lm5ldD4KLy8gIAov
LyBUaGlzIHByb2dyYW0gaXMgZnJlZSBzb2Z0d2FyZTsgeW91IGNhbiByZWRpc3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9pZCB0ZXN0T3Bl
cmF0b3IoKSB7CgkJc3RkOjpzdHJzdHJlYW0gczsKCQlzIDw8ICplMSA8PCAqZTI7CgkJc3RyaW5n
IGI7CgkJcyA+PiBiOwoJCUNQUFVOSVRfQVNTRVJUX0VRVUFMKGIsIChzdHJpbmcpImZvb2JhcmJh
cmZvbyIpOwoJfQp9OwoK

--------------Boundary-00=_BPIKD4ZCQXIS3R0E62E9--



From MAILER-DAEMON Sun Mar 30 21:55:04 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18zpPq-0006am-00
	for mharc-bug-commoncpp@gnu.org; Sun, 30 Mar 2003 21:52:54 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18zpPa-0006LQ-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 21:52:38 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18zpOK-0004mu-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 21:51:21 -0500
Received: from pool-141-153-149-56.mad.east.verizon.net ([141.153.149.56]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18zpOJ-0004mc-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 21:51:19 -0500
Received: from 192.168.1.104 ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2V3aJf01704;
	Sun, 30 Mar 2003 22:36:19 -0500
From: David Sugar <dyfet@ostel.com>
To: Federico Montesino Pouzols <fedemp@altern.org>
Date: Mon, 31 Mar 2003 02:37:00 +0000
User-Agent: KMail/1.5
References: <20030319122729.GA409@bulbasaur.rediris.es>
	<3E81D382.9080104@ostel.com> <20030326165234.GA2086@bulbasaur.rediris.es>
In-Reply-To: <20030326165234.GA2086@bulbasaur.rediris.es>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200303310237.00668.dyfet@ostel.com>
cc: bug-commoncpp@gnu.org
cc: cplusplus-devel@lists.sourceforge.net
Subject: Re: [Cplusplus-devel]Re: macosx notes
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 31 Mar 2003 02:52:51 -0000

I had worked on it a bit, but I still have not gotten it to run.  I tried a 
small change to use sem_open but I think the * returned by sem_open is meant 
to be used as if a rvalue, so conversion to _sempahore and referencing it by 
address does not directly work.  I have an idea to resolve this I will try 
shortly to support both sem_init and sem_open versions of sem_t.  At least 
the compile build issues should now be resolved so that it will be easier to 
get running on macosx.

On Wednesday 26 March 2003 04:52 pm, Federico Montesino Pouzols wrote:
> I have found in my mailbox of cc++ bugs still to be fixed that
> sem_init does not work on macosx, which could explain the freezes. Ian
> Gough, who has been testing cc++ on macosx may have some comments,
> since I believe he was able to get cc++ working after some hacks...
>
> 	An yes, I have not seen these kind of problems on FreeBSD.
>
> On Wed, Mar 26, 2003 at 11:21:22AM -0500, dyfet wrote:
> > Curiously, with a relativily few simple changes I can get reconfig to
> > work and (r1 based) common c++ to compile on macosx with a configure
> > script and libtool built from macosx's distribution of libtool,
> > autoconf, and automake.
> >
> > However, I have yet to get a demo or test to actually work on the test
> > machine in question, at least from the build directory.  Anything that
> > is linked through ccext2 (including the simple digest test app) appears
> > to segfault in the dynamic linker while loading/resolving the image.
> > Things that use just ccgnu2 just freeze...most curious, since the last
> > time I had tested under FreeBSD (which is somewhat related), it
> > generally worked very well there...
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Cplusplus-devel mailing list
> Cplusplus-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cplusplus-devel




From MAILER-DAEMON Sun Mar 30 22:47:38 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 18zqFp-00066T-00
	for mharc-bug-commoncpp@gnu.org; Sun, 30 Mar 2003 22:46:37 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18zqFC-0005sc-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 22:45:58 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18zqDl-0005SP-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 22:44:32 -0500
Received: from pool-141-153-149-56.mad.east.verizon.net ([141.153.149.56]
	helo=home.bayonne.dyndns.org)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)	id 18zpv3-00087e-00
	for bug-commoncpp@gnu.org; Sun, 30 Mar 2003 22:25:09 -0500
Received: from 192.168.1.104 ([192.168.1.104])
	by home.bayonne.dyndns.org (8.11.6/8.11.6) with ESMTP id h2V4A4f01947;
	Sun, 30 Mar 2003 23:10:04 -0500
From: David Sugar <dyfet@ostel.com>
To: Federico Montesino Pouzols <fedemp@altern.org>
Date: Mon, 31 Mar 2003 03:10:45 +0000
User-Agent: KMail/1.5
References: <20030319122729.GA409@bulbasaur.rediris.es>
	<20030326165234.GA2086@bulbasaur.rediris.es>
	<200303310237.00668.dyfet@ostel.com>
In-Reply-To: <200303310237.00668.dyfet@ostel.com>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200303310310.45188.dyfet@ostel.com>
cc: bug-commoncpp@gnu.org
cc: cplusplus-devel@lists.sourceforge.net
Subject: Re: [Cplusplus-devel]Re: macosx notes
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 31 Mar 2003 03:46:36 -0000

I have done a slight re-write of BSD semaphore code (this is also used in 
linux targets) and perhaps I have made it a bit better since the destructor 
code will now only be used for semaphores that initalize successfully in the 
constructor.  It should hopefully now also do either sem_init or sem_open.  
If it works okay, we will need to merge this into HEAD as well.  We might be 
able to make it even better later by checking the errno from sem_init rather 
than depending on a preprocessor macro to support things like macosx which do  
not impliment sem_init.  In any case, it also needs lots of testing.

On Monday 31 March 2003 02:37 am, David Sugar wrote:
> I had worked on it a bit, but I still have not gotten it to run.  I tried a
> small change to use sem_open but I think the * returned by sem_open is
> meant to be used as if a rvalue, so conversion to _sempahore and
> referencing it by address does not directly work.  I have an idea to
> resolve this I will try shortly to support both sem_init and sem_open
> versions of sem_t.  At least the compile build issues should now be
> resolved so that it will be easier to get running on macosx.
>
> On Wednesday 26 March 2003 04:52 pm, Federico Montesino Pouzols wrote:
> > I have found in my mailbox of cc++ bugs still to be fixed that
> > sem_init does not work on macosx, which could explain the freezes. Ian
> > Gough, who has been testing cc++ on macosx may have some comments,
> > since I believe he was able to get cc++ working after some hacks...
> >
> > 	An yes, I have not seen these kind of problems on FreeBSD.
> >
> > On Wed, Mar 26, 2003 at 11:21:22AM -0500, dyfet wrote:
> > > Curiously, with a relativily few simple changes I can get reconfig to
> > > work and (r1 based) common c++ to compile on macosx with a configure
> > > script and libtool built from macosx's distribution of libtool,
> > > autoconf, and automake.
> > >
> > > However, I have yet to get a demo or test to actually work on the test
> > > machine in question, at least from the build directory.  Anything that
> > > is linked through ccext2 (including the simple digest test app) appears
> > > to segfault in the dynamic linker while loading/resolving the image.
> > > Things that use just ccgnu2 just freeze...most curious, since the last
> > > time I had tested under FreeBSD (which is somewhat related), it
> > > generally worked very well there...
> >
> > -------------------------------------------------------
> > This SF.net email is sponsored by:
> > The Definitive IT and Networking Event. Be There!
> > NetWorld+Interop Las Vegas 2003 -- Register today!
> > http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> > _______________________________________________
> > Cplusplus-devel mailing list
> > Cplusplus-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/cplusplus-devel
>
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> Cplusplus-devel mailing list
> Cplusplus-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cplusplus-devel




From MAILER-DAEMON Mon Mar 31 10:59:02 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 1901g7-0005lz-00
	for mharc-bug-commoncpp@gnu.org; Mon, 31 Mar 2003 10:58:31 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 1901fm-0004li-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 10:58:10 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 1901fY-00046j-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 10:57:57 -0500
Received: from ns1.futurnet.es ([62.97.84.3] helo=smtp2.futurnet.es)
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 1901fO-0003v9-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 10:57:46 -0500
Received: from galadriel.proinnet (217-125-21-246.uc.nombres.ttd.es
	[217.125.21.246])
	by smtp2.futurnet.es (Postfix) with ESMTP id 342CA380B5
	for <bug-commoncpp@gnu.org>; Mon, 31 Mar 2003 18:48:53 +0200 (CEST)
Received: from irios (nacho.proinnet [10.0.0.33])id 67F101CA5E
	for <bug-commoncpp@gnu.org>; Mon, 31 Mar 2003 19:01:45 +0200 (CEST)
Content-Type: text/plain;
  charset="iso-8859-15"
From: Nacho de los =?iso-8859-15?q?R=EDos=20Tormo?= <irios@proin.es>
Organization: Procedimientos Integrados SL
To: bug-commoncpp@gnu.org
Date: Mon, 31 Mar 2003 17:59:57 +0200
User-Agent: KMail/1.4.3
References: <200303251816.41481.irios@proin.es>
In-Reply-To: <200303251816.41481.irios@proin.es>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Message-Id: <200303311759.57080.irios@proin.es>
Subject: Re: Thread::detach() call doesn't return
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 31 Mar 2003 15:58:29 -0000

Hello,

After a week with no replies, I must face the fact that either nobody knows an 
answer or, more likely, nobody made could make heads nor tails of a poor (and 
too long) explanation.

My problem is: sometimes, in my Thread subclasses, the moment I call detach() 
(whether from the constructor or at a later point), the current thread is 
permanently lost.

This only happens when I link in some older code we've got, even if this older 
code is not called and is left dead.

This older code is some older single-thread code that runs fine if:

a)compiled as a single thread program
b)its original main() function is called from the run()
  method of a Thread subclass (though in this case control
  won't return to the calling thread).

In the example below, when linking the other code, message "MESSAGE" would 
never get printed; however, not linking that other code, "MESSAGE" would be 
printed. In both cases, I would get periodic "Rollover!" messages.

What so toxic might be lurking in the old code that could make this happen? 

Thanks for your attention,

Nacho de los Rios.

---------------------------------------------------- 

class MyClass1 : public Thread
{
    void run(void)
    {
        int i = 0;
        while(true)
            if (++i == 0) cout << "Rollover!" << endl;
    };

    public:
    MyClass1 (void)
    {
	detach();
    }
};

void main(void)
{
    MyClass1* p1;

    p1 = new MyClass1();
    cout << "MESSAGE" << endl;
}



From MAILER-DAEMON Mon Mar 31 11:09:40 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 1901mU-0002Io-00
	for mharc-bug-commoncpp@gnu.org; Mon, 31 Mar 2003 11:05:06 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 18zygy-0002A7-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 07:47:12 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 18zygE-0000XA-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 07:46:28 -0500
Received: from flamingo.mail.pas.earthlink.net ([207.217.120.232])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 18zyg9-0000Nb-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 07:46:21 -0500
Received: from user-2ivf424.dialup.mindspring.com ([165.247.144.68]
	helo=chopin)
	by flamingo.mail.pas.earthlink.net with smtp (Exim 3.33 #1)
	id 18zyg7-0006u1-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 04:46:19 -0800
From: "Mike Suchoff" <mikes@in-tune.com>
To: <bug-commoncpp@gnu.org>
Date: Mon, 31 Mar 2003 07:57:00 -0500
Message-ID: <LLEGJHOMPFHINGBACKKLGEEPCJAA.mikes@in-tune.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
X-Mailman-Approved-At: Mon, 31 Mar 2003 11:05:04 -0500
Subject: TimerPort return values
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 31 Mar 2003 12:48:28 -0000

TimerPort::getTimer() and TimerPort::getElapsed() are documented as
return -1 when timer is inactive.
However these routines return a timeout_t which is defined as an unsigned
long.

I believe these routines should be documented as returning the value
TIMEOUT_INF when the timer is inactive.  That is, it returns the largest
unsigned 32 bit integer (all 1's).





From MAILER-DAEMON Mon Mar 31 13:26:47 2003
Received: from list by monty-python.gnu.org with archive (Exim 4.10.13)
	id 1903yL-0005hS-00
	for mharc-bug-commoncpp@gnu.org; Mon, 31 Mar 2003 13:25:29 -0500
Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13)
	id 1903y0-0005XM-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 13:25:08 -0500
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13)
	id 1903va-0004a8-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 13:22:41 -0500
Received: from mx1.magmacom.com ([206.191.0.217])
	by monty-python.gnu.org with esmtp (Exim 4.10.13)
	id 1903t9-00044O-00
	for bug-commoncpp@gnu.org; Mon, 31 Mar 2003 13:20:07 -0500
Received: from mail3.magma.ca (mail3.magma.ca [206.191.0.221])
	h2VIK6R9020647;	Mon, 31 Mar 2003 13:20:06 -0500 (EST)
Received: from igough (ottawa-hs-64-26-156-25.s-ip.magma.ca [64.26.156.25])
	by mail3.magma.ca (Magma's Mail Server) with ESMTP id h2VIK1UX016859;
	Mon, 31 Mar 2003 13:20:02 -0500 (EST)
From: "Ian Gough" <igough@gridironsoftware.com>
To: "=?iso-8859-1?Q?'Nacho_de_los_R=EDos_Tormo'?=" <irios@proin.es>,
   <bug-commoncpp@gnu.org>
Date: Mon, 31 Mar 2003 13:20:01 -0500
Message-ID: <003101c2f7b2$27aacea0$1202a8c0@gridironnetworks.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.2627
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
In-Reply-To: <200303311759.57080.irios@proin.es>
Subject: RE: Thread::detach() call doesn't return
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1b5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
X-List-Received-Date: Mon, 31 Mar 2003 18:25:17 -0000

If you are linking in the older code as a dynamic lib, make sure that it
was compiled with the multithreaded libs.

I don't know if this will help, but I would try fully constructing the
thread object before attempting to start/detach it. Is there a
difference between how your program works using start() instead of
detach()? Try:

 class MyClass1 : public Thread
 {
     void run(void)
     {
         int i =3D 0;
         while(true)
             if (++i =3D=3D 0) cout << "Rollover!" << endl;
     };
=20
     public:
     MyClass1 (void)
     {
     }
 };
=20
 void main(void)
 {
     MyClass1* p1;
=20
     p1 =3D new MyClass1();
     p1.start();
     cout << "MESSAGE" << endl;
     Thread::sleep( 10000 );
 }
=20

> -----Original Message-----
> From:=20
> bug-commoncpp-bounces+igough=3Dgridironsoftware.com@gnu.org=20
> [mailto:bug-commoncpp-bounces+igough=3Dgridironsoftware.com@gnu.
> org] On Behalf Of Nacho de los R=EDos Tormo
> Sent: Monday, March 31, 2003 11:00 AM
> To: bug-commoncpp@gnu.org
> Subject: Re: Thread::detach() call doesn't return
>=20
>=20
> Hello,
>=20
> After a week with no replies, I must face the fact that=20
> either nobody knows an=20
> answer or, more likely, nobody made could make heads nor=20
> tails of a poor (and=20
> too long) explanation.
>=20
> My problem is: sometimes, in my Thread subclasses, the moment=20
> I call detach()=20
> (whether from the constructor or at a later point), the=20
> current thread is=20
> permanently lost.
>=20
> This only happens when I link in some older code we've got,=20
> even if this older=20
> code is not called and is left dead.
>=20
> This older code is some older single-thread code that runs fine if:
>=20
> a)compiled as a single thread program
> b)its original main() function is called from the run()
>   method of a Thread subclass (though in this case control
>   won't return to the calling thread).
>=20
> In the example below, when linking the other code, message=20
> "MESSAGE" would=20
> never get printed; however, not linking that other code,=20
> "MESSAGE" would be=20
> printed. In both cases, I would get periodic "Rollover!" messages.
>=20
> What so toxic might be lurking in the old code that could=20
> make this happen?=20
>=20
> Thanks for your attention,
>=20
> Nacho de los Rios.
>=20
> ----------------------------------------------------=20
>=20
> class MyClass1 : public Thread
> {
>     void run(void)
>     {
>         int i =3D 0;
>         while(true)
>             if (++i =3D=3D 0) cout << "Rollover!" << endl;
>     };
>=20
>     public:
>     MyClass1 (void)
>     {
> 	detach();
>     }
> };
>=20
> void main(void)
> {
>     MyClass1* p1;
>=20
>     p1 =3D new MyClass1();
>     cout << "MESSAGE" << endl;
> }
>=20
>=20
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org=20
> http://mail.gnu.org/mailman/listinfo/bug-> commoncpp
>=20




