<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-1535</id>
	<title>Nabble - Gnu - Common C++</title>
	<updated>2009-12-11T04:37:27Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Gnu---Common-C++-f1535.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Gnu---Common-C%2B%2B-f1535.html" />
	<subtitle type="html">Dev, discussion, bugs related to Gnu Common C++. GNU Common C++ is a portable and highly optimized class framework for writing C++ applications that need to use threads, sockets, XML parsing, serialization, config files, etc.</subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26760001</id>
	<title>Problem with commoncpp serial</title>
	<published>2009-12-11T04:37:27Z</published>
	<updated>2009-12-11T04:37:27Z</updated>
	<author>
		<name>I-Real - Mark Ebbers</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body style=&quot;font-size: 10pt; font-family: Trebuchet MS; background-color: rgb(221, 221, 221);&quot; link=&quot;#f97810&quot; alink=&quot;#f97810&quot; vlink=&quot;#f97810&quot;&gt;
Hello,&lt;br&gt;
&lt;br&gt;
For a project I'm using Commoncpp and its Serial support. But I'm
seeing some weird behavior when reading from a serial device (modem).&lt;br&gt;
Sometimes after a while, isPending(pendingInput) gives back true and
then using uflow for reading one character, results in a EOF. (and this
results in a loop) How is this possible? (The device did not send
anything). Is it an error on the serial port? &lt;br&gt;
&lt;br&gt;
How is this possible? Do I something wrong, is it a bug or is it some
problem with my system?&lt;br&gt;
&lt;br&gt;
My system:&lt;br&gt;
Linux Ubuntu 9.04&lt;br&gt;
Commoncpp 1.7.3&lt;br&gt;
GCC 4.3.3&lt;br&gt;
Onboard serial port and usb to serialconverter.&lt;br&gt;
Siemens and Wavecom modem.&lt;br&gt;
&lt;br&gt;
Output of the test program:&lt;br&gt;
43 - +&lt;br&gt;
67 - C&lt;br&gt;
82 - R&lt;br&gt;
69 - E&lt;br&gt;
71 - G&lt;br&gt;
58 - :&lt;br&gt;
32 -&amp;nbsp; &lt;br&gt;
49 - 1&lt;br&gt;
13 - &lt;br&gt;
10 - &lt;br&gt;
&lt;br&gt;
13 - &lt;br&gt;
10 - &lt;br&gt;
&lt;br&gt;
43 - +&lt;br&gt;
87 - W&lt;br&gt;
73 - I&lt;br&gt;
78 - N&lt;br&gt;
68 - D&lt;br&gt;
58 - :&lt;br&gt;
32 -&amp;nbsp; &lt;br&gt;
52 - 4&lt;br&gt;
13 - &lt;br&gt;
10 - &lt;br&gt;
&lt;br&gt;
-1 - &amp;#65533;&lt;br&gt;
-1 - &amp;#65533;&lt;br&gt;
-1 - &amp;#65533;&amp;nbsp; &amp;lt;-------- how is this possible??&lt;br&gt;
-1 - &amp;#65533;&lt;br&gt;
-1 - &amp;#65533;&lt;br&gt;
&lt;br&gt;
I have made a little example to demonstrate the problem.&lt;br&gt;
&lt;br&gt;
main.cc&lt;br&gt;
#include &amp;lt;stdlib.h&amp;gt;&lt;br&gt;
#include &quot;Modem.h&quot;&lt;br&gt;
&lt;br&gt;
/*&lt;br&gt;
&amp;nbsp;* &lt;br&gt;
&amp;nbsp;*/&lt;br&gt;
int main(int argc, char** argv)&lt;br&gt;
{&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Modem modem(&quot;/dev/ttyS0&quot;);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; modem.run();&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; return (EXIT_SUCCESS);&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
Modem.h&lt;br&gt;
#ifndef _MODEM_H&lt;br&gt;
#define&amp;nbsp;&amp;nbsp;&amp;nbsp; _MODEM_H&lt;br&gt;
&lt;br&gt;
#include &amp;lt;cc++/serial.h&amp;gt;&lt;br&gt;
&lt;br&gt;
class Modem : ost::ttystream {&lt;br&gt;
public:&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Modem(std::string device);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; virtual ~Modem();&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; void run();&lt;br&gt;
private:&lt;br&gt;
&lt;br&gt;
};&lt;br&gt;
&lt;br&gt;
#endif&amp;nbsp;&amp;nbsp;&amp;nbsp; /* _MODEM_H */&lt;br&gt;
&lt;br&gt;
Modem.cc&lt;br&gt;
#include &quot;Modem.h&quot;&lt;br&gt;
&lt;br&gt;
Modem::Modem(std::string device) : ost::ttystream((char*)device.c_str())&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; interactive(true);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (setSpeed(9600)) std::cout &amp;lt;&amp;lt; getErrorString()
&amp;lt;&amp;lt;std:: endl;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (setCharBits(8)) std::cout &amp;lt;&amp;lt; getErrorString() &amp;lt;&amp;lt;
std::endl;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (setParity(ost::Serial::parityNone)) std::cout &amp;lt;&amp;lt;
getErrorString() &amp;lt;&amp;lt; std::endl;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (setStopBits(1)) std::cout &amp;lt;&amp;lt; getErrorString() &amp;lt;&amp;lt;
std::endl;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (setFlowControl(ost::Serial::flowHard)) std::cout &amp;lt;&amp;lt;
getErrorString() &amp;lt;&amp;lt; std::endl;&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
Modem::~Modem()&lt;br&gt;
{&lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
void Modem::run()&lt;br&gt;
{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; while(1){&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; while(isPending(ost::Serial::pendingInput)){&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; int ch = uflow();&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; std::cout &amp;lt;&amp;lt; (int)ch &amp;lt;&amp;lt; &quot; - &quot; &amp;lt;&amp;lt; (char)ch
&amp;lt;&amp;lt; std::endl;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; sleep(1);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br&gt;
}&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
&lt;font style=&quot;font-size: 10pt;&quot; face=&quot;Trebuchet MS, Arial&quot;&gt;Met
vriendelijke groet,&lt;br&gt;
Mark Ebbers&lt;br&gt;
&lt;br&gt;
&lt;b&gt;I-Real&lt;/b&gt;&lt;br&gt;
Postbus 593&lt;br&gt;
7000 AN Doetinchem&lt;br&gt;
&lt;b&gt;T:&lt;/b&gt; +31 (0)314 366600&lt;br&gt;
&lt;b&gt;F:&lt;/b&gt; +31 (0)314 363410&lt;br&gt;
&lt;b&gt;E:&lt;/b&gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760001&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;m.ebbers@...&lt;/a&gt;&lt;br&gt;
&lt;b&gt;I:&lt;/b&gt; &lt;a href=&quot;http://www.i-real.nl&quot; style=&quot;color: rgb(249, 120, 16);&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;www.i-real.nl&lt;/a&gt;&lt;br&gt;
&lt;/font&gt;
&lt;br&gt;
&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;


&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26760001&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-with-commoncpp-serial-tp26760001p26760001.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26557869</id>
	<title>gcc/g++ on Cygwin in Windows 7.  I installed cygwin on windows 7,</title>
	<published>2009-11-28T15:11:16Z</published>
	<updated>2009-11-28T15:11:16Z</updated>
	<author>
		<name>sfarris.math#gmail.com</name>
	</author>
	<content type="html">The current cygwin intall uses gcc/g++ 3.4.5, and on Windows 7 the stream out to console via cout and printf do not print anything to the console. &amp;nbsp;Does anyone know why?
&lt;br&gt;&lt;br&gt;Thanks-
&lt;br&gt;&lt;br&gt;-Steve Farris
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gcc-g%2B%2B-on-Cygwin-in-Windows-7.--I-installed-cygwin-on-windows-7%2C-tp26557869p26557869.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25260290</id>
	<title>URLStream timeout problem</title>
	<published>2009-09-02T08:44:29Z</published>
	<updated>2009-09-02T08:44:29Z</updated>
	<author>
		<name>Vincent Chen-3</name>
	</author>
	<content type="html">hi,&lt;br&gt;&lt;br&gt;When I use setTimeout() to URLStream object&lt;br&gt;it do not performing a non-blocking connect().&lt;br&gt;Unless I also set TCPStream::timeout be non zero.&lt;br&gt;&lt;br&gt;
in URLStream.hpp line 403&lt;br&gt;
   &lt;br&gt;
inline void setTimeout(timeout_t to)&lt;br&gt;
 {&lt;br&gt;
timeout = to;&lt;br&gt;
TCPStream::timeout = to;&lt;br&gt;
};&lt;br&gt;&lt;br&gt;The timeout value in URLStream seems only workable for readline().&lt;br&gt;Could you make it non-blocking in the next release?&lt;br&gt;&lt;br&gt;thanks&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25260290&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/URLStream-timeout-problem-tp25260290p25260290.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25257589</id>
	<title>Re: TCPtream bug</title>
	<published>2009-09-02T06:24:13Z</published>
	<updated>2009-09-02T06:24:13Z</updated>
	<author>
		<name>David Sugar-2</name>
	</author>
	<content type="html">Probably instead, connect methods should actually do this if the so is
&lt;br&gt;invalid when they are called. &amp;nbsp;If we do fail to connect, we should
&lt;br&gt;release the resource as we do now. &amp;nbsp;If we decide to close/delete the
&lt;br&gt;object on a connect failure, then we would not be waisting resources
&lt;br&gt;acquiring a brand new socket we may never use. &amp;nbsp;Part of this is also
&lt;br&gt;tied to the use of connect as a constructor method, where the object is
&lt;br&gt;then in a clean state with no socket held if the connect failed at
&lt;br&gt;initialization. &amp;nbsp;But either way, I will look at resolving this for the
&lt;br&gt;next release.
&lt;br&gt;&lt;br&gt;Vincent Chen wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; hi,
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I recently found TCPStream bug when performing TCPStream::open().
&lt;br&gt;&amp;gt; here is my code:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; TCPStream client;
&lt;br&gt;&amp;gt; client.setTimeout(5000); //this will let connect() function be non-block
&lt;br&gt;&amp;gt; while(1)
&lt;br&gt;&amp;gt; {
&lt;br&gt;&amp;gt; &amp;nbsp; client.connect(IPV4Host, port, buffer);
&lt;br&gt;&amp;gt; &amp;nbsp; if(!client.isConnected())
&lt;br&gt;&amp;gt; &amp;nbsp; {
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; ::usleep(1000000*3);
&lt;br&gt;&amp;gt; &amp;nbsp; &amp;nbsp; continue;
&lt;br&gt;&amp;gt; &amp;nbsp; }
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Once the first run in connect() failed, it will keep connecting to
&lt;br&gt;&amp;gt; indicated IP and port
&lt;br&gt;&amp;gt; but the 2nd time it connect, will cause the socket error (I print out
&lt;br&gt;&amp;gt; the errno)
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I found the socket do not re-initialize when connect() failed.
&lt;br&gt;&amp;gt; if add the code in line 3125
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;nbsp;so = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; it will work well
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; ------------------------------------------------------------------------
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Bug-commoncpp mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25257589&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;tt&gt;[dyfet.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:David Sugar
&lt;br&gt;n:Sugar;David
&lt;br&gt;org:GNU Telephony
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25257589&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dyfet@...&lt;/a&gt;
&lt;br&gt;tel;work:+1 609 465 5336
&lt;br&gt;url:http://www.gnutelephony.org
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25257589&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TCPtream-bug-tp25257015p25257589.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-25257015</id>
	<title>TCPtream bug</title>
	<published>2009-08-29T01:27:13Z</published>
	<updated>2009-08-29T01:27:13Z</updated>
	<author>
		<name>Vincent Chen-3</name>
	</author>
	<content type="html">hi,&lt;br&gt;&lt;br&gt;I recently found TCPStream bug when performing TCPStream::open().&lt;br&gt;here is my code:&lt;br&gt;&lt;br&gt;TCPStream client;&lt;br&gt;client.setTimeout(5000); //this will let connect() function be non-block&lt;br&gt;while(1)&lt;br&gt;{&lt;br&gt;  client.connect(IPV4Host, port, buffer);&lt;br&gt;
  if(!client.isConnected())&lt;br&gt;  {&lt;br&gt;    ::usleep(1000000*3);&lt;br&gt;    continue;&lt;br&gt;  }&lt;br&gt;}&lt;br&gt;&lt;br&gt;Once the first run in connect() failed, it will keep connecting to indicated IP and port&lt;br&gt;but the 2nd time it connect, will cause the socket error (I print out the errno)&lt;br&gt;
&lt;br&gt;I found the socket do not re-initialize when connect() failed.&lt;br&gt;if add the code in line 3125&lt;br&gt;&lt;br&gt; so = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);&lt;br&gt;&lt;br&gt;it will work well&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=25257015&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/TCPtream-bug-tp25257015p25257015.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-24613254</id>
	<title>Linker error msg</title>
	<published>2009-07-22T12:40:28Z</published>
	<updated>2009-07-22T12:40:28Z</updated>
	<author>
		<name>David Turetsky</name>
	</author>
	<content type="html">I am using g++ 4.0 on a MacBook Pro via Apple's Xcode 3.0 development &amp;nbsp;
&lt;br&gt;interface. Originally I had tried to compile and link this code &amp;nbsp;
&lt;br&gt;directly but generated a huge list of compiler errors. Obviously I was &amp;nbsp;
&lt;br&gt;not setting appropriate parameters despite experimentation
&lt;br&gt;&lt;br&gt;Now I get clean compilations but get Link error msgs saying &amp;quot;Duplicate &amp;nbsp;
&lt;br&gt;symbol _p in main and another routine&amp;quot;. I am not using this symbol &amp;nbsp;
&lt;br&gt;anywhere in my code
&lt;br&gt;&lt;br&gt;Any recommendations would be appreciated. This is a fairly large sized &amp;nbsp;
&lt;br&gt;bit of code. I'm successfully running some related code under g++ and &amp;nbsp;
&lt;br&gt;welcome the performance improvement. The errant code runs fine under &amp;nbsp;
&lt;br&gt;Visual C++ 5.0 and with Microsoft's Visual C++ 2008 Express Edition
&lt;br&gt;&lt;br&gt;I've searched Apple's knowledge base without any meaningful result
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;David
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=24613254&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Linker-error-msg-tp24613254p24613254.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-23296598</id>
	<title>usage information</title>
	<published>2009-04-27T11:24:27Z</published>
	<updated>2009-04-27T11:24:27Z</updated>
	<author>
		<name>Bernhard Schuster</name>
	</author>
	<content type="html">Hi, I am a novice in C++ programming, so be patient with me. Is there a specific location where the usage notes and all classes/functions are explained in detail (especially threads)? I am on fedora 11 beta, using netbeans IDE for development.&lt;br&gt;
Thx&lt;br&gt;Bernhard Schuster&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=23296598&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/usage-information-tp23296598p23296598.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-22470164</id>
	<title>Open source my OIOIC, a completely new object-oriented mechanism for the C.</title>
	<published>2009-03-11T22:37:43Z</published>
	<updated>2009-03-11T22:37:43Z</updated>
	<author>
		<name>pervise.zhao</name>
	</author>
	<content type="html">OIOIC is a completely new object-oriented mechanism for the C programming language.
&lt;br&gt;Please download the &amp;quot;OIOIC-Primer-2nd-Edition-English.tar.gz&amp;quot;. (the English version of &amp;lt;&amp;lt; OIOIC Primer &amp;gt;&amp;gt; ) 
&lt;br&gt;&lt;a href=&quot;http://code.google.com/p/oioic/downloads/list&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/oioic/downloads/list&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Welcome your advice!
&lt;br&gt;&lt;br&gt;Using OIOIC, you can describe the flower, birds, grass, insects, trees, houses ... 
&lt;br&gt;Using OIOIC, you can describe the elements, atoms, protons, electrons ... 
&lt;br&gt;Using OIOIC, you can describe the earth, the sun, the Milky Way galaxy, collapsar ... 
&lt;br&gt;Using OIOIC, you can describe ... 
&lt;br&gt;&lt;br&gt;1. OIOIC perfectly supplies the gap of object-oriented technology for the C programming language; 
&lt;br&gt;2. OIOIC perfectly solved the multiple inheritance problem in the Software World; 
&lt;br&gt;3. OIOIC perfectly objectivizes multithreading access control of object; 
&lt;br&gt;4. OIOIC unifies the norm of components in the Software World; 
&lt;br&gt;5. OIOIC unifies the structure of code tree in the Software World; 
&lt;br&gt;6. OIOIC unifies the thinking of object-oriented programming in the Software World; 
&lt;br&gt;7. OIOIC unifies all advanced programming languages in the Software World, to make the C programming language as the preferred. </content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Open-source-my-OIOIC%2C-a-completely-new-object-oriented-mechanism-for-the-C.-tp22470164p22470164.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21750108</id>
	<title>Error compiling commoncpp2 1.7.0 on RHEL5</title>
	<published>2009-01-28T15:35:21Z</published>
	<updated>2009-01-28T15:35:21Z</updated>
	<author>
		<name>Davis, Malcolm</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns:m=&quot;http://schemas.microsoft.com/office/2004/12/omml&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 12 (filtered medium)&quot;&gt;

&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapedefaults v:ext=&quot;edit&quot; spidmax=&quot;1026&quot; /&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;o:shapelayout v:ext=&quot;edit&quot;&gt;
  &lt;o:idmap v:ext=&quot;edit&quot; data=&quot;1&quot; /&gt;
 &lt;/o:shapelayout&gt;&lt;/xml&gt;&lt;![endif]--&gt;
&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;I ran into the following error message trying to compile
commoncpp2 version 1.7.0 under RedHatEnterpriseLinux 5.2.0:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;nat.cpp: In function &amp;quot;char*
ost::natErrorString(ost::natResult)&amp;quot;:&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;nat.cpp:365: error: new declaration &amp;quot;char*
ost::natErrorString(ost::natResult)&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;nat.h:89: error: ambiguates old declaration &amp;quot;const
char* ost::natErrorString(ost::natResult)&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;There appears to be a missing &amp;quot;const &amp;quot; at the
beginning of line 365 of nat.cpp.&amp;nbsp; Adding that I can compile without
problem.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Hopefully this isn't rehashing a known problem, but a search
for natErrorString turned up only an old thread from 2004 relating to missing
files in a Windows distribution.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Cheers,&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;Malcolm Davis&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21750108&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-compiling-commoncpp2-1.7.0-on-RHEL5-tp21750108p21750108.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-21624944</id>
	<title>parser project needs c++ programmer</title>
	<published>2009-01-21T12:57:02Z</published>
	<updated>2009-01-21T12:57:02Z</updated>
	<author>
		<name>cppluser</name>
	</author>
	<content type="html">&lt;br&gt;&amp;nbsp; &amp;nbsp;I'd like to know if anyone of you would be interested in being payed ($$$)
&lt;br&gt;to program a BNF like parser.
&lt;br&gt;Intermediate to advanced programmer skills required because the project
&lt;br&gt;deals allot with pointers and memory updates and
&lt;br&gt;inter-mixes c/c++/perl code. Anyone interested visit
&lt;br&gt;&lt;a href=&quot;http://cppcode.angelfire.com/blog/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://cppcode.angelfire.com/blog/&lt;/a&gt;&amp;nbsp;for futher details
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21624944&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;cvv3@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context: &lt;a href=&quot;http://www.nabble.com/parser-project-needs-c%2B%2B-programmer-tp21592003p21592003.html&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/parser-project-needs-c%2B%2B-programmer-tp21592003p21592003.html&lt;/a&gt;&lt;br&gt;Sent from the Gnu - Common C++ mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=21624944&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/parser-project-needs-c%2B%2B-programmer-tp21624944p21624944.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-20701377</id>
	<title>Commoncpp2-1.6.3</title>
	<published>2008-11-26T05:05:38Z</published>
	<updated>2008-11-26T05:05:38Z</updated>
	<author>
		<name>filgus</name>
	</author>
	<content type="html">Hello. Is there any one that work with commoncpp2? I&amp;#39;m trying to run the demo file tcp.cpp, but it doesn&amp;#39;t work. I need help.&lt;br&gt;I&amp;#39;m trying to study the socket api to do a future contribution using dccp protocol.&lt;br clear=&quot;all&quot;&gt;
&lt;br&gt;-- &lt;br&gt;Felipe Leal Coutinho&lt;br&gt;&lt;a href=&quot;http://felipelcoutinho.googlepages.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://felipelcoutinho.googlepages.com/&lt;/a&gt;&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=20701377&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Commoncpp2-1.6.3-tp20701377p20701377.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-19376690</id>
	<title>correction: bug report: gcount() returns 0 when socket is read into contents successfully and then enters half-closed state</title>
	<published>2008-09-08T10:10:41Z</published>
	<updated>2008-09-08T10:10:41Z</updated>
	<author>
		<name>Howell Chen</name>
	</author>
	<content type="html">&lt;html xmlns:v=&quot;urn:schemas-microsoft-com:vml&quot; xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;
&lt;!--[if !mso]&gt;
&lt;style&gt;
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
&lt;/style&gt;
&lt;![endif]--&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;The problematic line for the specific case
is actually 2910:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Error(errInput,
&amp;#8220;Could not read from socket&amp;#8221;, socket_error);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;Regards,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;Howell&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 color=navy face=Arial&gt;&lt;span style='font-size:
10.0pt;font-family:Arial;color:navy'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;div&gt;

&lt;div class=MsoNormal align=center style='text-align:center'&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:12.0pt'&gt;

&lt;hr size=2 width=&quot;100%&quot; align=center tabindex=-1&gt;

&lt;/span&gt;&lt;/font&gt;&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'&gt;From:&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=2 face=Tahoma&gt;&lt;span style='font-size:10.0pt;font-family:Tahoma'&gt; Howell Chen &lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Sent:&lt;/span&gt;&lt;/b&gt; Monday, September 08, 2008
10:33 AM&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;To:&lt;/span&gt;&lt;/b&gt; '&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=19376690&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;'&lt;br&gt;
&lt;b&gt;&lt;span style='font-weight:bold'&gt;Subject:&lt;/span&gt;&lt;/b&gt; bug report: gcount()
returns 0 when socket is read into contents successfully and then enters
half-closed state&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;p class=MsoNormal&gt;&lt;font size=3 face=&quot;Times New Roman&quot;&gt;&lt;span style='font-size:
12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hi Commoncpp developer,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Playing around commoncpp 1.6.3 code, I met some behavior
under following scenario, which I believe as buggy:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;1.&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Peer A and
peer B enter a tcp session&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;2.&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;A sends some
contents to B; if no error is reported (tcp subsystem agree to take over
whatever needs to be done to deliver), A closes and exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo2'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;3.&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;meanwhile,
in a loop, peer B receive byte streams through the TCPStream::read, after which
follows a call of TCPStream::gcount() to know how many bytes the previous
read() has read in &amp;#8211; a exit condition for the loop is gcound() returns 0,
indicating tcp stream has nothing to read and should be closed to release this
tcp resource.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Here comes the bug: the last TCPStrteam::read() actually
reads some bytes before its underlying (socket) read returns 0. The 0 return
value would immediately call clear(ios::failbit | rdstate() ) (line 2911,
src/csocket.cpp, commoncpp-1.6.3), which in turn resets gcount internal data
structure _&lt;i&gt;&lt;span style='font-style:italic'&gt;M&lt;/span&gt;&lt;/i&gt;_gcount to 0, causing
the subsequent TCPStream::gcount() returns the incorrect 0.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;For a socket read to return 0 is quite normal and legitimate
when the peer send FIN and enters the so-called half-close state.
TCPStream::read() actually reads correctly all the byte stream that might be
queued, but the TCPStream::gcount returning 0 subsequently is definitely
conflicting what is expected from a read/gcound with an istream object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hope this description serves its purpose well.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Regards,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Howell Chen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;


&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=19376690&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/correction%3A-bug-report%3A-gcount%28%29-returns-0-when-socket-is-read-into-contents-successfully-and-then-enters-half-closed-state-tp19376690p19376690.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-19376113</id>
	<title>bug report: gcount() returns 0 when socket is read into contents successfully and then enters half-closed state</title>
	<published>2008-09-08T07:33:19Z</published>
	<updated>2008-09-08T07:33:19Z</updated>
	<author>
		<name>Howell Chen</name>
	</author>
	<content type="html">&lt;html xmlns:o=&quot;urn:schemas-microsoft-com:office:office&quot; xmlns:w=&quot;urn:schemas-microsoft-com:office:word&quot; xmlns=&quot;http://www.w3.org/TR/REC-html40&quot;&gt;

&lt;head&gt;
&lt;meta http-equiv=Content-Type content=&quot;text/html; charset=us-ascii&quot;&gt;
&lt;meta name=Generator content=&quot;Microsoft Word 11 (filtered medium)&quot;&gt;


&lt;/head&gt;

&lt;body lang=EN-US link=blue vlink=purple&gt;

&lt;div class=Section1&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hi Commoncpp developer,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Playing around commoncpp 1.6.3 code, I met some behavior
under following scenario, which I believe as buggy:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;1.&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;Peer A and
peer B enter a tcp session&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;2.&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;A sends some
contents to B; if no error is reported (tcp subsystem agree to take over
whatever needs to be done to deliver), A closes and exit&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal style='margin-left:.75in;text-indent:-.25in;mso-list:l0 level1 lfo1'&gt;&lt;![if !supportLists]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;span style='mso-list:Ignore'&gt;3.&lt;font size=1 face=&quot;Times New Roman&quot;&gt;&lt;span style='font:7.0pt &quot;Times New Roman&quot;'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/span&gt;&lt;/font&gt;&lt;![endif]&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;meanwhile, in
a loop, peer B receive byte streams through the TCPStream::read, after which
follows a call of TCPStream::gcount() to know how many bytes the previous
read() has read in &amp;#8211; a exit condition for the loop is gcound() returns 0,
indicating tcp stream has nothing to read and should be closed to release this tcp
resource.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Here comes the bug: the last TCPStrteam::read() actually
reads some bytes before its underlying (socket) read returns 0. The 0 return
value would immediately call clear(ios::failbit | rdstate() ) (line 2911,
src/csocket.cpp, commoncpp-1.6.3), which in turn resets gcount internal data
structure _&lt;i&gt;&lt;span style='font-style:italic'&gt;M&lt;/span&gt;&lt;/i&gt;_gcount to 0, causing
the subsequent TCPStream::gcount() returns the incorrect 0.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;For a socket read to return 0 is quite normal and legitimate
when the peer send FIN and enters the so-called half-close state.
TCPStream::read() actually reads correctly all the byte stream that might be
queued, but the TCPStream::gcount returning 0 subsequently is definitely
conflicting what is expected from a read/gcound with an istream object.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Hope this description serves its purpose well.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Regards,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;
font-family:Arial'&gt;Howell Chen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;

&lt;/div&gt;

&lt;/body&gt;

&lt;/html&gt;


&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=19376113&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bug-report%3A-gcount%28%29-returns-0-when-socket-is-read-into-contents-successfully-and-then-enters-half-closed-state-tp19376113p19376113.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18853509</id>
	<title>gcc-4.2.3: unordered_map implementation causes Insure++ PARSE_ERROR</title>
	<published>2008-08-06T08:19:50Z</published>
	<updated>2008-08-06T08:19:50Z</updated>
	<author>
		<name>David Featherstone</name>
	</author>
	<content type="html">I use Parasoft's Insure++ memory usage analysis tool to detect invalid memory accesses and memory leaks. This tool performs both static and dynamic memory usage analysis by instrumenting the code during the compilation and link phases. Due to a PARSE_ERROR, Insure++ fails to compile code that uses unordered_map:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;[hashtable:181] **PARSE_ERROR**
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Parse error.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; template&amp;lt;typename _Key2, typename _Pair, typename _Hashtable&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;too few template parameters -- does not match previous declaration
&lt;br&gt;&lt;br&gt;The parse error occurs at line 181 of hashtable [i.e. /usr/include/c++/4.2.3/tr1/hashtable]:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;181 &amp;nbsp; &amp;nbsp;template&amp;lt;typename _Key2, typename _Pair, typename _Hashtable&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;182 &amp;nbsp; &amp;nbsp; &amp;nbsp; friend struct __detail::_Map_base;
&lt;br&gt;&lt;br&gt;where there appears to be an invalid friend declaration. The specified parameterized struct, __detail::_Map_base, was defined with five parameters in hashtable_policy.h as:
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;615 &amp;nbsp; &amp;nbsp;template&amp;lt;typename _Key, typename _Value, typename _Ex, bool __unique,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;616 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; typename _Hashtable&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;617 &amp;nbsp; &amp;nbsp; &amp;nbsp;struct _Map_base { };
&lt;br&gt;&lt;br&gt;so it seems entirely reasonable that the friendship declaration should also employ five parameters.
&lt;br&gt;&lt;br&gt;I modified the friendship declaration to conform with my expectations as follows (NOTE: there are five parameters):
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;181 &amp;nbsp; &amp;nbsp;template&amp;lt;typename _Key2, typename _Pair, typename _Ex, bool __unique,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;182 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;typename _Hashtable&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;183 &amp;nbsp; &amp;nbsp; &amp;nbsp;friend struct __detail::_Map_base;
&lt;br&gt;&lt;br&gt;and now Insure++ successfully parses the code, gcc successfully parses the code, and my application continues to behave correctly. 
&lt;br&gt;&lt;br&gt;QUESTION: Does anyone (with authority on the subject) agree that the current friendship declaration is incorrect? If so, need I do more than I have to realize a fix in a future release of gcc?
&lt;br&gt;&lt;br&gt;... Dave</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/gcc-4.2.3%3A-unordered_map-implementation-causes-Insure%2B%2B-PARSE_ERROR-tp18853509p18853509.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18559962</id>
	<title>Re: commoncpp2-1.6.2 vs. Sparc Solaris (9/10)</title>
	<published>2008-07-20T16:30:18Z</published>
	<updated>2008-07-20T16:30:18Z</updated>
	<author>
		<name>David Sugar-2</name>
	</author>
	<content type="html">Maybe this can be wrapped in a configure library test to make sure there
&lt;br&gt;really is a &amp;quot;clock_nanosleep()&amp;quot; to link with? &amp;nbsp;I should see if this is
&lt;br&gt;relevant to ucommon as well...
&lt;br&gt;&lt;br&gt;Reinhard Drube wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; for Solaris one need a change in
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; src/timer.cpp:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 130,131c130
&lt;br&gt;&amp;gt; &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &amp;ts, NULL);
&lt;br&gt;&amp;gt; &amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ::nanosleep(&amp;ts, NULL);
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &amp;ts, NULL);
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; regards,
&lt;br&gt;&amp;gt; Reinhard
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Bug-commoncpp mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=18559962&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;tt&gt;[dyfet.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:David Sugar
&lt;br&gt;n:Sugar;David
&lt;br&gt;org:GNU Telephony
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=18559962&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dyfet@...&lt;/a&gt;
&lt;br&gt;tel;work:+1 201 215 2609
&lt;br&gt;url:http://www.gnutelephony.org
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=18559962&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/commoncpp2-1.6.2-vs.-Sparc-Solaris-%289-10%29-tp18508373p18559962.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-18508373</id>
	<title>commoncpp2-1.6.2 vs. Sparc Solaris (9/10)</title>
	<published>2008-07-15T04:30:37Z</published>
	<updated>2008-07-15T04:30:37Z</updated>
	<author>
		<name>Reinhard Drube</name>
	</author>
	<content type="html">for Solaris one need a change in
&lt;br&gt;&lt;br&gt;src/timer.cpp:
&lt;br&gt;&lt;br&gt;130,131c130
&lt;br&gt;&amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; // ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &amp;ts, NULL);
&lt;br&gt;&amp;lt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ::nanosleep(&amp;ts, NULL);
&lt;br&gt;---
&lt;br&gt;&amp;nbsp;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ::clock_nanosleep(CLOCK_REALTIME, TIMER_ABSTIME, &amp;ts, NULL);
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Reinhard
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=18508373&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/commoncpp2-1.6.2-vs.-Sparc-Solaris-%289-10%29-tp18508373p18508373.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17783906</id>
	<title>Connecting to TCPSocket as client</title>
	<published>2008-06-11T11:15:22Z</published>
	<updated>2008-06-11T11:15:22Z</updated>
	<author>
		<name>mikehockstein</name>
	</author>
	<content type="html">Hey everyone,
&lt;br&gt;&lt;br&gt;I'm having a hard time trying to learn how to do this. &amp;nbsp;I can create a TCPSocket and connect to it from a console window using telnet. &amp;nbsp;But how can I connect to it using a C++ program; specifically, I want a thread that connects to a TCP server within the program so it can then send/receive text. It should be something simple that I'm missing (sorry stupid college student here).</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Connecting-to-TCPSocket-as-client-tp17783906p17783906.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17440428</id>
	<title>tcp example</title>
	<published>2008-05-23T13:22:55Z</published>
	<updated>2008-05-23T13:22:55Z</updated>
	<author>
		<name>Lucas Galete</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&amp;nbsp; does anyone know why this [1] example don't compile ?
&lt;br&gt;I've tried on Ubuntu 8.04 and Mac Os X. Seens there's a problem with &amp;nbsp;
&lt;br&gt;tcpstream class.
&lt;br&gt;&lt;br&gt;Sory for asking in the wrong place, but I couldn't find help anywhere.
&lt;br&gt;&lt;br&gt;thanks in advance.
&lt;br&gt;&lt;br&gt;&lt;br&gt;[1] &lt;a href=&quot;http://www.gnu.org/software/commoncpp/docs/refman/html/tcpstr1_8cpp-example.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/commoncpp/docs/refman/html/tcpstr1_8cpp-example.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;---
&lt;br&gt;&lt;br&gt;$ g++ main.cpp -lgnucpp2 -I /opt/local/include/ -L /opt/local/lib
&lt;br&gt;main.cpp: In member function ‘virtual void ThreadOut::run()’:
&lt;br&gt;main.cpp:20: error: ‘tcpstream’ was not declared in this scope
&lt;br&gt;main.cpp:20: error: expected `;' before ‘tcp’
&lt;br&gt;main.cpp:21: error: ‘tcp’ was not declared in this scope
&lt;br&gt;main.cpp: In function ‘int main(int, char**)’:
&lt;br&gt;main.cpp:36: error: ‘tcpstream’ was not declared in this scope
&lt;br&gt;main.cpp:36: error: expected `;' before ‘tcp’
&lt;br&gt;main.cpp:37: error: ‘tcp’ was not declared in this scope
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=17440428&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/tcp-example-tp17440428p17440428.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-17222845</id>
	<title>Common C++</title>
	<published>2008-05-13T20:46:46Z</published>
	<updated>2008-05-13T20:46:46Z</updated>
	<author>
		<name>foxon177</name>
	</author>
	<content type="html">Common C++
&lt;br&gt;&lt;br&gt;Common C++ is a C++ class library that abstracts various system services in a portable manner, thereby making the creation of portable applications much easier. It is portable code, with very low runtime overhead, that works well on a very wide range of target platforms and C++ compilers in everyday use. It includes the 'ape' project, which was formerly a separate package. 
&lt;br&gt;&lt;br&gt;Common C++ manages threads, synchronization, and network sockets by offering portable C++ classes that abstract these services, as well as supporting &amp;quot;serial&amp;quot; I/O, daemon specific event logging, object serialization (persistence), block/record/page/ oriented file I/O, and configuration file parsing. It also provides an inheritable class architecture for your application that exploits C++ as needed. 
&lt;br&gt;&lt;br&gt;There are two source trees: one for &amp;quot;POSIX&amp;quot; systems such as GNU/LINUX and the Hurd, the other for the Win 32 API. This makes Common C++ portable at the source level, as the two trees implement a functionally similar class interface. 
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://hi.baidu.com/msdes&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Msdes&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://journals.aol.com/skysblog/seokyw/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Fexon&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.domainforums.com/showthread.php?p=26436&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Asia&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Common-C%2B%2B-tp17222845p17222845.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16737189</id>
	<title>[Fwd: GNU SIP Witch 0.1.0 released (finally), GNU uCommon release candidate also]</title>
	<published>2008-04-16T18:43:50Z</published>
	<updated>2008-04-16T18:43:50Z</updated>
	<author>
		<name>David Sugar-2</name>
	</author>
	<content type="html">I had been largely away the last few months, and I have also been at
&lt;br&gt;times off-grid, working with various American Indian groups, two of whom
&lt;br&gt;have now formally withdrawn, and others who are in the process of
&lt;br&gt;formally withdrawing, from treaty with the governments of the United
&lt;br&gt;States and Canada. &amp;nbsp;I had also been kept occupied full time with other
&lt;br&gt;projects. &amp;nbsp;However, rather than waiting any longer, I have decided this
&lt;br&gt;was a good time to introduce the very first release of GNU SIP Witch and
&lt;br&gt;the first &amp;quot;official release candidate&amp;quot; for GNU uCommmon/GNU Common C++ 2
&lt;br&gt;2.0, and see if we can return to releasing early and often.
&lt;br&gt;&lt;br&gt;GNU SIP Witch is intended to become a pure SIP based office telephone
&lt;br&gt;call server supporting generic phone system features like call
&lt;br&gt;forwarding, hunt groups and call distribution, call coverage and ring
&lt;br&gt;groups, holding and call transfer, as well as offering SIP specific
&lt;br&gt;capabilities such as presence and messaging. &amp;nbsp;GNU SIP Witch supports
&lt;br&gt;using secure telephone extensions, for placing and receiving b2b calls
&lt;br&gt;directly over the internet, and intercept/decrypt-free peer-to-peer
&lt;br&gt;audio and video extensions.
&lt;br&gt;&lt;br&gt;GNU SIP Witch is not a SIP proxy, a multi-protocol telephone server, or
&lt;br&gt;a IP-PBX, and does not try to address the same things like asterisk,
&lt;br&gt;freeswitch, yate, all of which make use of direct media processing.
&lt;br&gt;Instead, GNU SIP Witch focuses on doing one thing as a pure SIP call
&lt;br&gt;server, and will try to do that one thing very well. &amp;nbsp;My goal is to
&lt;br&gt;focus on achieving a network scalable telephone architecture that can be
&lt;br&gt;deeply embedded, which can support secure calling nodes, and that can
&lt;br&gt;integrate well with other SIP based/standards compliant components.
&lt;br&gt;&lt;br&gt;The initial release of GNU SIP Witch offers support of SIP registration,
&lt;br&gt;multi-target registration, authentication peering over SIP, and
&lt;br&gt;registration querying of user agents, basic call processing between
&lt;br&gt;registered user agents only, but including call distribution for
&lt;br&gt;multi-target registrations, and basic SIP instant messaging.
&lt;br&gt;&lt;br&gt;After some discussion, the GNU Project has decided that the uCommon
&lt;br&gt;package, and starting with 1.9.0, is also to be known a release
&lt;br&gt;candidate for what will be the merged GNU Common C++/uCommon which will
&lt;br&gt;effectivily become GNU uCommon 2.0. &amp;nbsp;The original GNU Common C++ 2 1.x
&lt;br&gt;codebase will continue to be maintained with bug fixes, but no new major
&lt;br&gt;features are planned. &amp;nbsp;uCommon has a cleaner model for IPV6 support and
&lt;br&gt;CIDR policy processing, which are critical to the project moving
&lt;br&gt;forward, as well as better ability to integrate with other third party
&lt;br&gt;libraries, and the ability to build very tight embedded profiles in C++.
&lt;br&gt;&lt;br&gt;GNU SIP Witch development has revealed some issues in the original GNU
&lt;br&gt;Bayonne2 SIP module including proper SIP ack handling, the need to
&lt;br&gt;support diversion headers for distinctive greetings on call forwarding
&lt;br&gt;to voice mail, and proper separation between request and to uri's.
&lt;br&gt;These will all be addressed in GNU Bayonne2 release 2.4.0. &amp;nbsp;There will
&lt;br&gt;also be a new release of GNU Bayonne classic (?1.4?) much later this
&lt;br&gt;year built around GNU uCommon and this will include a new SIP driver
&lt;br&gt;based on GNU SIP Witch &amp; GNU Bayonne2 development. &amp;nbsp;This will be used to
&lt;br&gt;offer media application services to embedded GNU SIP Witch nodes.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Bayonne-devel mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16737189&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bayonne-devel@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bayonne-devel&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bayonne-devel&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[dyfet.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:David Sugar
&lt;br&gt;n:Sugar;David
&lt;br&gt;org:GNU Telephony
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16737189&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dyfet@...&lt;/a&gt;
&lt;br&gt;tel;work:+1 201 215 2609
&lt;br&gt;url:http://www.gnutelephony.org
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16737189&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/-Fwd%3A-GNU-SIP-Witch-0.1.0-released-%28finally%29%2C-GNU-uCommon-release-candidate-also--tp16737189p16737189.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-16251373</id>
	<title>Missing #ifndef #define</title>
	<published>2008-03-23T06:44:12Z</published>
	<updated>2008-03-23T06:44:12Z</updated>
	<author>
		<name>Alan Meekins</name>
	</author>
	<content type="html">Hello all, I just wanted to let you know that in versions 1.6.1 and 1.5.9 of CommonC++2 the header file located in inc/cc++/pointer.h seems to be missing the following:&lt;br&gt;&lt;br&gt;#ifndef CCXX_POINTER_H_&lt;br&gt;#define CCXX_POINTER_H_&lt;br&gt;
....&lt;br&gt;....&lt;br&gt;#endif&lt;br&gt;&lt;br&gt;&lt;br&gt;The addition of these lines to your packages would be much appreciated. FYI I downloaded the tarballs from &lt;a href=&quot;http://www.gnutelephony.org/dist/tarballs/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnutelephony.org/dist/tarballs/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;&lt;br&gt;-Alan Meekins&lt;br&gt;Rochester Institute of Technology&lt;br&gt;Robotics Club&lt;br&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=16251373&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Missing--ifndef--define-tp16251373p16251373.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15836752</id>
	<title>Re: Common c++ Thread::notify  implementation question.</title>
	<published>2008-03-04T12:49:20Z</published>
	<updated>2008-03-04T12:49:20Z</updated>
	<author>
		<name>David Sugar-2</name>
	</author>
	<content type="html">When a new thread is created, it records the thread instance it was 
&lt;br&gt;created from, and this becomes the &amp;quot;parent&amp;quot; reference. &amp;nbsp;However, using 
&lt;br&gt;notify requires that the parent does not dissapear (get deleted) before 
&lt;br&gt;it's child, and requires tracking of thread meta data. &amp;nbsp;For these 
&lt;br&gt;reasons, I actually removed the concept entirely in ucommon. &amp;nbsp;For what 
&lt;br&gt;you want to do, the safest way would be to rendezvous on a semaphore or 
&lt;br&gt;event object, or use a signaled conditional.
&lt;br&gt;&lt;br&gt;Jim wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; I'm a bit hazy as to what exactly one would do with this method. &amp;nbsp;I'm in 
&lt;br&gt;&amp;gt; need of kicking off a detached thread and somehow being able to tell 
&lt;br&gt;&amp;gt; when it finishes. &amp;nbsp;Since a detached thread is self deleting, it's 
&lt;br&gt;&amp;gt; dangerous to attempt to call any methods after the detach or you risk a 
&lt;br&gt;&amp;gt; segfault.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; So I see the parameter to the notify method is the thread that as 
&lt;br&gt;&amp;gt; terminated. &amp;nbsp;I'm not sure of what can be done with it at this point. &amp;nbsp;Is 
&lt;br&gt;&amp;gt; this the same thing you would obtain with a call to the static get method?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; The documentation says it &amp;quot;sends a notification to the parent&amp;quot;. &amp;nbsp;Can 
&lt;br&gt;&amp;gt; someone explain how this might work? &amp;nbsp;A simple example might be nice.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Jim.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Bug-commoncpp mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15836752&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;tt&gt;[dyfet.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:David Sugar
&lt;br&gt;n:Sugar;David
&lt;br&gt;org:GNU Telephony
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15836752&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dyfet@...&lt;/a&gt;
&lt;br&gt;tel;work:+1 201 215 2609
&lt;br&gt;url:http://www.gnutelephony.org
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15836752&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Common-c%2B%2B-Thread%3A%3Anotify--implementation-question.-tp15828337p15836752.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15828337</id>
	<title>Common c++ Thread::notify  implementation question.</title>
	<published>2008-03-04T06:29:33Z</published>
	<updated>2008-03-04T06:29:33Z</updated>
	<author>
		<name>Jim Lynch-3</name>
	</author>
	<content type="html">I'm a bit hazy as to what exactly one would do with this method. &amp;nbsp;I'm in 
&lt;br&gt;need of kicking off a detached thread and somehow being able to tell 
&lt;br&gt;when it finishes. &amp;nbsp;Since a detached thread is self deleting, it's 
&lt;br&gt;dangerous to attempt to call any methods after the detach or you risk a 
&lt;br&gt;segfault.
&lt;br&gt;&lt;br&gt;So I see the parameter to the notify method is the thread that as 
&lt;br&gt;terminated. &amp;nbsp;I'm not sure of what can be done with it at this point. &amp;nbsp;Is 
&lt;br&gt;this the same thing you would obtain with a call to the static get method?
&lt;br&gt;&lt;br&gt;The documentation says it &amp;quot;sends a notification to the parent&amp;quot;. &amp;nbsp;Can 
&lt;br&gt;someone explain how this might work? &amp;nbsp;A simple example might be nice.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Jim.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15828337&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Common-c%2B%2B-Thread%3A%3Anotify--implementation-question.-tp15828337p15828337.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15796825</id>
	<title>Re: Where to go to ask questions?</title>
	<published>2008-03-02T18:46:59Z</published>
	<updated>2008-03-02T18:46:59Z</updated>
	<author>
		<name>David Sugar-2</name>
	</author>
	<content type="html">At the moment I am working on merging the ucommon &amp; gnu common c++ 
&lt;br&gt;codebases into a single core library which has the advantages of both, 
&lt;br&gt;as well as greatly reducing complexity for IPV6 addressing support, and 
&lt;br&gt;this is anticipated to become GNU Common C++ 2 &amp;quot;2.0&amp;quot; perhaps as early as 
&lt;br&gt;June.
&lt;br&gt;&lt;br&gt;Conrad T. Pino wrote:
&lt;div class='shrinkable-quote'&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; The project's founder David Sugar &lt;a href=&quot;http://savannah.gnu.org/users/dyfet&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/users/dyfet&lt;/a&gt;&lt;br&gt;&amp;gt; has migrated the project's home from time to time which means you'll
&lt;br&gt;&amp;gt; find it and the code in multiple locations; for example:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://sourceforge.net/projects/cplusplus/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/cplusplus/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gnutelephony.org/index.php?title=GNU_Common_C%2B%2B&amp;oldid=224&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnutelephony.org/index.php?title=GNU_Common_C%2B%2B&amp;oldid=224&lt;/a&gt;&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.gnu.org/software/commoncpp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/commoncpp/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://savannah.gnu.org/projects/commoncpp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/projects/commoncpp/&lt;/a&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; IMO (but I could be wrong) the latter seems the most recent and complete
&lt;br&gt;&amp;gt; (has a working download page).
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; David's been active on this list as recently as 24 Nov 2007 so this
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/archive/html/bug-commoncpp/2007-11/msg00006.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/archive/html/bug-commoncpp/2007-11/msg00006.html&lt;/a&gt;&lt;br&gt;&amp;gt; mailing list is probably a good place to state your question.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Conrad Pino
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15796825&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+conrad=pino.com@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15796825&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+conrad=pino.com@...&lt;/a&gt;]On Behalf Of Jim
&lt;br&gt;&amp;gt;&amp;gt; Sent: Friday, February 29, 2008 05:42
&lt;br&gt;&amp;gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15796825&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Subject: Where to go to ask questions?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; I've been unable to find a forum or mailing list associated with 
&lt;br&gt;&amp;gt;&amp;gt; commoncpp. &amp;nbsp;I have a couple of questions about usage.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt;&amp;gt; Jim.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; _______________________________________________
&lt;br&gt;&amp;gt; Bug-commoncpp mailing list
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15796825&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;tt&gt;[dyfet.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:David Sugar
&lt;br&gt;n:Sugar;David
&lt;br&gt;org:GNU Telephony
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15796825&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dyfet@...&lt;/a&gt;
&lt;br&gt;tel;work:+1 201 215 2609
&lt;br&gt;url:http://www.gnutelephony.org
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15796825&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-to-go-to-ask-questions--tp15788575p15796825.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15789979</id>
	<title>RE: Where to go to ask questions?</title>
	<published>2008-03-02T08:38:08Z</published>
	<updated>2008-03-02T08:38:08Z</updated>
	<author>
		<name>Conrad T. Pino</name>
	</author>
	<content type="html">The project's founder David Sugar &lt;a href=&quot;http://savannah.gnu.org/users/dyfet&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/users/dyfet&lt;/a&gt;&lt;br&gt;has migrated the project's home from time to time which means you'll
&lt;br&gt;find it and the code in multiple locations; for example:
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://sourceforge.net/projects/cplusplus/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://sourceforge.net/projects/cplusplus/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnutelephony.org/index.php?title=GNU_Common_C%2B%2B&amp;oldid=224&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnutelephony.org/index.php?title=GNU_Common_C%2B%2B&amp;oldid=224&lt;/a&gt;&lt;br&gt;&lt;a href=&quot;http://www.gnu.org/software/commoncpp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnu.org/software/commoncpp/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://savannah.gnu.org/projects/commoncpp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://savannah.gnu.org/projects/commoncpp/&lt;/a&gt;&lt;br&gt;&lt;br&gt;IMO (but I could be wrong) the latter seems the most recent and complete
&lt;br&gt;(has a working download page).
&lt;br&gt;&lt;br&gt;David's been active on this list as recently as 24 Nov 2007 so this
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-commoncpp/2007-11/msg00006.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/archive/html/bug-commoncpp/2007-11/msg00006.html&lt;/a&gt;&lt;br&gt;mailing list is probably a good place to state your question.
&lt;br&gt;&lt;br&gt;Conrad Pino
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15789979&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+conrad=pino.com@...&lt;/a&gt;
&lt;br&gt;&amp;gt; [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15789979&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+conrad=pino.com@...&lt;/a&gt;]On Behalf Of Jim
&lt;br&gt;&amp;gt; Sent: Friday, February 29, 2008 05:42
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15789979&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Where to go to ask questions?
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've been unable to find a forum or mailing list associated with 
&lt;br&gt;&amp;gt; commoncpp. &amp;nbsp;I have a couple of questions about usage.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; Thanks,
&lt;br&gt;&amp;gt; Jim.
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15789979&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-to-go-to-ask-questions--tp15788575p15789979.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-15788575</id>
	<title>Where to go to ask questions?</title>
	<published>2008-02-29T05:42:13Z</published>
	<updated>2008-02-29T05:42:13Z</updated>
	<author>
		<name>Jim-180</name>
	</author>
	<content type="html">I've been unable to find a forum or mailing list associated with 
&lt;br&gt;commoncpp. &amp;nbsp;I have a couple of questions about usage.
&lt;br&gt;&lt;br&gt;Thanks,
&lt;br&gt;Jim.
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=15788575&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-to-go-to-ask-questions--tp15788575p15788575.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-14486049</id>
	<title>Patch to fix detection of {bits,ext}/atomicity.h with gcc &gt;=4.2.0</title>
	<published>2007-12-24T01:40:29Z</published>
	<updated>2007-12-24T01:40:29Z</updated>
	<author>
		<name>Tiziano Müller-3</name>
	</author>
	<content type="html">Hi there,
&lt;br&gt;&lt;br&gt;Since the bits/atomicity.h has been moved to ext/atomicity.h for gcc
&lt;br&gt;&amp;gt;=4.2.0, a couple applications depending on commoncpp2 show build errors
&lt;br&gt;&amp;gt;when building.
&lt;br&gt;One part of the patch updates m4/ost_pthread.m4 to check for
&lt;br&gt;ext/atomicity.h as well, the other part adds HAVE_EXT_ATOMICITY.H to
&lt;br&gt;config.h.in and adds a define switch to include the right header-file.
&lt;br&gt;&lt;br&gt;I'd not hardcode either bits/atomicity.h or ext/atomicity.h depending on
&lt;br&gt;the configure-results in the config.h since someone might build/have
&lt;br&gt;built commoncpp with gcc-4.1.0 and then build the app with gcc-4.2.2
&lt;br&gt;(or vice versa).
&lt;br&gt;&lt;br&gt;Cheers,
&lt;br&gt;Tiziano
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Tiziano Müller
&lt;br&gt;Gentoo Linux Developer
&lt;br&gt;Areas of responsibility: Samba, PostgreSQL, cpp, Python
&lt;br&gt;E-Mail &amp;nbsp; &amp;nbsp; : &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=14486049&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dev-zero@...&lt;/a&gt;
&lt;br&gt;GnuPG FP &amp;nbsp; : F327 283A E769 2E36 18D5 &amp;nbsp;4DE2 1B05 6A63 AE9C 1E30
&lt;br&gt;&lt;br /&gt;diff -Naur commoncpp2-1.6.1.orig/config.h.in commoncpp2-1.6.1/config.h.in
&lt;br&gt;--- commoncpp2-1.6.1.orig/config.h.in	2007-12-24 09:45:11.000000000 +0100
&lt;br&gt;+++ commoncpp2-1.6.1/config.h.in	2007-12-24 10:25:43.000000000 +0100
&lt;br&gt;@@ -239,6 +239,9 @@
&lt;br&gt;&amp;nbsp;/* Define to 1 if you have the &amp;lt;bits/atomicity.h&amp;gt; header file. */
&lt;br&gt;&amp;nbsp;#undef HAVE_BITS_ATOMICITY_H
&lt;br&gt;&amp;nbsp;
&lt;br&gt;+/* Define to 1 if you have the &amp;lt;ext/atomicity.h&amp;gt; header file. */
&lt;br&gt;+#undef HAVE_EXT_ATOMICITY_H
&lt;br&gt;+
&lt;br&gt;&amp;nbsp;/* Define to 1 if you have the &amp;lt;bits/wordsize.h&amp;gt; header file. */
&lt;br&gt;&amp;nbsp;#undef HAVE_BITS_WORDSIZE_H
&lt;br&gt;&amp;nbsp;
&lt;br&gt;@@ -1088,7 +1091,11 @@
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp;#if defined(__cplusplus)
&lt;br&gt;&amp;nbsp;#if defined(HAVE_GCC_BITS_ATOMIC) || defined(HAVE_GCC_CXX_BITS_ATOMIC)
&lt;br&gt;+#if (__GNUC__ &amp;gt; 4) || ((__GNUC__ == 4) &amp;&amp; (__GNUC_MINOR__ &amp;gt;= 2))
&lt;br&gt;+#include &amp;lt;ext/atomicity.h&amp;gt;
&lt;br&gt;+#else
&lt;br&gt;&amp;nbsp;#include &amp;lt;bits/atomicity.h&amp;gt;
&lt;br&gt;+#endif
&lt;br&gt;&amp;nbsp;#define HAVE_ATOMIC
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;&amp;nbsp;#endif
&lt;br&gt;diff -Naur commoncpp2-1.6.1.orig/m4/ost_pthread.m4 commoncpp2-1.6.1/m4/ost_pthread.m4
&lt;br&gt;--- commoncpp2-1.6.1.orig/m4/ost_pthread.m4	2007-12-24 09:45:11.000000000 +0100
&lt;br&gt;+++ commoncpp2-1.6.1/m4/ost_pthread.m4	2007-12-24 10:12:24.000000000 +0100
&lt;br&gt;@@ -92,7 +92,9 @@
&lt;br&gt;&amp;nbsp; &amp;nbsp;dnl check for gcc's bits/atomicity and the atomic functions therein
&lt;br&gt;&amp;nbsp; &amp;nbsp;AC_CHECK_HEADERS([bits/atomicity.h],
&lt;br&gt;&amp;nbsp;	ost_cv_bits_atomicity=yes,
&lt;br&gt;-	ost_cv_bits_atomicity=no)
&lt;br&gt;+	[AC_CHECK_HEADERS([ext/atomicity.h],
&lt;br&gt;+		ost_cv_bits_atomicity=yes,
&lt;br&gt;+		ost_cv_bits_atomicity=no)])
&lt;br&gt;&amp;nbsp; &amp;nbsp;if test $ost_cv_bits_atomicity = yes ; then
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AC_MSG_CHECKING([for _Atomic_word])
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AC_TRY_COMPILE([#include &amp;lt;bits/atomicity.h&amp;gt;],
&lt;br&gt;@@ -103,7 +105,15 @@
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;],
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_atomic=yes
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; AC_DEFINE(HAVE_GCC_BITS_ATOMIC, [1], [has gcc atomic functions])],
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_atomic=no])
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;[AC_TRY_COMPILE([#include &amp;lt;ext/atomicity.h&amp;gt;],
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;[
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;_Atomic_word i = 0;
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;__atomic_add(&amp;i, 1);
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;__exchange_and_add(&amp;i, 1);
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;],
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_atomic=yes
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;AC_DEFINE(HAVE_GCC_BITS_ATOMIC, [1], [has gcc atomic functions])],
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_atomic=no])])
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AC_MSG_RESULT($ost_cv_gcc_atomic)
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AC_MSG_CHECKING([for __gnu_cxx::_Atomic_word])
&lt;br&gt;@@ -117,7 +127,17 @@
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_cxx_atomic=yes
&lt;br&gt;&amp;nbsp;	 &amp;nbsp; &amp;nbsp; AC_DEFINE(HAVE_GCC_CXX_BITS_ATOMIC, [1], 
&lt;br&gt;&amp;nbsp;		[has __gnu_cxx atomic functions])],
&lt;br&gt;-	 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_cxx_atomic=no])
&lt;br&gt;+	 &amp;nbsp; &amp;nbsp;[AC_TRY_COMPILE([#include &amp;lt;ext/atomicity.h&amp;gt;],
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;[
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;using namespace __gnu_cxx;
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;_Atomic_word i = 0;
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;__atomic_add(&amp;i, 1);
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;__exchange_and_add(&amp;i, 1);
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;],
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_cxx_atomic=yes
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp; AC_DEFINE(HAVE_GCC_CXX_BITS_ATOMIC, [1], 
&lt;br&gt;+			[has __gnu_cxx atomic functions])],
&lt;br&gt;+		 &amp;nbsp; &amp;nbsp;[ost_cv_gcc_cxx_atomic=no])])
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;AC_MSG_RESULT($ost_cv_gcc_cxx_atomic)
&lt;br&gt;&amp;nbsp; &amp;nbsp;fi
&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br /&gt; &lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=14486049&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;&lt;div class=&quot;small&quot;&gt;&lt;br/&gt;&lt;img src=&quot;http://old.nabble.com/images/icon_attachment.gif&quot; &gt; &lt;strong&gt;attachment0&lt;/strong&gt; (196 bytes) &lt;a href=&quot;http://old.nabble.com/attachment/14486049/0/attachment0&quot; target=&quot;_top&quot;&gt;Download Attachment&lt;/a&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Patch-to-fix-detection-of-%7Bbits%2Cext%7D-atomicity.h-with-gcc-%3E%3D4.2.0-tp14486049p14486049.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-14417863</id>
	<title>problem about TCPStream</title>
	<published>2007-12-13T05:36:50Z</published>
	<updated>2007-12-13T05:36:50Z</updated>
	<author>
		<name>Philippe Mbakob Mbakob</name>
	</author>
	<content type="html">hi,
&lt;br&gt;&lt;br&gt;I'm using ost:TCPStream to develop a client-server application and i 
&lt;br&gt;have a &amp;nbsp;problem &amp;nbsp;when in my server. When i try to receive message from 
&lt;br&gt;client using operator &amp;gt;&amp;gt;, it work fine only if there is no space 
&lt;br&gt;character in my message.
&lt;br&gt;&lt;br&gt;my class SERVER inherit from ost:TCPStream. And when i received a msg a 
&lt;br&gt;method using the code below is called.
&lt;br&gt;&lt;br&gt;string msg;
&lt;br&gt;&lt;br&gt;while( this-&amp;gt;isPending(Socket::pendingInput, 1000) &amp;&amp; ( !this-&amp;gt;eof() ) )
&lt;br&gt;{
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; *(this) &amp;gt;&amp;gt; msg;
&lt;br&gt;}
&lt;br&gt;&lt;br&gt;&lt;br&gt;For example, if i send &amp;quot;hello world&amp;quot;, the server will only receive&amp;quot;hello&amp;quot;.
&lt;br&gt;&lt;br&gt;Please can you help me?
&lt;br&gt;&lt;br&gt;thanks
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Philippe
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=14417863&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/problem-about-TCPStream-tp14417863p14417863.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13929522</id>
	<title>UCommon 1.0 released</title>
	<published>2007-11-24T13:21:03Z</published>
	<updated>2007-11-24T13:21:03Z</updated>
	<author>
		<name>David Sugar-2</name>
	</author>
	<content type="html">The 1.0 release of UCommon was distributed this afternoon. &amp;nbsp;This release
&lt;br&gt;includes full doxygen generated interface documentation, which may be
&lt;br&gt;viewed online at &lt;a href=&quot;http://www.gnutelephony.org/doxy/ucommon&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnutelephony.org/doxy/ucommon&lt;/a&gt;. &amp;nbsp;The
&lt;br&gt;distribution tarball may be found at
&lt;br&gt;&lt;a href=&quot;http://www.gnutelephony.org/dist/archive/ucommon-1.0.0.tar.gz&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.gnutelephony.org/dist/archive/ucommon-1.0.0.tar.gz&lt;/a&gt;.
&lt;br&gt;&lt;br&gt;This release includes support for merging existing GNU Common C++
&lt;br&gt;classes into the UCommon codebase to construct a potential GNU Common
&lt;br&gt;C++ 2.0. &amp;nbsp;As such it may be both the first and last complete stand-alone
&lt;br&gt;&amp;quot;release&amp;quot; of UCommon as I intend to merge the two. &amp;nbsp;The 1.0 UCommon
&lt;br&gt;release is hence also intended as a preview and base library set for
&lt;br&gt;developing GNU Common C++ 2.0.
&lt;br&gt;&lt;br&gt;Some classes I plan to retain from the existing GNU Common C++ codebase
&lt;br&gt;include serialization and TCP streaming classes. &amp;nbsp;I am considering doing
&lt;br&gt;a simplified keydata class. Merging of other existing GNU Common C++
&lt;br&gt;classes will be based on user feedback.
&lt;br&gt;&lt;br&gt;Some principle differences between the UCommon codebase and current GNU
&lt;br&gt;Common C++ is simplified but more consistent threading model, clean
&lt;br&gt;unification of IPV4/IPV6 addressing, and a much greater focus on design
&lt;br&gt;patterns. &amp;nbsp;The merged codebase will support targetting both deeply
&lt;br&gt;embedded targets and standard C++ use with other class frameworks. &amp;nbsp;The
&lt;br&gt;build level will be controlled by configure options, and code which
&lt;br&gt;requires C++ standard library support will use either the OLD_STDCPP or
&lt;br&gt;NEWS_STDCPP defines. &amp;nbsp;Otherwise code can be constructed that supports
&lt;br&gt;both generic and deeply embedded build targets.
&lt;br&gt;&lt;br&gt;I may try for a GNU Common C++ 2.0 release candidate before the end of
&lt;br&gt;December. &amp;nbsp;Most likely it will use a ${prefix}/include/gnucommon header
&lt;br&gt;directory for includes and libgnucommon.a library name so it can safely
&lt;br&gt;coexist with earlier versions of GNU Common C++ which used include/cc++
&lt;br&gt;and a libccgnu2/libccext2 library set.
&lt;br&gt;&lt;br /&gt;&lt;tt&gt;[dyfet.vcf]&lt;/tt&gt;&lt;br /&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;tt&gt;begin:vcard
&lt;br&gt;fn:David Sugar
&lt;br&gt;n:Sugar;David
&lt;br&gt;org:GNU Telephony
&lt;br&gt;email;internet:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13929522&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;dyfet@...&lt;/a&gt;
&lt;br&gt;tel;work:+1 201 215 2609
&lt;br&gt;url:http://www.gnutelephony.org
&lt;br&gt;version:2.1
&lt;br&gt;end:vcard
&lt;br&gt;&lt;br&gt;&lt;/tt&gt;&lt;hr align=&quot;left&quot; width=&quot;300&quot; /&gt;&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13929522&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/UCommon-1.0-released-tp13929522p13929522.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13788599</id>
	<title>Re: Is anyone still there?</title>
	<published>2007-11-15T23:32:03Z</published>
	<updated>2007-11-15T23:32:03Z</updated>
	<author>
		<name>manmach</name>
	</author>
	<content type="html">&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&gt;
&lt;html&gt;
&lt;head&gt;
  &lt;meta content=&quot;text/html;charset=ISO-8859-1&quot; http-equiv=&quot;Content-Type&quot;&gt;
  &lt;title&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body bgcolor=&quot;#ffffff&quot; text=&quot;#000000&quot;&gt;
Conrad T. Pino schreef:
&lt;blockquote cite=&quot;mid:NBBBKGBBDBMONCPMINHBKEHPOIAB.Conrad@Pino.com&quot; type=&quot;cite&quot;&gt;
  &lt;pre wrap=&quot;&quot;&gt;You can see if your original message was processed by
visiting the bug-commoncpp mailing list archive page:
&lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://lists.gnu.org/archive/html/bug-commoncpp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/archive/html/bug-commoncpp/&lt;/a&gt;
and following one or more monthly links depending on
when sent.

If it's archived then resending it is pointless.

  &lt;/pre&gt;
&lt;/blockquote&gt;
Thanks, but I did and it wasn't there (still isn't). So that's why I
asked.&lt;br&gt;
&lt;br&gt;
But since yours isn't there either, I am not sure if this means
anything yet.&lt;br&gt;
&lt;br&gt;
However, isn't anyone else receiving these messages? Because I just got
one again.&lt;br&gt;
&lt;br&gt;
Anyway, since you reply, at least some of my messages must be getting
through. So I'll hold of on resending for now.&lt;br&gt;
&lt;br&gt;
Just so maybe someone else can identify what is going on and can
actually do something about it, here's the message I keep getting when
I mail to &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13788599&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;.&lt;br&gt;
&lt;br&gt;
&lt;blockquote&gt;
  &lt;pre wrap=&quot;&quot;&gt;Hello

Please get my new email address at

  &lt;a class=&quot;moz-txt-link-freetext&quot; href=&quot;http://www.drzoom.ch/email.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.drzoom.ch/email.html&lt;/a&gt;

Sorry for this, bye...&lt;/pre&gt;
&lt;/blockquote&gt;
&lt;br&gt;
The site points to someone whose address is something like
&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13788599&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;tobias.???@...&lt;/a&gt;. ??? because he says that's where his lastname
is supposed to go, yet he doesn't say what it is.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Sorry about the inconvenience,&lt;br&gt;
regards,&lt;br&gt;
Erik&lt;br&gt;
&lt;/body&gt;
&lt;/html&gt;
&lt;br /&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13788599&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-anyone-still-there--tp13780695p13788599.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13784406</id>
	<title>bug-commoncpp list - automatic responder messages</title>
	<published>2007-11-15T15:40:02Z</published>
	<updated>2007-11-15T15:40:02Z</updated>
	<author>
		<name>Conrad T. Pino</name>
	</author>
	<content type="html">From time to time a public mailing list subscriber
&lt;br&gt;may setup automatic responder for sending vacation,
&lt;br&gt;email address change or other notices.
&lt;br&gt;&lt;br&gt;The automatic responder sends to the indicated from
&lt;br&gt;address which the mailing has rewritten to reflect
&lt;br&gt;back into the list and is seen by all subscribers.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13784406&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/bug-commoncpp-list---automatic-responder-messages-tp13784406p13784406.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13784246</id>
	<title>RE: Is anyone still there?</title>
	<published>2007-11-15T15:28:34Z</published>
	<updated>2007-11-15T15:28:34Z</updated>
	<author>
		<name>Conrad T. Pino</name>
	</author>
	<content type="html">You can see if your original message was processed by
&lt;br&gt;visiting the bug-commoncpp mailing list archive page:
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/archive/html/bug-commoncpp/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/archive/html/bug-commoncpp/&lt;/a&gt;&lt;br&gt;and following one or more monthly links depending on
&lt;br&gt;when sent.
&lt;br&gt;&lt;br&gt;If it's archived then resending it is pointless.
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13784246&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+conrad=pino.com@...&lt;/a&gt;
&lt;br&gt;[mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13784246&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+conrad=pino.com@...&lt;/a&gt;]On Behalf Of E.
&lt;br&gt;van Linstee
&lt;br&gt;Sent: Thursday, November 15, 2007 10:46
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13784246&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;Subject: Is anyone still there?
&lt;br&gt;&lt;br&gt;&lt;br&gt;Because my previous message seems to have elicited a rather unusual 
&lt;br&gt;reply. If this one succeeds, I'll retry my previous question.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Erik
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13784246&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13784246&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-anyone-still-there--tp13780695p13784246.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13780695</id>
	<title>Is anyone still there?</title>
	<published>2007-11-15T10:45:42Z</published>
	<updated>2007-11-15T10:45:42Z</updated>
	<author>
		<name>E. van Linstee</name>
	</author>
	<content type="html">Because my previous message seems to have elicited a rather unusual 
&lt;br&gt;reply. If this one succeeds, I'll retry my previous question.
&lt;br&gt;&lt;br&gt;regards,
&lt;br&gt;Erik
&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13780695&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-anyone-still-there--tp13780695p13780695.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13779112</id>
	<title>Re: Please don't use the address Bug-commoncpp@gnu.org, please change your addressbook.</title>
	<published>2007-11-15T10:43:29Z</published>
	<updated>2007-11-15T10:43:29Z</updated>
	<author>
		<name>manmach</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;Are you by any chance the one who is responsible for the message below? 
&lt;br&gt;Because it directs me to a site telling me to send mail to someones 
&lt;br&gt;first name dot lastname. The site is signed Tobias, but nowhere does it 
&lt;br&gt;say what his lastname is. I found yours by searching for Tobias at 
&lt;br&gt;profzone.ch.
&lt;br&gt;&lt;br&gt;Sorry for the inconvenience if it is not you.
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Erik
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt; schreef:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hello
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please get my new email address at
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; &lt;a href=&quot;http://www.drzoom.ch/email.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.drzoom.ch/email.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Sorry for this, bye...
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ------ This is a copy of the message, including all the headers. ------
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Received: from mail01.solnet.ch ([212.101.4.135])
&lt;br&gt;&amp;gt; 	by mail.profzone.ch with esmtp (Exim 3.36 #1)
&lt;br&gt;&amp;gt; 	id 1IsjXy-000BeY-00
&lt;br&gt;&amp;gt; 	for &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;te@...&lt;/a&gt;; Thu, 15 Nov 2007 19:34:38 +0100
&lt;br&gt;&amp;gt; X-Virus-Scanned: by amavisd-new at mail01.solnet.ch
&lt;br&gt;&amp;gt; Received: from mail01.solnet.ch ([127.0.0.1])
&lt;br&gt;&amp;gt; 	by localhost (mail01.solnet.ch [127.0.0.1]) (amavisd-new, port 10024)
&lt;br&gt;&amp;gt; 	with LMTP id AX+hWaq7tf9o for &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;te@...&lt;/a&gt;&amp;gt;;
&lt;br&gt;&amp;gt; 	Thu, 15 Nov 2007 18:34:32 +0000 (UTC)
&lt;br&gt;&amp;gt; Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
&lt;br&gt;&amp;gt; 	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
&lt;br&gt;&amp;gt; 	(No client certificate requested)
&lt;br&gt;&amp;gt; 	by mail01.solnet.ch (Postfix) with ESMTP id 968672FD513
&lt;br&gt;&amp;gt; 	for &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;te@...&lt;/a&gt;&amp;gt;; Thu, 15 Nov 2007 18:34:32 +0000 (UTC)
&lt;br&gt;&amp;gt; Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
&lt;br&gt;&amp;gt; 	id 1IsjXh-0001s1-Ou
&lt;br&gt;&amp;gt; 	for &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;; Thu, 15 Nov 2007 13:34:21 -0500
&lt;br&gt;&amp;gt; Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
&lt;br&gt;&amp;gt; 	id 1IsjXf-0001oH-S3
&lt;br&gt;&amp;gt; 	for &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;; Thu, 15 Nov 2007 13:34:21 -0500
&lt;br&gt;&amp;gt; Received: from [199.232.76.173] (helo=monty-python.gnu.org)
&lt;br&gt;&amp;gt; 	by lists.gnu.org with esmtp (Exim 4.43) id 1IsjXf-0001o2-OJ
&lt;br&gt;&amp;gt; 	for &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;; Thu, 15 Nov 2007 13:34:19 -0500
&lt;br&gt;&amp;gt; Received: from kuber.nabble.com ([216.139.236.158])
&lt;br&gt;&amp;gt; 	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
&lt;br&gt;&amp;gt; 	(Exim 4.60) (envelope-from &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;&amp;gt;) id 1IsjXf-0006AC-4M
&lt;br&gt;&amp;gt; 	for &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;; Thu, 15 Nov 2007 13:34:19 -0500
&lt;br&gt;&amp;gt; Received: from isper.nabble.com ([192.168.236.156])
&lt;br&gt;&amp;gt; 	by kuber.nabble.com with esmtp (Exim 4.63)
&lt;br&gt;&amp;gt; 	(envelope-from &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=9&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bounces@...&lt;/a&gt;&amp;gt;) id 1IsjXd-0007TB-Si
&lt;br&gt;&amp;gt; 	for &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=10&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;; Thu, 15 Nov 2007 10:34:17 -0800
&lt;br&gt;&amp;gt; Message-ID: &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=11&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;13774032.post@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; Date: Thu, 15 Nov 2007 10:34:17 -0800 (PST)
&lt;br&gt;&amp;gt; From: manmach &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=12&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;commoncpp@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=13&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; MIME-Version: 1.0
&lt;br&gt;&amp;gt; Content-Type: text/plain; charset=us-ascii
&lt;br&gt;&amp;gt; Content-Transfer-Encoding: 7bit
&lt;br&gt;&amp;gt; X-Nabble-From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=14&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3)
&lt;br&gt;&amp;gt; Cc: 
&lt;br&gt;&amp;gt; Subject: Mutex does not work on win32/mingw
&lt;br&gt;&amp;gt; X-BeenThere: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=15&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&amp;gt; X-Mailman-Version: 2.1.5
&lt;br&gt;&amp;gt; Precedence: list
&lt;br&gt;&amp;gt; List-Id: Bug reports for Common C++ &amp;lt;bug-commoncpp.gnu.org&amp;gt;
&lt;br&gt;&amp;gt; List-Unsubscribe: &amp;lt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;gt; 	&amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=16&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-request@...&lt;/a&gt;?subject=unsubscribe&amp;gt;
&lt;br&gt;&amp;gt; List-Archive: &amp;lt;&lt;a href=&quot;http://lists.gnu.org/pipermail/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/pipermail/bug-commoncpp&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; List-Post: &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=17&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt; List-Help: &amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=18&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-request@...&lt;/a&gt;?subject=help&amp;gt;
&lt;br&gt;&amp;gt; List-Subscribe: &amp;lt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&amp;gt;,
&lt;br&gt;&amp;gt; 	&amp;lt;mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=19&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-request@...&lt;/a&gt;?subject=subscribe&amp;gt;
&lt;br&gt;&amp;gt; Sender: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=20&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+te=profzone.ch@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Errors-To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=21&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bug-commoncpp-bounces+te=profzone.ch@...&lt;/a&gt;
&lt;br&gt;&amp;gt; X-ProfZone-Rcpt: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=22&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;te@...&lt;/a&gt;
&lt;br&gt;&amp;gt; X-Envelope-To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=23&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;te@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; It appears that I can enter a mutex from two different threads at the same
&lt;br&gt;&amp;gt; time, which should of course be impossible.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have made a very simple program to test this. It consists of a test class
&lt;br&gt;&amp;gt; derived from Thread, which in simply enters and leaves the mutex once every
&lt;br&gt;&amp;gt; second.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At the same time the main thread does the same, but twice per second.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; As you can see from this little excerpt of the programs output, neither
&lt;br&gt;&amp;gt; thread blocks when it should:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; main(): entering test
&lt;br&gt;&amp;gt; 2092: entering test
&lt;br&gt;&amp;gt; main(): leavingtest
&lt;br&gt;&amp;gt; main(): entering test
&lt;br&gt;&amp;gt; 2092: leavingtest
&lt;br&gt;&amp;gt; main(): leavingtest
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is with version 1.5.7, as 1.5.9 won't even compile.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I am using gcc 3.4.2 mingw to compile.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I have built ccgnu2 1.5.7 by running ./configure, make, make install from
&lt;br&gt;&amp;gt; inside the msys environment.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; The exact same code works as expected on Linux (ccgnu 1.5.6 on Ubuntu).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;_______________________________________________
&lt;br&gt;Bug-commoncpp mailing list
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=13779112&amp;i=24&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;Bug-commoncpp@...&lt;/a&gt;
&lt;br&gt;&lt;a href=&quot;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://lists.gnu.org/mailman/listinfo/bug-commoncpp&lt;/a&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Re%3A-Please-don%27t-use-the-address-Bug-commoncpp%40gnu.org%2C-please-change-your-addressbook.-tp13779112p13779112.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-13774032</id>
	<title>Mutex does not work on win32/mingw</title>
	<published>2007-11-15T08:01:09Z</published>
	<updated>2007-11-15T08:01:09Z</updated>
	<author>
		<name>manmach</name>
	</author>
	<content type="html">It appears that I can enter a mutex from two different threads at the same time, which should of course be impossible.
&lt;br&gt;&lt;br&gt;I have made a very simple program to test this. It consists of a test class derived from Thread, which in simply enters and leaves the mutex once every second.
&lt;br&gt;&lt;br&gt;At the same time the main thread does the same, but twice per second.
&lt;br&gt;&lt;br&gt;As you can see from this little excerpt of the programs output, neither thread blocks when it should:
&lt;br&gt;&lt;br&gt;&lt;i&gt;main(): entering test
&lt;br&gt;2092: entering test
&lt;br&gt;main(): leavingtest
&lt;br&gt;main(): entering test
&lt;br&gt;2092: leavingtest
&lt;br&gt;main(): leavingtest
&lt;br&gt;&lt;/i&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;This is with version 1.5.7, as 1.5.9 won't even compile.
&lt;br&gt;&lt;br&gt;I am using gcc 3.4.2 mingw to compile.
&lt;br&gt;&lt;br&gt;I have built ccgnu2 1.5.7 by running ./configure, make, make install from inside the msys environment.
&lt;br&gt;&lt;br&gt;The exact same code works as expected on Linux (ccgnu 1.5.6 on Ubuntu).
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Mutex-does-not-work-on-win32-mingw-tp13774032p13774032.html" />
</entry>

</feed>
