From mpaul@gecadsoftware.com Wed Jul 04 14:26:01 2001
Received: from antares.gecadsoftware.com ([193.230.167.76])
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15HrLc-0008GK-00
	for <bug-commoncpp@gnu.org>; Wed, 04 Jul 2001 14:26:00 -0400
Received: (qmail 73618 invoked by uid 66); 4 Jul 2001 18:27:14 -0000
Received: from gecadsoftware.com (mpaul.gecadsoftware.com [193.230.245.152])
	by frik.gecadsoftware.com (8.10.2/8.10.2) with ESMTP id f64IKdU27749
	for <bug-commoncpp@gnu.org>; Wed, 4 Jul 2001 21:20:39 +0300
X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: frik.gecadsoftware.com
X-Authentication-Warning: frik.gecadsoftware.com: Host mpaul.gecadsoftware.com [193.230.245.152] claimed to be gecadsoftware.com
Message-ID: <3B435FAF.5EF01660@gecadsoftware.com>
Date: Wed, 04 Jul 2001 21:25:52 +0300
From: Paul Marculescu <mpaul@gecadsoftware.com>
X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.17-21mdksmp i686)
X-Accept-Language: en
MIME-Version: 1.0
To: common c++ <bug-commoncpp@gnu.org>
Subject: problem with Socket
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Hi!

I just discovered a problem in class Socket.
I made a server which sends a salute message when a client connects.

But it crashed when the computer was scanned, because, the scanner (
nmap ) closed the connection to quickly and there wasn't enough time to
construct a TCPSession. In fact the Socket from which the TCPSession
should be constructed didn't make it out of the constructor, because the
fd was invalid. So it tried to throw (Socket*)(this) but "this" wasn't
constructed so it crashed.

I made a little exception class and replaced the throw in
Socket::Socket( int ).

Any other suggestions?



--
Paul Marculescu



From biz@6x6.net Wed Jul 04 16:34:29 2001
Received: from [209.158.1.66] (helo=admin)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15HtL0-00032y-00
	for <bug-commoncpp@gnu.org>; Wed, 04 Jul 2001 16:33:31 -0400
From: Please Read IT Carefully!
To: bug-commoncpp@gnu.org
Subject: ATTENTION! Well-Paid Job in the Internet!  
Reply-To: biz@6x6.net
Date: 04 Jul 2001 22:20:54 +0300
X-Priority: 2(High)
Mime-Version: 1.0
Content-Type: text/html
Message-Id: <E15HtL0-00032y-00@fencepost.gnu.org>
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

<html><head><title>ATTENTION! The Well-Paid Job in the Internet!</title><meta http-equiv="Content-Type" content="text/html; charset=windows-1251"></head><body bgcolor="#FFFFFF"><center><a name="e"><table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td><center><font face="verdana" size="+1"><b>We wish You a pleasant and successful day!</center><div align="right"><font face="verdana" size="+2"><a href="#r"><b>In Russian</a><tr bgcolor="#000066"><td>&nbsp;</table><table width="660" cellpadding="0" cellspacing="0" border="0"><tr><td><table width="518" border="0" cellspacing="0" cellpadding="0"><tr><td><table width="500" cellpadding="0" cellspacing="0" border="0"><tr><td><font face="verdana" size="+1"><center><b>Make money without leaving Your computer!</b></center><p><div align="justify"><br><font size="2">If You show some interest and patience and understand as IT works, You can earn up to <b>$100,000</b> and <b>more!!!</b> During the following 120 days - it depends only on You. DOES  IT SEEMS TO BE IMPOSSIBLE?? Read this document to be sure there is no catch or deceit. If You are completely lazy - we beg Your pardon for the assumption!!!, then this  is not for You!!! You'd better do something like surfing either clicking on banners or not doing anything at all.<p>!!! If the offer hasn't interested You, we bring our apologies and it is not necessary to get angry - "Spam" has its expenses, just as radio and TV, but do not forget, that the first billionaire of the USA, Dale Carnegie said:<p>"I'll better earn 1% as a result of the efforts of 100 men, than 100% as a result of my own efforts."<p><font size="3" color="#000066"><center><br><b>RISE ON THE WAY TO THE FINANCIAL INDEPENDENCE AND FREEDOM!!!</table></table><td width="142" bgcolor="#000066"><table width="142" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000066"><center><table width="125" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#FFFFCC"><font face="verdana" size="2"><center>Welcome to the <b><font color=red>6<font color=green>X<font color=blue>6</font></font></font>!<tr><td>&nbsp;<tr><td bgcolor="#FFFFCC"><center><table width="115" cellpadding="0" cellspacing="0" border="0"><tr><td><font face="verdana" size="1">It is difficult to believe but nevertheless it is like that! People get richer and richer! Some of them can't recover from the shock which had come together with a heap of crust banknotes even some months later. While the others deliberate and doubt, people that believed in Business System 6X6 bathe now in money!...</table><tr><td>&nbsp;<tr><td bgcolor="#FFFFCC"><tr><td bgcolor="#FFFFCC"><center><table width="115" cellpadding="0" cellspacing="0" border="0"><tr><td><font face="verdana" size="1">In view of prompt rates of development of the Internet and electronic commerce the number of users of the "World Wide Web" grows with the great speed. There are more than 15,000 new people who join the Internet daily...</table></table></table><tr><td colspan="2"><table cellpadding="0" cellspacing="0" border="0" width="660"><tr bgcolor="#000066"><td>&nbsp;</table><br><center><font face="verdana" size="1" color="#555555">Copyright © 2000 6x6 MLM Corporation. All rights reserved.</font><table width="660" cellpadding="0" cellspacing="0" border="0"><tr><td height="60"><tr><td><font face="verdana" size=+1><center><b>Ladies and Gentlemen!<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><font face=verdana size=+1><center><p><br><b>PLEASE READ THOUGHTFULLY AND ATTENTIVELY, TRYING NOT TO DISTRACT YOUR ATTENTION WITH EXTERNAL NOISES AND IRRITANTS, AND YOU'LL UNDERSTAND WHAT WILL MAKE YOU RATHER RICH AND FREE PEOPLE!!!<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p align=justify><br><font face=verdana size=2 color=#000066>It is difficult to believe but nevertheless it is like that! People get richer and richer! Some of them can't recover from the shock which had come together with a heap of crust banknotes even some months later. While the others deliberate and doubt, people that believed in Business System 6X6 bathe now in money! In a literal sense! Have You ever seen how the heap of the $5 bills under which the adult person entirelly finds room looks like?! It is 100 thousand dollars!!! Can You imagine how the heap of $1,000,000 which is earned by each third participant of the superprogram 6X6 looks like?! And what is the feeling when You, not getting troubled with work, start to receive envelopes with six dollars already on the second week and further the profit is much more! And eventually some months later You don't know how to get rid of the money! You even get a bit scary of this avalanches of the money!!!<br>&nbsp;<tr><td height=40><tr><td><font face=verdana size=2 color=#000066><center><b>ALL THAT IT WILL NECESSARY TO DO - TO SEND THE ADVERTISING LETTERS VIA E-MAIL AND FROM TIME TO TIME TO CHECK YOUR MAILBOX OR TO GO TO THE BANK! YOU SHOULDN'T EVEN STRAIN THE BRAIN - THE SUPER COMPUTER BUSINESS SYSTEM 6X6 WILL MAKE EVERYTHING ITSELF!!!<p><b>SINCE THE MOMENT YOU ENTER THIS BUSINESS YOUR PROFIT SNOWBALLS AND BY THE END OF 4TH MONTH YOU'LL GET AS MINIMUM $100,000. BUT IF YOU DON'T STOP THE RESULTS WILL BE ASTRONOMICAL - $1,000,000 FOR 1 YEAR!!!!<tr><td height=40><tr><td bgcolor=#ffffcc><p align=justify><br><font face=verdana size=2 color=#000066>"What is the secret of such dizzy success?" - You ask. This is because there is a new formula in the business system which provides all participants with 100%-s' success due to the account of such special factors which the human brain is simply not capable of grasping. Therefore this excellent program works! And it works brilliantly! This is a prodigy-system in which success is madly infectious! Hurry up to achieve the success too!!!<br>&nbsp;<tr><td height=40><tr><td><font face="verdana" size=+1><center><b>TRY YOURSELF!!!<br>&nbsp;<tr><td bgcolor=#000066>&nbps;<tr><td bgcolor=#ffffcc><p align=justify><font face=verdana size=2 color=#000066><br>Have You ever wondered why the majority of  people achieve nothing in life but only complain? This is because they are ready on a little in their life. They have a ready definitions on everything, but these definitions are formulated not by them and taken from the others. To have Your own opinion is a luxury and rarity. Those who are not afraid to try and work more than doubts very quickly appears at the top of the World! Yes, it is difficult to believe that it is possible to get rich so quickly, difficult to overcome the doubts and find Yourself suddenly fantastically rich. But believe if You will do it, it becomes Your blessing and Your dizzy success! You will not argue that You are worthy of big success and big richness, will You? And so it is vitally necessary for You to do this step to find the financial independence which will bring You co-operation with superprogram 6X6! Your time has come!<br>&nbsp;<tr><td height=40><tr><td><font face="verdana" size=+1><center><b>"Pair words about the system..." - an interview with Igor Tichtchenkov, the founder of the business system<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><font color=#000066><br><b>- In view of prompt rates of development of the Internet and electronic commerce the number of users of the "World Wide Web" grows with the great speed. There are more than 15,000 new people who join the Internet daily. With the growth of number of the Internet's users the number of different types of business programs also grows. Every day their popularity increases too and it is natural because the electronic commerce is the business of the 21st century. But business system 6X6 surpasses all others on some orders - it is possible to judge it by  looking at the success it brings to all its participants. What is its advantage above the other business programs of similar type? Why does 6X6 bring success to all its participants - not only for its founder and the people who stand near him?</font></b><p>- Yes, You are absolutely right about the prompt development of electronic commerce and the occurrence of many business systems similar to 6X6.<p>Before the development of the program 6X6 I had closely studied all systems existing at concurrently and understood the way they had appeared. Probably everyone remembers those bonds which were so popular in 90-s. And so with the development of the Internet someone who knows nothing about computer technologies and of the principles of the "World Wide Web" simply transferred this program with bonds to the network. Yes, the idea is ingenious especially for those times - without the Internet You will hardly find 5 clients, in the network there are millions of users and it is possible to send thousands of advertising letters and find a lot of clients. But this system had setbacks: absence of the description of how to send a bulk mailing of advertising letters, where to take thousands of e-mail addresses etc. The most important deficiency was that this system was designed for extremely honest people. In the advertising letter there was a form similar to our business-table according to which the person who entered that business system had to buy its commodity units (each at the different participant). When he bought them he had to put his postal address for payment opposite to the first commodity unit and shift all other addresses one level below. If nobody supervised him he could change the table somehow. For example if he opened some P.O. boxes with various names at different post offices of the city and put the requisitions of these so-called "dead souls" to the table instead of the previous participants and the process stopped that way. Thus the system worked only at 100% at the first level, 1% -at the second, 0,1% - at the third and 0% at the fourth. Actually the profit came only from the first level, i.e. from direct sales. If You sent about 3,000 advertising letters per day You earned about $300 - $400 per month. But the idea of such kind of business systems - was to bring a maximum of the profit due to the last two levels, i.e. You send a party of letters, for example 10,000, receive 30 orders for the first level commodity unit and further the system works for You for several years. But many people earn these $300 - $400 per month sending 3,000 letters per day, having opened some P.O. boxes and put their requisitions everywhere where only it was possible. The commodity units also didn't contain useful information, excepting the names in the advertising letter. Therefore when You worked with such system You deceived the clients.<p>Probably, there is no sense to describe all other similar kinds of business systems because they are the copies of previous in literal sense. All they appeared that way - the essence was copied and secondary factors such as the names of commodity units, ways of payment, the contents of the advertising letter etc. were changed. It is possible to tell one about all of them: they are "created" (if it is possible to apply this word to pure plagiarism) by amateurs, that are distant  from business in general (what is electronic commerce - they simply don't know!) as well as from computer technologies. But the idea to create such business systems is genious. Especially at our time – a  time of the cutting edge Internet development and electronic commerce. Excluding the deficiencies of this system it is invaluable! Can You imagine what will the Internet look like in five years!<p>Even though the task was very difficult I developed such a business system.<p><font color=#000066>The absence of the description of how to send a bulk mailing of advertising letters, where to take thousands of e-mail addresses and other technical details, I compensated with a specially developed software for automation of this process, that allowed one to send 5,000 to 20,000 advertising letters per day having spent only 30-40 minutes of the time, and with the very detailed description of work with this software, written in language which is comprehensible for users of any level and a plenty of advices and recommendations. I managed to do two things at once: to considerably increase productivity of the business system and to make the commondity units not only useful - required for the every participant of the business system, because they contain this special software and the description of work with it.<p>I stopped the dishonesty of participants by an obligatory registration at the main office of 6X6 MLM Corporation.<p>Because the system does not break I have added 2 additional levels and now the system has 6 levels (and the commodity unit of every level costs $6 - therefore and the name "6X6").<p>I made a more flexible system of the payment for the orders. Now the commodity units can be paid both by the "traditional" first class mail and can be transferred on the bank account. But I forbade to specify P.O. boxes as the address for payment for avoidance of a deceit and that the business system don't lose its attractiveness. Proceeding from the same reasons I forbade WebMoney.<p>I concluded the contract with iWin Loto Ltd. So with registration in our main office You are automatically included in a lottery and Your chances to win are directly proportional to the amount of sold Chapter#1.<br>&nbsp;<tr><td height=60><tr><td><font face="verdana" size=+1><center><b>The responses of our partners<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>My name is Jerry Proctor. Two years ago, the corporation I worked at for the past fifteen years down-sized and my position was eliminated. After unproductive job interviews, I decided to open my own business. Over the past year, I incurred many unforeseen financial problems. I owed my family, friends and creditors over $35,000. The economy was taking a toll on my business and I just couldn't seem to make ends meet. I had to refinance and borrow against my home to support my family and struggling business. AT THAT MOMENT something significant happened in my life and I am writing to share the experience in hopes that this will change Your life FOREVER FINANCIALLY!!! In mid December, I received this program via e-mail. Six month's prior to receiving this program I had been sending away for information on various business opportunities. All of the programs I received, in my opinion, were not cost effective. They were either too difficult for me to comprehend or the initial investment was too much for me to risk to see if they would work or not. One claimed that I would make a million dollars in one year ...it didn't tell me I'd have to write a book to make it! But like I was saying, in December of 1997 I received this program. I didn't send for it, or ask for it, they just got my name off a mailing list. THANK GOODNESS FOR THAT!!! After reading it several times, to make sure I was reading it correctly, I couldn't believe my eyes. Here was a MONEY MAKING PHENOMENON. I could invest as much as I wanted to start, without putting me further into debt. After I got a pencil and paper and figured it out, I would at least get my money back. But like most of You I was still a little skeptical and a little worried about the legal aspects of it all. So I checked it out with the U.S. Post Office (1-800-725-2161 24-hrs) and they confirmed that it is indeed legal! After determining the program was LEGAL and NOT A CHAIN LETTER, I decided "WHY NOT." Initially I sent out 30,000 e-mails. It cost me about $15 for my time on-line. The great thing about e-mail is that I don't need any money for printing to send out the program, and because all of my orders are fulfilled via e-mail, the only expense is my time. I am telling You like it is, I hope it doesn't turn You off, but I promised myself that I would not "rip-off" anyone, no matter how much money it cost me. In less than two weeks, I was starting to receive orders for CHAPTER#1. By January 13, I had received 36 orders for CHAPTER#1. Your goal is to "RECEIVE at least 30 ORDERS FOR CHAPTER#1" My first step in making $100,000 in 120 days was done. By January 30, I had received 246 orders for CHAPTER#2. Your goal is to "RECEIVE AT LEAST 150 ORDERS FOR CHAPTER#2. IF NOT, SEND OUT MORE PROGRAMS UNTIL YOU DO. ONCE YOU HAVE 150 ORDERS, THE REST IS EASY, RELAX, YOU WILL MAKE YOUR $100,000 GOAL." Well, I had 246 orders for CHAPTER#2, 96 more than I needed. So I sat back and relaxed. By March 30, of my e-mailing of 30,000, I received $118,000 with more coming in every day. I paid off ALL my debts and bought a much needed new car. Please take time to read this program, IT WILL CHANGE YOUR LIFE FOREVER!!! Remember, it won't work if You don't try it. This program does work, but You must follow it EXACTLY! In order for this program to work, You must meet Your goal of 30+ orders for CHAPTER#1, and 150+ orders for CHAPTER#2 and You will make $100,000 or more in 120 days. I AM LIVING PROOF THAT IT WORKS!!! If You choose not to participate in this program, I am sorry. It really is a great opportunity with little cost or risk to You. If You choose to participate, follow the program and You will be on Your way to financial security. If You are a fellow business owner and are if financial trouble like I was, or You want to start Your own business, consider this a sign. I DID!</p><p align=right><font face=verdana size=2>Sincerely, Jerry Proctor.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>This program really works. I live outside the US, in Europe and at first I had doubts, I wasn't sure if it would work and so I didn't take it very seriously. But after a while I figured "Why not?". After all, I can't loose much. I sended the requests for the Chapters (I did everything just like I had to because I wanted to do everything right, so if it wouldn't work it wouldn't be my fault, but the program's) and waited. After a while the Chapters arrived by e-mail and I read them several times, they gave me precise information on how to let the program work and after I knew it all, I started my work. I started searching e-mail addresses everywhere (sites, magazines,...) and made long lists (I really enjoyed this because it was like a new hobby and I had nothing to loose). like crazy I started sending e-mail to people all over the world. I kept doing this and checked the mail every day. After two weeks orders started to arrive. I remember the moment when I went to the mailbox and I found the first order for Chapter#1. I just stood there for a moment and I said to myself: "this works, this thing f..... works!!!" I was so happy that I started sending even more e-mails. The next day, nothing in the mail, I thought "maybe this is it" and I was a bit dissapointed but the next day I received 3 orders for Chapter#1. I sended the Chapters to those people so they could start making money too (for them and for me). Two weeks later I was sitting almost 30 minutes a day before my computer sending Chapters to people that had ordered them. In these two weeks I received 39 orders for Chapter#1. Profit so far: about 240 dollars. After that orders came faster and faster, every week I got hundreds of orders and the dollars kept coming. In total I received 124'000 dollars. can You believe this??? Last week I bought a new motorcycle and I owe it all to this program. if You're reading this letter right now and You're not sure whether to participate or not I can only say one thing: TRY IT, You won't regret. This is Your chance, take it now or You will be sorry for the rest of Your live.</p><p align=right><font face=verdana size=2>H.J. Moines, France.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>The main reason for this letter is to convince You that this system is honest, lawful, extremely profitable, and is a way to get a large amount of money in a short time. I was approached several times before I checked this out. I joined just to see what one could expect in return for the minimal effort and money required. To my astonishment, I received $136,470 in the first 14 weeks, with money still coming in.</p><p align=right><font face=verdana size=2>Charles Morris, Esq.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>Not being the gambling type, it took me several weeks to make up my mind to participate in this plan. But conservative that I am, I decided that the initial investment was so little that there was just no way that I wouldn't get enough orders to at least get my money back. Boy, was I surprised when I found my medium-size mailbox crammed with orders! For awhile, it got so overloaded that I had to start picking up my mail at the window. I'll make more money this year than any 10 years of my life before. The nice thing about this deal is that it doesn't matter where people live. There simply isn't a better investment with a faster return.</p><p align=right><font face=verdana size=2>Paige Willis, Des Moines, IA.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>I had received this program before. I deleted it, but later I wondered if I shouldn't have given it a try. Of course, I had no idea who to contact to get another copy, so I had to wait until I was e-mailed another program, ...11 months passed then it came... I didn't delete this one! I made more than $141,000 on the first try!!</p><p align=right><font face=verdana size=2>Violet Wilson, Johnstown, PA.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>This is my third time to participate in this plan. We have quit our jobs, and will soon buy a home on the beach and live off the interest on our money. The only way on earth that this plan will work for You is if You do it. For Your sake, and for Your family's sake don't pass up this golden opportunity. Good luck and happy spending!</p><p align=right><font face=verdana size=2>Kerry Ford, Centerport, NY.<tr><td height=50><tr><td><font face=verdana size=2><b>We wait for Your responses. Send them to the main office.<tr><td height=50><tr><td><font face="verdana" size=+1><center><b>What is the 6X6?<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>So, let’s start earning heaps of  money without leaving the house! "This is my chance!", - You exclaim  having realized that is not necessary to go anywhere and to persuade somebody - only send advertising letters and receive profits! "And what is necessary to do for this purpose?" - the question is inevitable. Earning a heap of money - from $100,000 up to $1,000,000 - for the beginning You must  be registered at the main office of the 6X6 MLM Corporation and receive a personal registration number. Having entered in 6X6, You become the distributor of the Chapters - detailed descriptions of work with business system 6X6 and optimization the computer. Clients of Your business become the people that will be interested in these Chapters. And the Chapters should interest them! People will be interested in business itself and all this is a guaranty that people certainly shall respond to Your letter. What is this letter? This is the advertising letter which You'll receive from the main office of the 6X6 MLM Corporation after the registration (it differs from the letter which You are reading now by the presence of Your registration number in the business table). You simply send it to a lot of people. How to find the endless amount of e-mails, how automatically send the advertising letter to them and many other things You will find out in the Chapters. If You  are worried where to find so many e-mail addresses don’t bother. There are more than 15,000 new people connecting to the Internet daily!!! It'll be enough for everybody!!! After You send the application for registration, a letter will be sent to You, containing:<blockquote><blockquote><p>1) Your registration number,<p>2) The advertising letter with Your registration number in the business table. In the future You'll send this letter to thousands of recipients,<p>3) Postal addresses or bank accounts of other participants of the business system. It is necessary for You to order the Chapters from them, each Chapter from different participant (excepting the Master) according to the deciphered business table, that You had an opportunity to sell them to the customers.</blockquote></blockquote><p>Together with it You will also receive other instructions. Well the thing You'll have to do now is to catch the essence of the algorithm below. So, You have all Chapters and You have to send the letter which contains the foreword to these surprising Chapters as the advertisement. Having read it, the person who has received the letter from You will certainly want to enter to the business system 6X6 and read all Chapters. But even if suddenly he will not want to read the Chapters he'll certainly become interested in a unique opportunity to earn millions practically without any expenses, both on money and on time! I agree, it is just impossible to refuse it! Approximately in 2 weeks from the date of Your first mailing You will receive orders for the first Chapter and a payment for it ($6 for each Chapter) from 30 persons or even more. Thus, Your first income will be $180 or more. This is only the beginning! At registration You will be automatically included in a lottery from iWin Lotto - one of the most popular companies engaged in lotto-business in the World, the main prize is $5,000,000 (it is also played 5 prizes on $1,000,000, 100 prizes on $100,000 and more than 5,000 branded T-shirts from 6X6 MLM Corp., draws are carried out every month) – as much orders You get  on Chapter#1, as much  chances to win the main prize. Do You see?!!! All that is required of You is to send more advertising letters. All Your work will be to go to the bank from time to time or check Your mailbox for cash, and  at home, in silence to count up everytime increasing profit! The guarantor of Your dizzy success and reliable ally becomes the most grandiose in the world computer superprogram 6X6!!!<br>&nbsp;<tr><td height=40><tr><td><font face="verdana" size=+1><center><b>THE CHAPTERS<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>The Chapters are the most detailed description of the business system 6X6, they are advices about the way to optimize the work with the system and adjust the computer for it. Having read them You will understand how to improve a connection with the Internet, how to find 5,000 to 20,000 e-mail addresses per day, to sort them, to send 5,000 to 20,000 advertising letters per day, how to increase productivity of the computer on 50% and many others interesting things, not applying special efforts.<p>The Chapters are written in language that is clear for the users of any levels, therefore for working with the business system 6X6 You don't need to be a programmer or even have computer experience. Moreover, if You have begun to work with the computer just yesterday and don't know anything about it, You should read attentively the Chapters and work some time with the business system 6X6. Thus You will soon become an advanced user who knows everything about Windows and the Internet. In addition You also get the special software with each Chapter that is necessary for work and certain amount of e-mail addresses.<blockquote><blockquote><blockquote><p><b>The list of the Chapters:</b></blockquote><p><b>Chapter#1</b> “Introduction to business system 6Х6. Optimization of the Internet connection. How to use the Internet much more effectively.”<p><i>+20,000 e-mails<br>+software for automatic reconnecting to the Internet and its complete description.</i><p><b>Chapter#2</b> “How to find 5,000 to 20,000 e-mails per day, working about 30-40 minutes.”<p><i>+10,000 e-mails<br>+software for automatic inclusion/deenergizing of the program for e-mails searching at connection/break of connection with the Internet described in the previous Chapter.</i><p><b>Chapter#3</b> “How to sort e-mails.”<p><i>+10,000 e-mails<br>+software for automatic e-mails searching described in the previous Chapter.</i><p><b>Chapter#4</b> “How to send 5,000 to 20,000 thousand advertising letters per day, working the same 30-40 minutes.”<p><i>+10,000 e-mails<br>+software for fast e-mails sorting described in the previous Chapter.</i><p><b>Chapter#5</b> “The most effective algorithm of the work with the business system 6X6.”<p><i>+80,000 e-mails (!)<br>+software for automatic sending a huge amount of the advertising letters with attachments described in the previous Chapter.</i><p><b>Chapter#6</b> “Optimize Your computer, raise its productivity on 50%.”<p><i>+100,000 e-mails (!)<br>+the server part of the software for automatic sending a huge amount of the advertising letters with attachments.</blockquote></blockquote><tr><td height=40><tr><td><font face="verdana" size=+1><center><b>THE RULES OF THE PARTICIPATION IN THE BUSINESS SYSTEM 6X6<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><p><font face=verdana size=2><br><blockquote><blockquote><blockquote><b>The terms:</b></blockquote></blockquote><p><b>The master</b> – Igor Tichtchenkov, the founder of the business system;<p><b>referrer</b> – the participant of 6X6 from that You have received this advertising letter and should order the Chapter;<p><b>client</b> – the owner of e-mail address where You send the advertising letter;<p><b>referral</b> – the participant of 6X6 who has ordered from You the Chapter.</blockquote><tr><td height=30><tr><td><font face="verdana" size=+1><center><b>How does the business system 6X6 work<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>The following system was developed to earn not only from the direct sales (i.e. when You sell the Chapter#1 to Your referrals) but also from the sales of the referrals (i.e. when Your referrals bring to You buyers on Chapter#2 - Chapter#6). There is a following table (so-called the business table) in the advertising letter:<blockquote><blockquote><blockquote><p>Chapter#1...............referrer nr.1<br>Chapter#2...............referrer nr.2<br>Chapter#3...............referrer nr.3<br>Chapter#4...............referrer nr.4<br>Chapter#5...............referrer nr.5<br>Chapter#6...............referrer nr.6</blockquote></blockquote><p>Opposite to each Chapter there is the essential elements of different participants, i.e. You will buy the Chapter#1 from referrer nr.1, Chapter#2 from referrer nr.2, Chapter#3 from referrer nr.3, Chapter#4 from referrer nr.4, Chapter#5 from referrer nr.5, Chapter#6 from referrer nr.6. When You will be registered You'll receive the advertising letter with the business table changed as follows:<blockquote><blockquote><p>Chapter#1...............You<br>Chapter#2...............referrer nr.1<br>Chapter#3...............referrer nr.2<br>Chapter#4...............referrer nr.3<br>Chapter#5...............referrer nr.4<br>Chapter#6...............referrer nr.5</blockquote></blockquote><p>Then You begin to send the advertising letter with such business table. I.e. Your referrals will buy the Chapter#1 from You, Chapter#2 from referrer nr.1, Chapter#3 from referrer nr.2, Chapter#4 from referrer nr.3, Chapter#5 from referrer nr.4, Chapter#6 from referrer nr.5. Your referrals nr.1 (they who will buy Chapter#1 from You) will get similarly transformed business table:<blockquote><blockquote><p>Chapter#1...............referral nr.1<br>Chapter#2...............You<br>Chapter#3...............referrer nr.1<br>Chapter#4...............referrer nr.2<br>Chapter#5...............referrer nr.3<br>Chapter#6...............referrer nr.4</blockquote></blockquote><p>Then they begin to send the advertising letter with such business table. I.e. their referrals nr.1 (Your referrals nr.2) will buy the Chapter#1 from them (from Your referrals nr.1), Chapter#2 from You, Chapter#3 from referrer nr.1, Chapter#4 from referrer nr.2, Chapter#5 from referrer nr.3, Chapter#6 from referrer nr.4. And etc...<p><font color=#000066>Thus Your referrals involve the clients to the Chapter#1 for themselves and also involve the clients to the other Chapters for You. That means that a direct task of each participant of business system 6X6 - to get as more as possible orders for Chapter#1.<p>Let's just count up how much money You will earn if each participant involves 10 referrals nr.1:<blockquote><p><div align=left><font color=red>You......................10 X $6 = $60<br>Your referrals nr.1...10 X 10 X $6 = $600<br>Your referrals nr.2...10 X 10 X 10 X $6 = $6,000<br>Your referrals nr.3...10 X 10 X 10 X 10 X $6 = $60,000<br>Your referrals nr.4...10 X 10 X 10 X 10 X 10 X $6 = $600,000<br>Your referrals nr.5...10 X 10 X 10 X 10 X 10 X 10 X $6 = $6,000,0000<p><b>Total You will earn $6,666,660!</b></blockquote><p><font color=#000066>The figure is not small and therefore You may have doubts. - Try to figure Yourself and You'll get the same result!</blockquote><tr><td height=40><tr><td><font face="verdana" size=+1><center><b>Protection against the fraud<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>The following protection was developed to exclude breaking of the system.<blockquote><p>In the advertising letter there is such business table:<blockquote><p>Chapter#1...............reg. nr. of the 1st referrer<br>Chapter#2...............reg. nr. of the 2nd referrer<br>Chapter#3...............reg. nr. of the 3rd referrer<br>Chapter#4...............reg. nr. of the 4th referrer<br>Chapter#5...............reg. nr. of the 5th referrer<br>Chapter#6...............reg. nr. of the 6th referrer</blockquote><p>The client who has received this advertising letter knows only registration numbers of the referrers from that he must buy the Chapters. He can't buy all their Chapters directly because he doesn't know their requisitions.<p>Further he registers at the main office of 6X6 MLM Corporation and gets:<blockquote><p>1) His registration number;<p>2) Addresses and bank accounts of all referrers at that he must buy the Chapters;<p>3) The advertising letter with the changed business table likes that:<p>Chapter#1...............His reg. nr.<br>Chapter#2...............reg. nr. of the 1st referrer<br>Chapter#3...............reg. nr. of the 2nd referrer<br>Chapter#4...............reg. nr. of the 3rd referrer<br>Chapter#5...............reg. nr. of the 4th referrer<br>Chapter#6...............reg. nr. of the 5th referrer</blockquote><p>buys all of the Chapters and begins to send this letter.</blockquote><p><font color=#000066>Due to this protection he can't stop the process and leave their own referrers without their profit. The process can be stopped only if their requisitions will not be in the business table. It is possible only if he will replace requisitions of all five referrers with his requisitios. But he can't do that because for this purpose it will come to register 6 times, whereas it is possible to register only once.<br>&nbsp;<tr><td height=60><tr><td><font face="verdana" size=+1><center><b>ARE YOU READY TO START WITH THE BUSINESS SYSTEM 6X6! LET'S START!<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p align=justify><font face=verdana size=2 color=red><br><blockquote><b>Attention! There is an enormous amount of referrals who enter the business system 6X6 and that's why from the 1st of September 2000 the registration costs $5.</b><font color=#000066><blockquote><blockquote><p><font color=#000066><b>WHAT YOU NEED TO DO:</b></blockquote></blockquote><p><b>a) Register at the main office of 6X6 MLM Corporation:</b><p>1) Write on a sheet of paper:<blockquote><p>1) Your name;<br>2) Your postal address for payment;<br>3) Your bank account for payment <i>(optional)</i>;<br>4) Your e-mail - write legibly and use it only for communication with the main office;<br>5) The business table which is below;<br>6) The date.</blockquote><p>2) Put $5 in this sheet of paper and send by the <b>first class mail</b> to the 6x6 MLM Corporation's main office:<blockquote><p><b>Igor Tichtchenkov, Laanemere 20-96, 13913 Tallinn, Estonia.</b></blockquote><p>3) Within one week You'll receive (via e-mail You have written in the registration form) the letter containing:<blockquote><p>1) Your registration number;<br>2) Addresses of the referrers from that You should buy the Chapters;<br>3) The advertising letter with Your registration number for mailing;<br>4) The instructions that is necessary for beginning.</blockquote><p><b>b) Buy all of the Chapters according to the business table:</b><p><center><table width="60%" border="1" cellspacing="0" cellpadding="0"><tr><td><center><b><font face=verdana color="#000066">Chapter Nr.</td><td><center><b><font face=verdana color="#000066">Referrer's reg. nr.<tr><td><center><font face=verdana color="#000066">Chapter#1</td><td><center><b><font face=verdana color="#FF0000">6x6-000000-z-001<tr><td><center><font face=verdana color="#000066">Chapter#2</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#3</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#4</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#5</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#6</td><td><center><b><font face=verdana color="#FF0000">Master 6x6</table></center><font color=red><p align=justify><b>THE NOTE! If several or even all registration numbers are "Master 6X6" - there isn't any mistake. When You join You'll be at the begining of the system and undoubtedly earn the enormous amount of money! Your chances to the success are maximal!</blockquote><tr><td height=40><tr><td><div align=justify><font face=verdana size=2>As soon as You do this, start sending the advertising letters (more detailed information about the way to do it You will find at the Chapters). In general You should involve about 30 referrals - i.e. to sell 30 Chapters #1. But the more referrals You involve the more Your profit will be!<p>Try to send 3,000 or more advertising letters per day - it is very easy to do with the special software which You'll get together with the Chapters. If You can send more - do it! Remember as many advertising letters You send the more orders You will get!<p>The entire process lasts approximately for 4 months. If You precisely follow all the rules, You undoubtedly will be the owner of several hundreds thousand dollars! We know that it will be like that and we congratulate You!!!<tr><td height=60><tr><td><font face="verdana" size=+1><center><b>And now let's start!<p><font color=#000066 size=5><b>We wish You Great Success!!!<tr>
<td height=40><tr><td bgcolor=#ffffcc>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><br><center><font face="verdana" size="1" color="#555555">Copyright © 2000 6x6 MLM Corporation. All rights reserved.</font><tr><td height=400><tr><td></table></table><center><a name="r"><table cellpadding="0" cellspacing="0" border="0" width="660"><tr><td><center><font face="verdana" size="+1"><b>Желаем Вам приятного и успешного дня!</center><div align="right"><font face="verdana" size="+2"><a href="#e"><b>In English</a><tr bgcolor="#000066"><td>&nbsp;</table><table width="660" cellpadding="0" cellspacing="0" border="0"><tr><td><table width="518" border="0" cellspacing="0" cellpadding="0"><tr><td><table width="500" cellpadding="0" cellspacing="0" border="0"><tr><td><font face="verdana" size="+1"><center><b>Это заработок без отрыва от монитора!</b></center><p><div align="justify"><br><font size="2">Если Вы проявите некоторый интерес и терпение, а главное, разберетесь, как ЭТО работает, Вы можете хорошо заработать в течение следующих 120 дней - до <b>$100.000</b> и <b>более!!!</b>, это зависит только от Вас. КАЖЕТСЯ НЕВОЗМОЖНЫМ?? Прочитайте данный документ и Вы убедитесь, что в этом нет никакой каверзы или обмана. Если Вы полный лентяй - просим прощение за предложение!!!,- то это не для Вас!!! Лучше занимайтесь серфингом или кликайте по баннерам или же не занимайтесь ничем.<p>!!!Если предложение Вас ничем не заинтересовало, приносим свои извинения и не надо сердиться. "Спам" имеет свои издержки, так же как радио и TV, но не забывайте, что сказал первый миллиардер США Дейл Карнеги:<p>"Я лучше буду зарабатывать 1% в результате усилий 100 человек, чем 100% в результате своих собственных усилий."<p><font size="3" color="#000066"><center><br><b>ВСТАНЬТЕ НА ПУТЬ К ФИНАНСОВОЙ НЕЗАВИСИМОСТИ И СВОБОДЕ!!!</table></table><td width="142" bgcolor="#000066"><table width="142" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#000066"><center><table width="125" cellpadding="0" cellspacing="0" border="0"><tr><td bgcolor="#FFFFCC"><font face="verdana" size="2"><center>Добро пожаловать в <b><font color=red>6<font color=green>X<font color=blue>6</font></font></font>!<tr><td>&nbsp;<tr><td bgcolor="#FFFFCC"><center><table width="115" cellpadding="0" cellspacing="0" border="0"><tr><td><font face="verdana" size="1">В это трудно поверить, но, тем не менее, это свершившийся факт! Люди богатеют на глазах! Некоторые даже месяцы спустя не могут оправиться от шока, пришедшего вместе с кучей хрустящих банкнот! Пока остальные раздумывают и сомневаются, поверившие в чудо Бизнес Системы 6Х6 купаются в деньгах!...</table><tr><td>&nbsp;<tr><td bgcolor="#FFFFCC"><tr><td bgcolor="#FFFFCC"><center><table width="115" cellpadding="0" cellspacing="0" border="0"><tr><td><font face="verdana" size="1">Число пользователей "всемирной паутины" растет с молниеносной быстротой. Уже сейчас только в России к сети Интернет ежедневно подключаются более 2000 человек, на Западе и в США эта цифра в несколько раз больше...</table></table></table><tr><td colspan="2"><table cellpadding="0" cellspacing="0" border="0" width="660"><tr bgcolor="#000066"><td>&nbsp;</table><br><center><font face="verdana" size="1" color="#555555">Copyright © 2000 6x6 MLM Corporation. All rights reserved.</font><table width="660" cellpadding="0" cellspacing="0" border="0"><tr><td height="60"><tr><td><font face="verdana" size=+1><center><b>ДАМЫ И ГОСПОДА!<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><font face=verdana size=+1><center><p><br><b>ПРОЧТИТЕ ЭТО ВДУМЧИВО, ВНИМАТЕЛЬНО, НЕ ОТВЛЕКАЯСЬ НА ВНЕШНИЕ ШУМЫ И РАЗДРАЖИТЕЛИ, И ВЫ ПОЙМЕТЕ, ЧТО СДЕЛАЕТ ВАС ПО-НАСТОЯЩЕМУ БОГАТЫМИ И СВОБОДНЫМИ ЛЮДЬМИ!!!<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p align=justify><br><font face=verdana size=2 color=#000066>В это трудно поверить, но, тем не менее, это свершившийся факт! Люди богатеют на глазах! Некоторые даже месяцы спустя не могут оправиться от шока, пришедшего вместе с кучей хрустящих банкнот! Пока остальные раздумывают и сомневаются, поверившие в чудо Бизнес Системы 6Х6 купаются в деньгах! В буквальном смысле слова! Вы когда-нибудь видели, как выглядит ворох сотенных купюр, под которым целиком умещается взрослый человек?! Это 100 тысяч долларов! Можете себе представить, как бы выглядела куча из миллиона долларов, которые зарабатывает каждый третий участник суперпрограммы 6Х6? А каково ощущение, когда ты, особо не утруждая себя работой, уже на второй неделе начинаешь получать конверты с шестью долларами, и чем дальше, тем больше! А, в конце концов, на 3-м, на 4-м месяце ты уже не знаешь, куда от них деваться! Даже дух захватывает от этой лавины денег!<br>&nbsp;<tr><td height=40><tr><td><font face=verdana size=2 color=#000066><center><b>ВСЕ, ЧТО ВАМ НУЖНО БУДЕТ ДЕЛАТЬ, ЭТО РАССЫЛАТЬ ГОТОВЫЕ ПИСЬМА ПО E-MAIL И ВРЕМЯ ОТ ВРЕМЕНИ ХОДИТЬ НА ПОЧТУ ИЛИ В БАНК ЗА ДЕНЬГАМИ! ВАМ ДАЖЕ НЕ НАДО НАПРЯГАТЬ СВОЙ МОЗГ – ЗА ВАС ВСЕ СДЕЛАЕТ КОМПЬЮТЕРНАЯ СУПЕР БИЗНЕС СИСТЕМА 6Х6!<p><b>С МОМЕНТА ВАШЕГО ВСТУПЛЕНИЯ В БИЗНЕС ПРИБЫЛЬ НАРАСТАЕТ, КАК СНЕЖНЫЙ КОМ, И К КОНЦУ 4-ГО МЕСЯЦА ВЫ ПОЛУЧИТЕ КАК МИНИМУМ 100.000 ДОЛЛАРОВ. А ЕСЛИ ВЫ НЕ ОСТАНОВИТЕСЬ НА ДОСТИГНУТОМ, ТО РЕЗУЛЬТАТОМ БУДУТ АСТРОНОМИЧЕСКИЕ 1.000.000 ДОЛЛАРОВ ЗА ГОД!<tr><td height=40><tr><td bgcolor=#ffffcc><p align=justify><br><font face=verdana size=2 color=#000066>“В ЧЕМ СЕКРЕТ ТАКОГО ГОЛОВОКРУЖИТЕЛЬНОГО УСПЕХА?”, – СПРОСИТЕ ВЫ. ДЕЛО В ТОМ, ЧТО В ПРОГРАММЕ 6Х6 ЗАЛОЖЕНА НОВАЯ ФОРМУЛА, КОТОРАЯ ОБЕСПЕЧИВАЕТ 100%-НЫЙ УСПЕХ ВСЕМ УЧАСТНИКАМ БИЗНЕСА ЗА СЧЕТ УЧЕТА ТАКИХ УТОНЧЕННЫХ ФАКТОРОВ, КОТОРЫЕ ЧЕЛОВЕЧЕСКИЙ МОЗГ ПРОСТО НЕ СПОСОБЕН ОХВАТИТЬ. ПОЭТОМУ ПРОГРАММА РАБОТАЕТ! И РАБОТАЕТ БЛЕСТЯЩЕ! ЭТО – ЧУДО-СИСТЕМА, В КОТОРОЙ УСПЕХ БЕЗУМНО ЗАРАЗЕН! СПЕШИТЕ ЗАРАЗИТЬСЯ И ВЫ!<br>&nbsp;<tr><td height=40><tr><td><font face="verdana" size=+1><center><b>ВНИМАНИЕ!!!<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p align=justify><br><font face=verdana size=2>В ЛАБОРАТОРИИ СОЦИОЛОГИЧЕСКИХ ИССЛЕДОВАНИЙ В США БЫЛ ПРОВЕДЕН ЭКСПЕРИМЕНТ: ПРОГРАММА 6Х6 БЫЛА ЗАПУЩЕНА 16 РАЗ В САМЫХ РАЗЛИЧНЫХ УСЛОВИЯХ И С САМЫМИ РАЗНЫМИ ЛЮДЬМИ В КАЧЕСТВЕ УЧАСТНИКОВ БИЗНЕСА, И ВСЕ 16 РАЗ ОНА ПРИНОСИЛА ОДИНАКОВЫЙ УСПЕХ, И НЕ БЫЛО НИ ОДНОГО ЧЕЛОВЕКА, КОТОРЫЙ БЫ ЧУВСТВОВАЛ СЕБЯ ОБДЕЛЕННЫМ И ОБИЖЕННЫМ. ТАКЖЕ СПЕЦИАЛИСТЫ ПРОИЗВЕЛИ НАУЧНЫЙ АНАЛИЗ ФЕНОМЕНА 6Х6 И УСТАНОВИЛИ, ЧТО, НЕСМОТРЯ НА ВНЕШНЕЕ СХОДСТВО, ПО СВОЕЙ МИКРОСТРУКТУРЕ ОНА В КОРНЕ ОТЛИЧАЕТСЯ ОТ СЕТЕВОГО МАРКЕТИНГА И ПРИВОДИТ К НЕСРАВНИМО БОЛЕЕ ВЫСОКИМ, А САМОЕ ГЛАВНОЕ – ДЕМОКРАТИЧНЫМ РЕЗУЛЬТАТАМ, Т.К. ВСЕ УЧАСТНИКИ ЭТОГО БИЗНЕСА ИМЕЮТ ДОХОД. СРЕДИ АМЕРИКАНСКИХ БИЗНЕСМЕНОВ ЭТА СУПЕРПРОГРАММА ПРОИЗВЕЛА НАСТОЯЩИЙ ФУРОР: ОНИ ПРОЗВАЛИ ЕЕ <font color=#000066><b>“DIAMOND STREAM”</b></font>, ЧТО ПЕРЕВОДИТСЯ КАК <font color=#000066><b>“АЛМАЗНЫЙ ПОТОК”</b></font>. “ПОТОК” – ПОТОМУ ЧТО ДЕНЬГИ ТЕКУТ РЕКОЙ, А “АЛМАЗНЫЙ” – ПОТОМУ ЧТО ЭТОТ УСПЕХ ТАКОЙ ЖЕ ПРОЧНЫЙ И НЕЗЫБЛЕМЫЙ, КАК АЛМАЗ!” – ОТВЕТИЛ ОДИН ИЗ БИЗНЕСМЕНОВ НА ВОПРОС КОРРЕСПОНДЕНТА “NEW-YORK TIMES”.<br>&nbsp;<tr><td height=40><tr><td bgcolor=#000066>&nbps;<tr><td bgcolor=#ffffcc><p align=justify><font face=verdana size=2 color=#000066><br>Вы никогда не задумывались, почему большинство людей ничего не достигают в жизни, а только сетуют? Да потому что они мало на что в жизни решаются. На все у них есть готовые определения, причем сформулированные не ими самими, а услышанные от других. Но иметь свое проверенное мнение – это большая роскошь и редкость. Те же, кто не боится пробовать и живет больше действиями, чем сомнениями, очень быстро оказываются на вершине мира! Да, трудно поверить, что можно так быстро разбогатеть, трудно преодолеть свои сомнения, трудно представить себя вдруг сказочно богатым. Но поверьте, если Вы это сделаете, это станет вашим благом и вашим головокружительным успехом! Вы ведь не будете спорить с тем, что Вы достойны большого успеха и большого богатства? И поэтому Вам жизненно необходимо сделать этот шаг на встречу к финансовой независимости, к которой приведет Вас сотрудничество с суперпрограммой 6Х6! Потому что ваше время настало!<br>&nbsp;<tr><td height=40><tr><td><font face="verdana" size=+1><center><b>"Пара слов о системе..." - интервью с основателем бизнес системы 6Х6, Тищенковым И.А.<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><font color=#000066><br><b>- Ввиду стремительных темпов развития сети Интернет и электронной коммерции число пользователей "всемирной паутины" растет с молниеносной быстротой. Уже сейчас только в России к сети Интернет ежедневно подключаются более 2000 человек, на Западе и в США эта цифра в несколько раз больше. С ростом числа пользователей Интернет растет и количество различного типа бизнес программ. С каждым днем они пользуются все большей популярностью и это естественно, ведь электронная коммерция - бизнес 21 века. Но бизнес система 6Х6 превосходит все остальные на несколько порядков - об этом можно судить глядя на то какой успех она приносит всем ее компаньонам. И все же в чем ее преимущество над другими бизнес программами аналогичного типа, почему она приносит успех всем ее участникам, а не только ее основателю и тем кто "стоит у истоков"?</font></b><p>- Да, Вы совершенно правы насчет стремительного развития электронной коммерции и появления большого количества бизнес систем аналогичных 6Х6.<p>Прежде чем разработать программу 6Х6 я внимательно изучил все существующие на данный момент системы и понял как они появились. Наверное все помнят те облигации, которые были так популярны у нас в 90-е годы. Так вот с развитием Интернет кто-то далекий от компьютерных технологий и знаний принципа работы "всемирной паутины" просто перенес эту программу с облигациями в сеть. Да, идея гениальна, особенно для тех времен - так Вы вряд ли найдете и 5 клиентов, в сети же можно рассылать тысячи рекламных писем. Но эта система имела множество недостатков: недокументированность того, как рассылать большое количество рекламы, где брать тысячи адресов электронной почты и т.д. Самым главным недостатком было то, что эта программа была рассчитана на слишком честных людей. В рекламном письме содержалась форма, аналогичная нашей бизнес-таблице, согласно которой вступавшие в систему должны были покупать товарные единицы системы (каждую у разного участника). Купив их они должны были ставить свои реквизиты напротив первой товарной единицы, а всех остальных сдвигать на один уровень ниже. Так как их никто не контролировал в их воле было изменять таблицу как угодно. Они открывали несколько абонентных ящиков на различные имена в разных почтовых отделениях города и ставили реквизиты этих т.н. "мертвых душ" в таблицу вместо предыдущих участников, т.е. система обрывалась. Из-за этого она работала только на 100% на первом уровне, 1% - на втором, 0,1% - на третьем и 0% - на четвертом. Практически заработок шел только с первого уровня, т.е. с прямых продаж, что при рассылке 3.000 рекламных писем в день составляло около $300 - $400 в месяц. Но суть бизнес систем такого типа - приносить максимум прибыли за счет 2-х последних уровней. Т.е. Вы рассылаете партию писем с рекламой, например, 10.000 шт., получаете 30 заказов на товарную единицу первого уровня и дальше в течение нескольких лет система работает на Вас. Но многих устраивали эти $300 - $400 в месяц, и они рассылали по 3.000 писем в день, открыв несколько абонентных ящиков и поставив свои реквизиты везде, где только можно. Так как товарные единицы по своей сути ничего не содержали, кроме названия в рекламном письме, то получалось, что работая с такой системой Вы, ко всему прочему, еще и обманывали своих клиентов.<p>Наверное, нет смысла описывать все остальные аналогичного типа бизнес системы - т.к. они в буквальном смысле являются копиями предыдущей. Да, именно так они и появились - копировалась суть и изменялись второстепенные факторы, такие как, названия товарных единиц, способы оплаты, содержание рекламного письма и т.д. О них всех можно сказать одно: все они "созданы" (если можно применить это слово к чистой воды плагиату) непрофессионалами, людьми далекими как от бизнеса вообще (что такое электронная коммерция - они и понятия не имеют!), так и от компьютерных технологий и сети Интернет. Но сама идея создать такого рода бизнес систему - гениальна. Особенно в наше время - время бурного развития сети Интернет и электронной коммерции. И если исключить недостатки, то такой системе цены нет! Вы только представьте себе чем будет Интернет хотя бы лет через пять!<p>И пусть задача была нелегкой, все же мне удалось разработать именно такую бизнес систему.<p><font color=#000066>Недокументированность того где и как находить адреса электронной почты, как на них рассылать огромное количество рекламных писем и прочие технические детали я компенсировал специально разработанными программами для автоматизации этого процесса, позволившими рассылать 5-20 тысяч рекламных писем в день, затратив всего 30-40 минут собственного времени, наиподробнейшим описанием работы с ними, написанным языком понятным для пользователя любого уровня и большим количеством советов и рекомендаций. Чем по сути убил сразу двух зайцев: значительно повысил производительность бизнес системы и сделал товарные единицы не то что полезными - просто необходимыми для участника бизнес системы (впрочем, как и для любого занимающегося рекламой в сети Интернет), т.к. именно они содержат специальные программы и описание работы с ними.<p>Нечестность участников пресек обязательной регистрацией в главной конторе 6X6 MLM Corporation (подробнее в разделе "Защита от обмана").<p>Т.к. система не обрывается, добавил еще 2 уровня, т.е. всего в системе 6 уровней (по $6 за товарную единицу каждого уровня - отсюда и название "6X6").<p>Сделал более гибкой систему оплаты заказов. Теперь товарные единицы можно оплачивать как "традиционным" заказным авиаписьмом, так и переводом на банковский счет. Но запретил указывать в качестве адреса для оплаты абонентные ящики - во-первых, для избежания обмана, во-вторых, чтобы бизнес система не теряла своей привлекательности. Исходя из таких же соображений, запретил систему оплаты WebMoney.<p>Заключил договор с iWin Loto Ltd. Так что при регистрации в нашей главной конторе Вы автоматически включаетесь в лотерею, причем Ваши шансы выиграть прямо пропорциональны количеству проданных Chapter#1.<br>&nbsp;<tr><td height=60><tr><td><font face="verdana" size=+1><center><b>Отзывы наших компаньонов<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>Всем привет! Спешу поделиться с Вами впечатлением от программы 6Х6, чтобы Вы, не дай Бог, не прошли мимо. Письмо пришло на e-mail моему мужу. Он решил повеселить меня и позвал почитать, “какую лапшу сейчас на уши вешают”. Я не особо вникла в систему, да особо и не старалась что-то понять, потому что не верила в такого рода способы заработка, т.е. не захотела заработать 100.000 долларов. Но, к моему счастью, эта цифра все крутилась в моем мозгу и не давала спать. И все-таки, в конце концов, я решила отважно броситься на письмо. К счастью, муж его еще не стер. К своему удивлению, читая 2-й раз, я все понимала. А самое главное, что я уяснила, это то, что напрягаться-то почти не надо! И времени и денежек своих тоже почти тратить не надо. К тому же меня, как и Вас, привлекло то, что все делает компьтер и что не нужно ничему учиться, т.к. алгоритм работы подробно описан в Chapter`ах! В общем, решила я, была – не была. Попробую! За две недели я разослала около 30.000 писем и решила, что с меня хватит. Через несколько дней стали приходить заказы – пришел 31 заказ на 1-ую часть и $186 до конца месяца. “Ну, - думаю, - пошло дело”. В течение следующих двух месяцев приходили еще заказы на 1 часть и пришло около 5.000 заказов на 2,3,4 и 5 части и $30.000! ОГО! Месяц спустя у меня было уже более $110.000! Ну, а потом стало совсем классно – к нынешнему моменту деньги продолжают прибывать, а у меня одна проблема – куда бы их деть?! Я думаю, фантазия у Вас работает, и Вы можете себе представить, сколько удовольствий можно доставлять себе, имея такие деньги!</p><p align=right><font face=verdana size=2>Валентина, г. Москва.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>Здравствуйте, уважаемые господа и дамы! Не так давно – полгода назад я, так же как и Вы, сидел и читал письмо, пришедшее на мой e-mail. И, как большинство из Вас, я терзался сомнениями. Хотя, если посмотреть трезво – непонятно почему. Видно, так привык человек, всего бояться и страшиться. Да, велики были глаза у моего страха, но я решил попробовать. Ведь в самом ужасном случае я ничего не потеряю, кроме нескольких часов времени, которое и так у меня тратиться бессмысленно, а только узнаю побольше о работе компьютера и его оптимизации. К тому же я подумал, что хоть одного человека я точно найду, чтобы вернуть свои $6 за первую часть. Не буду утомлять Вас подробностями. Я просто четко и досконально выполнял все правила бизнес системы 6Х6. И в течение 4-х месяцев я заработал 120.000 долларов! И это в мои 25 лет! Теперь я буду коллекционировать произведения искусства! Об этом всегда я мечтал. Ну а сейчас я еду, не смейтесь, на Мальорку в свадебное путешествие с любимой, которая не устояла перед моим богатством. Теперь – вся жизнь впереди! Красивая и счастливая, в богатстве и роскоши с 6Х6!!!</p><p align=right><font face=verdana size=2>Александр, г. Санкт-Петербург.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>В первый раз я конкретно стормозил, удалив письмо о программе 6Х6. Я еще посмеялся над тем, что кто-то вдруг станет мне слать деньги. И как же я проклинал свою недоверчивость, когда позвонил брат из Новороссийска и рассказал мне как раз об этом бизнесе и о том, какая это классная штука! Какой я дурак! Ведь я же сам мечтал стать богатым, как же еще я могу быстро разбогатеть, если не с помощью вот такого бизнеса? И когда через месяц письмо снова нашло меня, я уже был умнее. Тут же взялся за дело и разослал около 70 тысяч писем по электронной почте. Отклик был почти мгновенным (есть еще умные люди на свете!). А от Chapter`ов с описанием я вообще обалдел, особенно от последнего! Мало того что я сразу понял как работать с системой, теперь – мой Celeron 300 работает быстрее, чем Celeron 466 моего друга! Это удивительно – тратишь не больше получаса в день на работу с 6Х6 и получаешь такие деньги!!! Короче, дальше все пошло как по маслу. Ежедневно почтальон приносил по 10 - 15 конвертов, в каждом из которых по $6! Yes-s! Эта штука заработала!!! А я еще не верил! Вот, блин, пень! Прав был брателла! А что началось потом! Когда я стал продавать 2 часть, каждый день мне приносили по 20-30 конвертов с купюрами. Ну, а когда я занялся 3, 4, 5 и 6 частями, я просто не знал куда от них деваться! На прошлой неделе я купил себе новый “Lincoln Navigator”. Классный джип! Всегда мечтал о таком! В каком бы дурном настроении я ни проснулся утром, стоит мне вспомнить о моем сверкающем на солнце джипе, я начинаю чувствовать себя самым счастливым человеком на Свете! И все – благодаря суперпрограмме 6Х6!!! Пишу это с надеждой, что мой урок неверия пойдет Вам на пользу, и вы не станете, как я в первый раз, удалять из своего компьютера это письмо, которое имеет приятное свойство превращаться в неограниченное количество денег! Удачи Вам!</p><p align=right><font face=verdana size=2>Игорь, г. Волгоград.<tr><td height=40><tr><td bgcolor=#000066>&nbsp;<tr><td><p align=justify><font face=verdana size=2><br>Я сразу сердцем ощутила, что это мой шанс! Наконец-то исполнится заветная мечта моего детства – съездить в Америку! Я с удовольствием принялась участвовать в программе 6Х6. Но по началу сомневалась, удасться ли мне найти так много адресов e-mail. Однако, когда пришли Chapter`ы с описанием, то вместе с ними пришло объяснение, как легко, без всяких проблем можно найти сколько угодно адресов электронной почты. За месяц я разослала более 150.000 писем, и эффект не заставил себя долго ждать – я получила 68 заказов на первую главу! В конце концов, я заработала 170 тысяч долларов!!! Теперь я, пожалуй, переберусь в Америку на совсем. Сбылась моя голубая мечта! Спасибо, дорогая 6Х6! А еще спасибо за удивительное описание работы с системой. Желаю всем Вам стать такими же счастливыми, как и я, благодаря суперпрограмме 6Х6!</p><p align=right><font face=verdana size=2>Марина, г. Рига.<tr><td height=50><tr><td><font face=verdana size=2><b>Ждем Ваших отзывов. Присылайте их на адрес главной конторы.<tr><td height=50><tr><td><font face="verdana" size=+1><center><b>ЧТО ЖЕ ТАКОЕ 6Х6?<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>Итак, зарабатывать кучи денег, не выходя из дома! “Вот это шанс!”, – воскликните Вы, осознав, что никуда не нужно ходить, никого не нужно уговаривать, а только знай себе – посылай e-mail`ы и получай прибыль! “А что же для этого нужно делать?” – неизбежен вопрос. Для того, чтоб заработать кучу денег, а именно – 100.000 долларов и более, для начала Вам нужно будет зарегистрироваться в главной конторе 6Х6 MLM Corporation и получить свой личный регистрационный номер. Вступив в 6Х6, Вы становитесь распространителем по Интернету Chapter`ов (глав) с наиподробнейшим описанием работы с бизнес системой 6Х6 и оптимизации компьютера (подробнее о них в следующем разделе). Клиентами Вашего бизнеса становятся люди, которых эти главы заинтересуют. А главы просто не могут не заинтересовать - они содержат уникальную информацию, просто необходимую для любого, кто хочет добиться успеха в сетевом маркетинге! Кроме того, людей заинтересует сам бизнес, и все это является гарантией того, что люди непременно будут откликаться на Ваше письмо. Что это за письмо? Это – то самое письмо, которое Вы получите после регистрации в главной конторе 6Х6 MLM Corporation (отличается от письма, которое Вы сейчас читаете, присутствием Вашего регистрационного номера в бизнес-таблице). Вы просто отправляете его как можно большему количеству людей. Подробнее о том, как найти бесконечное количество e-mail`ов, автоматически разослать на них рекламное письмо и многое другое Вы узнаете непосредственно в самих главах. Если Вы думаете: “Откуда возьмется так много адресов?”, то это не стоит того, чтобы беспокоиться. Ежедневно только в России к Интернету подключаются минимум 2000 новых пользователей!!! На всех хватит! После того как Вы отправите заявку на регистрацию, Вам прийдет письмо, содержащее:<blockquote><blockquote><p>1) Ваш регистрационный номер,<p>2) Рекламное письмо с Вашим регистрационным номером в бизнес-таблице, которое Вы будете рассылать,<p>3) Реквизиты остальных участников бизнес системы 6Х6, у которых Вам необходимо заказать Chapter`ы, каждый у разного (исключение составляет только мастер) в соответствии с расшифрованной бизнес-таблицей, чтобы Вы сами имели возможность продавать их своим заказчикам.</blockquote></blockquote><p>Вместе с этим Вы получите также и дальнейшие указания программы 6Х6. Ну а то, что Вам нужно будет сделать сразу сейчас, описано ниже в виде четкого алгоритма, поэтому пока просто уловите суть. Итак, Вы обладаете всеми главами и рассылаете письмо, в котором в качестве рекламы содержится предисловие к этим удивительным главам. Прочитав его, человек, получивший от Вас письмо, непременно захочет вступить в бизнес систему 6Х6 и прочитать все главы. Но даже если вдруг он не захочет читать Chapter`ы, он наверняка заинтересуется уникальной возможностью заработать миллионы практически без всяких затрат, как по деньгам, так и по времени! Согласитесь, от этого просто невозможно отказаться! Примерно через 2 недели со дня начала рассылки Вы получите заказы на первую главу и плату за нее (в размере 6 долларов США) от 30-ти человек и более. Таким образом, Ваш первый доход составит минимум – $180. И это – только начало! При регистрации Вы будете автоматически включены в лотерею от iWin Loto - одной из самых популярных на Западе и в США компаний занимающихся лото-бизнесом, главный приз которой - $5.000.000 (также разыгрывается 5 призов по $1.000.000, 100 призов по $100.000 и более 5 тысяч фирменных футболок от 6Х6 MLM Corporation, розыгрыши проводятся каждый месяц) – чем больше Вы получите заказов на Chapter#1, тем больше шансов выиграть главный приз. Вы видите?!!! Все, что от Вас требуется, это разослать побольше рекламных писем. Вся Ваша работа будет заключаться только в том, чтобы время от времени проверять свой почтовый ящик или ходить в банк за наличными и дома, в тишине подсчитывать все нарастающую прибыль! Гарантом Вашего головокружительного успеха и надежным союзником становится самая грандиозная в мире компьютерная суперпрограмма 6Х6!!!<br>&nbsp;<tr><td height=40><tr><td><font face="verdana" size=+1><center><b>CHAPTER`Ы<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>Chapter`ы (или главы) – это подробнейшее описание бизнес системы 6Х6, советы о том как оптимально работать с системой и настроить для этого свой компьютер. Прочитав их Вы поймете как не прилагая особых усилий улучшить связь с Интернет, находить по 5-20 тыс. e-mail`ов в день, обрабатывать их, рассылать по 5-20 рекламных писем в день, повысить производительность своего компьютера на 50% и многое другое.<p>Chapter`ы написаны языком понятным для пользователя любого уровня, поэтому для работы с бизнес системой 6Х6 Вам не нужно быть программистом или иметь опыт работы с компьютером. Более того, если Вы только вчера сели за компьютер и вообще не знаете ничего о работе с ним, то прочитав внимательно главы и поработав некоторое время с бизнес системой 6Х6 Вы вскоре станете продвинутым пользователем, знающим все об операционной системе Windows и Интернете. Кроме того к каждой главе прилагается программа для работы с системой 6Х6 и некоторое количество e-mail`ов.<blockquote><blockquote><blockquote><p><b>Список Chapter`ов:</b></blockquote><p><b>Chapter#1</b> “Введение в бизнес систему 6Х6. Оптимизация интернет соединения. Рациональное использование интернет времени.”<p><i>+20.000 e-mail адресов<br>+программа для поддержки стабильного соединения с Интернет, автоматического восстановления связи при ее обрывах, дозвоне/разрыве связи в заданное время и запуске дополнительных програм при начале соединения и разрывах связи/перезвонах, и полное описание работы с программой.</i><p><b>Chapter#2</b> “Как находить 5-20 тысяч e-mail адресов в день, сидя за компьютером 30-40 минут.”<p><i>+10.000 e-mail адресов<br>+программа для автоматического включения/выключения программы для поиска e-mail`ов при соединении/разрыве связи с Интернет, подробно описанная в предыдущей главе.</i><p><b>Chapter#3</b> “Как обрабатывать найденные e-mail адреса.”<p><i>+10.000 e-mail адресов<br>+программа для автоматического поиска e-mail адресов, подробно описанная в предыдущей главе.</i><p><b>Chapter#4</b> “Как рассылать по 5-20 тысяч рекламных писем в день, сидя за компьютером все те же 30-40 минут.”<p><i>+10.000 e-mail адресов<br>+программа для быстрой обработки e-mail адресов, подробно описанная в предыдущей главе.</i><p><b>Chapter#5</b> “Алгоритм работы, или как наиболее эффективно использовать бизнес систему 6Х6.”<p><i>+80.000 e-mail адресов (!)<br>+программа для автоматической рассылки огромного количества рекламных писем с вложениями, подробно описанная в предыдущей главе.</i><p><b>Chapter#6</b> “Оптимизируем Ваш компьютер, повышаем его производительность на 50%, или как заставить Pentium 166 работать как Pentium II-300.”<p><i>+100.000 e-mail адресов (!)<br>+Серверная часть программы для автоматической рассылки огромного количества рекламных писем с вложениями, подробно описанная в 4-ой главе.</blockquote></blockquote><tr><td height=40><tr><td><font face="verdana" size=+1><center><b>ПРАВИЛА УЧАСТИЯ В ПРОГРАММЕ 6Х6<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><p><font face=verdana size=2><br><blockquote><blockquote><blockquote><b>Термины:</b></blockquote></blockquote><p><b>Мастер</b> – Тищенков Игорь Александрович, основатель бизнес системы;<p><b>реферер</b> – участник 6Х6, от которого Вы получили это письмо и у которого Вы должны заказать Chapter;<p><b>клиент</b> – хозяин e-mail, на который Вы отправляете письмо;<p><b>реферал</b> – участник 6Х6, который заказал у Вас Chapter.</blockquote><tr><td height=30><tr><td><font face="verdana" size=+1><center><b>Как работает бизнес система 6Х6<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>Для того, чтобы зарабатывать не только с прямых продаж (т.е. когда Вы сами продаете Chapter#1 свои рефералам), но и с продаж своих рефералов (т.е. когда Ваши рефералы приводят Вам покупателей на Chapter#2 - Chapter#6) была разработана следующая система – в рекламном письме содержится такая таблица (т.н. бизнес-таблица):<blockquote><blockquote><blockquote><p>Chapter#1...............реферер №1<br>Chapter#2...............реферер №2<br>Chapter#3...............реферер №3<br>Chapter#4...............реферер №4<br>Chapter#5...............реферер №5<br>Chapter#6...............реферер №6</blockquote></blockquote><p>Напротив каждого Chapter`а стоят реквизиты разных людей, т.е. Вы будете покупать Chapter#1 у реферера №1, Chapter#2 у реферера №2, Chapter#3 у реферера №3, Chapter#4 у реферера №4, Chapter#5 у реферера №5, Chapter#6 у реферера №6. Зарегистрировавшись Вы получите рекламное письмо с бизнес-таблицей, измененной следующим образом:<blockquote><blockquote><p>Chapter#1...............Вы<br>Chapter#2...............реферер №1<br>Chapter#3...............реферер №2<br>Chapter#4...............реферер №3<br>Chapter#5...............реферер №4<br>Chapter#6...............реферер №5</blockquote></blockquote><p>И начнете рассылать рекламное письмо с такой бизнес-таблицей. Т.е. Ваши рефералы будут покупать у Вас Chapter#1, у реферера №1 – Chapter#2, у реферера №2 – Chapter#3, у реферера №3 – Chapter#4, у реферера №4 – Chapter#5, у реферера №5 – Chapter#6. Ваши рефералы №1 (те, кто купят у Вас Chapter#1) при регистрации получат рекламное письмо с аналогично преобразованной бизнес-таблицей:<blockquote><blockquote><p>Chapter#1...............реферал №1<br>Chapter#2...............Вы<br>Chapter#3...............реферер №1<br>Chapter#4...............реферер №2<br>Chapter#5...............реферер №3<br>Chapter#6...............реферер №4</blockquote></blockquote><p>И начнут рассылать рекламное письмо с такой бизнес-таблицей. Т.е. их рефералы №1 (Ваши рефералы №2) будут покупать Chapter#1 у них (Ваших рефералов №1), Chapter#2 – у Вас, Chapter#3 – у реферера №1, Chapter#4 – у реферера №2, Chapter#5 – у реферера №3, Chapter#6 – у реферера №4. И т.д...<p><font color=#000066>Т.е. таким вот образом Ваши рефералы, привлекая себе клиентов на Chapter#1 будут одновременно привлекать Вам клиентов на Chapter#2 - Chapter#6. Отсюда следует, что прямой задачей каждого участника бизнес системы 6Х6 является привлечение покупателей на Chapter#1 – рефералов №1.<p>Теперь давайте просто прикинем, сколько денег Вы заработаете если каждый участник привлечет по 10 рефералов №1:<blockquote><p><div align=left><font color=red>Вы...........................10 Х $6 = $60<br>Ваши рефералы №1...10 X 10 X $6 = $600<br>Ваши рефералы №2...10 X 10 X 10 X $6 = $6.000<br>Ваши рефералы №3...10 X 10 X 10 X 10 X $6 = $60.000<br>Ваши рефералы №4...10 X 10 X 10 X 10 X 10 X $6 = $600.000<br>Ваши рефералы №5...10 X 10 X 10 X 10 X 10 X 10 X $6 = $6.000.0000<p><b>Т.е. всего Вы заработаете $6.666.660!</b></blockquote><p><font color=#000066>Цифра не малая и возможно поэтому у Вас возникнут сомнения. - Вникните в рассчеты и в суть работы системы, просчитайте все сами и Вы получите тот же результат!</blockquote><tr><td height=40><tr><td><font face="verdana" size=+1><center><b>Защита от обмана<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><div align=justify><font face=verdana size=2><br>Для того, чтобы исключить обрываемость системы была разработана следующая защита:<blockquote><p>В рекламное письмо помещается такая бизнес-таблица:<blockquote><p>Chapter#1...............регистр. номер реферера №1<br>Chapter#2...............регистр. номер реферера №2<br>Chapter#3...............регистр. номер реферера №3<br>Chapter#4...............регистр. номер реферера №4<br>Chapter#5...............регистр. номер реферера №5<br>Chapter#6...............регистр. номер реферера №6</blockquote><p>Т.е. клиент к которому пришло это рекламное письмо знает только регистрационные номера рефереров у которых он должен купить Chapter`ы. Купить все Chapter`ы у них напрямую в данный момент он не может так как не знает их реквизитов.<p>Далее он регистрируется в главной конторе 6Х6 MLM Corporation и получает:<blockquote><p>1) Cвой регистрационный номер.<p>2) Адреса всех рефереров, у которых должен купить Chapter#1 - Chapter#6.<p>3) Рекламное письмо для рассылки с измененной бизнес-таблицей следующего вида:<p>Chapter#1...............регистр. номер данного клиента<br>Chapter#2...............регистр. номер реферера №1<br>Chapter#3...............регистр. номер реферера №2<br>Chapter#4...............регистр. номер реферера №3<br>Chapter#5...............регистр. номер реферера №4<br>Chapter#6...............регистр. номер реферера №5</blockquote><p>покупает все Chapter`ы и начинает рассылку.</blockquote><p><font color=#000066>Благодаря этой защите, он просто не может оборвать цепь и оставить своих рефереров без причитающейся им прибыли. Ведь цепь может оборваться только тогда, когда их реквизитов не будет в бизнес-таблице. Что возможно, только если он заменит реквизиты всех пяти рефереров своими реквизитами. Чего он сделать просто не может, т.к. для этого ему придется зарегистрироваться еще пять раз, тогда как регистрироваться можно только один раз.<br>&nbsp;<tr><td height=60><tr><td><font face="verdana" size=+1><center><b>ВЫ ГОТОВЫ НАЧАТЬ БИЗНЕС С 6Х6?!<br>ИТАК, ПРИСТУПАЕМ!<br>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td bgcolor=#ffffcc><p><font face=verdana size=2 color=red><br><blockquote><b>Внимание! В связи с огромным притоком рефералов с 1/IX-2000 регистрация стала платной и стоит 5 долларов США.</b><font color=#000066><blockquote><blockquote><p><font color=#000066><b>ЧТО ВАМ НЕОБХОДИМО СДЕЛАТЬ:</b></blockquote></blockquote><p><b>а) Зарегистрируйтесь в главной конторе 6Х6 MLM Corporation:</b><p>1) Напишите на листе бумаги (<font color=red><b>английскими буквами</b></font>):<blockquote><p>1) Ваши Ф.И.О.,<br>2) Почтовый адрес для оплаты,<br>3) Банковские реквизиты для оплаты <i>(необязательно)</i>,<br>4) Ваш e-mail - пишите разборчиво и в дальнейшем используйте его только для связи с главной конторой 6Х6,<br>5) Находящуюся ниже бизнес-таблицу в регистрационно-номерном виде,<br>6) Дату отправления письма.</blockquote><p>2) Вложите в него $5 и отправьте по почте <b>заказным авиаписьмом</b> на адрес главной конторы 6x6 MLM Corporation:<blockquote><p><b>Igor Tichtchenkov, Laanemere 20-96, 13913 Tallinn, Estonia.</b></blockquote><p>3) В течение недели Вам прийдет (на e-mail, который Вы указали в регистрационной форме) письмо, содержащее:<blockquote><p>1) Ваш регистрационный номер.<br>2) Адреса всех рефереров, у которых Вы должны купить Chapter`ы.<br>3) Рекламное письмо с измененной бизнес-таблицей, содержащей Ваш регистрационный номер, которое Вы будете рассылать.<br>4) Необходимые для начала работы инструкции.</blockquote><p><b>б) Сразу купите Chapter`ы в соответствии с бизнес-таблицей:</b><p><center><table width="60%" border="1" cellspacing="0" cellpadding="0"><tr><td><center><b><font face=verdana color="#000066">Глава №</td><td><center><b><font face=verdana color="#000066">Рег. № Реферера<tr><td><center><font face=verdana color="#000066">Chapter#1</td><td><center><b><font face=verdana color="#FF0000">6x6-000000-z-001<tr><td><center><font face=verdana color="#000066">Chapter#2</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#3</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#4</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#5</td><td><center><b><font face=verdana color="#FF0000">Master 6x6<tr><td><center><font face=verdana color="#000066">Chapter#6</td><td><center><b><font face=verdana color="#FF0000">Master 6x6</table></center><font color=red><p align=justify><b>ПРИМЕЧАНИЕ! Если в бизнес-таблице несколько или даже все регитрационные номера - Master 6x6, то никакой ошибки в этом нет, просто Вам повезло т.к. присоединившись Вы будете в самом начале бизнес системы - т.е. Ваши шансы на успех максимальны.</blockquote><tr><td height=40><tr><td><div align=justify><font face=verdana size=2>Как только Вы это сделаете сразу начинайте рассылку. Подробнее об этом Вы узнаете непосредственно из Chapter`ов. Всего Вам желательно привлечь около 30 рефералов №1 - т.е. продать 30 Chapter#1. Хотя чем больше Вы их привлечете, тем больше прибыли получите.<p>Постарайтесь рассылать не менее 3.000 рекламных писем в день (со специальными программами, которые Вы получите вместе с Chapter`ами, не составит труда рассылать и по 20.000 писем в день). Если можете больше, рассылайте больше (подробнее в Chapter#5).<p>О дальнейших шагах Вы узнаете в Chapter`ах. Весь процесс растягивается примерно на 4 месяца со дня начала бизнеса. Если Вы будете четко следовать всем правилам, то вне всяких сомнений будете обладателем нескольких сотен тысяч долларов! Мы знаем, что это будет именно так, и нам остается только поздравить Вас!<tr><td height=60><tr><td><font face="verdana" size=+1><center><b>А теперь за дело!<p><font color=#000066 size=5><b>Желаем Вам огромных успехов!!!<tr><td height=40><tr><td bgcolor=#ffffcc>&nbsp;<tr><td bgcolor=#000066>&nbsp;<tr><td><br><center><font face="verdana" size="1" color="#555555">Copyright © 2000 6x6 MLM Corporation. All rights reserved.</font></table></table></center></body></html>



From dyfet@ostel.com Thu Jul 05 02:26:29 2001
Received: from [63.124.177.154] (helo=home.sys)
	by fencepost.gnu.org with smtp (Exim 3.16 #1 (Debian))
	id 15I2aq-0001CL-00
	for <bug-commoncpp@gnu.org>; Thu, 05 Jul 2001 02:26:28 -0400
Received: from ostel.com (home.sys [172.16.1.254])
	by home.sys (Postfix) with ESMTP
	id 8E066A3024; Thu,  5 Jul 2001 02:25:55 -0400 (EDT)
Message-ID: <3B440873.2090401@ostel.com>
Date: Thu, 05 Jul 2001 02:25:55 -0400
From: David Sugar <dyfet@ostel.com>
Organization: OST
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-9mdk i686; en-US; m18) Gecko/20001013
X-Accept-Language: en
MIME-Version: 1.0
To: Paul Marculescu <mpaul@gecadsoftware.com>
Cc: common c++ <bug-commoncpp@gnu.org>
Subject: Re: problem with Socket
References: <3B435FAF.5EF01660@gecadsoftware.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

I would like to do a model Exception class in Common C++ for reasons like 
this.  The current exception model does allow the setException method to 
change exception handling from THROW_OBJECT to something else, but the 
something else does not exist as yet.

David

Paul Marculescu wrote:

> Hi!
> 
> I just discovered a problem in class Socket.
> I made a server which sends a salute message when a client connects.
> 
> But it crashed when the computer was scanned, because, the scanner (
> nmap ) closed the connection to quickly and there wasn't enough time to
> construct a TCPSession. In fact the Socket from which the TCPSession
> should be constructed didn't make it out of the constructor, because the
> fd was invalid. So it tried to throw (Socket*)(this) but "this" wasn't
> constructed so it crashed.
> 
> I made a little exception class and replaced the throw in
> Socket::Socket( int ).
> 
> Any other suggestions?
> 
> 
> 
> --
> Paul Marculescu
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



From owen@juicenetworks.net Mon Jul 09 17:44:06 2001
Received: from trest.com ([209.132.91.55])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15Jip4-0007vR-00
	for <bug-commoncpp@gnu.org>; Mon, 09 Jul 2001 17:44:06 -0400
Received: from juicenetworks.net (cust-P5-R13-26.POOL.ESR.SJO.wwc.com [206.112.124.26])
	by trest.com (8.11.0/8.11.0.Custom) with ESMTP id f69LZeb28744
	for <bug-commoncpp@gnu.org>; Mon, 9 Jul 2001 14:35:41 -0700
Message-ID: <3B4A2586.9B446226@juicenetworks.net>
Date: Mon, 09 Jul 2001 14:43:34 -0700
From: Wallace Owen <owen@juicenetworks.net>
Organization: Juice Networks
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2smp i686)
X-Accept-Language: en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Subject: Patch to add disabling Nagle algorithm
Content-Type: multipart/mixed;
 boundary="------------FCF389926B01B88395A40588"
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

This is a multi-part message in MIME format.
--------------FCF389926B01B88395A40588
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here's a patch to socket.h and socket.cpp to add the ability to set
TCP_NODELAY on and off.  I've never used Windows, so I can't be trusted
to write the Windows version of this.  Hopefully it's trivial.


  // Wally, avid user, puzzled docs reader
--------------FCF389926B01B88395A40588
Content-Type: text/plain; charset=us-ascii;
 name="CommonNagle.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="CommonNagle.patch"

diff -r CommonC++-1.5.0/posix/socket.cpp CommonC++-1.5.0-withnagleopt/posix/socket.cpp
51a52
> #include <netinet/tcp.h>
337a339,349
> 	return SOCKET_SUCCESS;
> }
> 
> sockerror_t Socket::setNoDelay(bool enable)
> {
> 	int opt = (enable ? 1 : 0);
> 
> 	if(setsockopt(so, IPPROTO_TCP, TCP_NODELAY, 
> 		      (char *)&opt, (socklen_t)sizeof(opt)))
> 		return Error(SOCKET_NODELAY_ERROR);
> 
diff -r CommonC++-1.5.0/posix/socket.h CommonC++-1.5.0-withnagleopt/posix/socket.h
112a113
> 	SOCKET_NODELAY_ERROR,
565a567,575
> 
> 
> 	/**
> 	 * Enable/disable delaying packets (Nagle algorithm)
> 	 *
> 	 * @return 0 on success.
> 	 * @param disable Nagle algorithm when set to true.
> 	 */
> 	sockerror_t setNoDelay(bool enable);


--------------FCF389926B01B88395A40588--



From owen@juicenetworks.net Mon Jul 09 18:04:25 2001
Received: from trest.com ([209.132.91.55])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15Jj8j-00008q-00
	for <bug-commoncpp@gnu.org>; Mon, 09 Jul 2001 18:04:25 -0400
Received: from juicenetworks.net (cust-P5-R13-26.POOL.ESR.SJO.wwc.com [206.112.124.26])
	by trest.com (8.11.0/8.11.0.Custom) with ESMTP id f69LuGb28897
	for <bug-commoncpp@gnu.org>; Mon, 9 Jul 2001 14:56:16 -0700
Message-ID: <3B4A2A5A.C41C2D0E@juicenetworks.net>
Date: Mon, 09 Jul 2001 15:04:10 -0700
From: Wallace Owen <owen@juicenetworks.net>
Organization: Juice Networks
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.2-2smp i686)
X-Accept-Language: en
MIME-Version: 1.0
To: CommonC++ mail <bug-commoncpp@gnu.org>
Subject: Better patch to add disabling Nagle algorithm
Content-Type: multipart/mixed;
 boundary="------------E9563249A43AFF164F117098"
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

This is a multi-part message in MIME format.
--------------E9563249A43AFF164F117098
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Here's that same patch, in unified diff format (all the better for
patch).  Sorry about the last one.


  // Wally
--------------E9563249A43AFF164F117098
Content-Type: text/plain; charset=us-ascii;
 name="CommonNagle.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="CommonNagle.patch"

diff -r -u CommonC++-1.5.0/posix/socket.cpp CommonC++-1.5.0-withnagleopt/posix/socket.cpp
--- CommonC++-1.5.0/posix/socket.cpp	Wed Jun 27 06:50:25 2001
+++ CommonC++-1.5.0-withnagleopt/posix/socket.cpp	Mon Jul  9 13:27:31 2001
@@ -49,6 +49,7 @@
 #include <fcntl.h>
 #include <errno.h>
 #include <cstdlib>
+#include <netinet/tcp.h>
 #include <strstream>
 
 #ifdef	WIN32
@@ -335,6 +336,17 @@
 		return Error(SOCKET_ROUTING_DENIED);
 #endif
 	flags.route = enable;
+	return SOCKET_SUCCESS;
+}
+
+sockerror_t Socket::setNoDelay(bool enable)
+{
+	int opt = (enable ? 1 : 0);
+
+	if(setsockopt(so, IPPROTO_TCP, TCP_NODELAY, 
+		      (char *)&opt, (socklen_t)sizeof(opt)))
+		return Error(SOCKET_NODELAY_ERROR);
+
 	return SOCKET_SUCCESS;
 }
 
diff -r -u CommonC++-1.5.0/posix/socket.h CommonC++-1.5.0-withnagleopt/posix/socket.h
--- CommonC++-1.5.0/posix/socket.h	Wed Jun 27 06:49:38 2001
+++ CommonC++-1.5.0-withnagleopt/posix/socket.h	Mon Jul  9 13:25:49 2001
@@ -110,6 +110,7 @@
 	SOCKET_SERVICE_UNAVAILABLE,
 	SOCKET_MULTICAST_DISABLED,
 	SOCKET_TIMEOUT_ERROR,
+	SOCKET_NODELAY_ERROR,
 	SOCKET_EXTENDED_ERROR
 } sockerror_t;
 
@@ -563,6 +564,15 @@
 	 * @param enable normal routing when set to true.
 	 */
 	sockerror_t setRouting(bool enable);
+
+
+	/**
+	 * Enable/disable delaying packets (Nagle algorithm)
+	 *
+	 * @return 0 on success.
+	 * @param disable Nagle algorithm when set to true.
+	 */
+	sockerror_t setNoDelay(bool enable);
 
 	/**
 	 * An unconnected socket may be created directly on the local

--------------E9563249A43AFF164F117098--



From nconway@klamath.dyndns.org Thu Jul 12 15:28:27 2001
Received: from cr1006145-a.bloor1.on.wave.home.com ([24.102.202.35] helo=klamath.dyndns.org)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15Km8R-0008AH-00
	for <bug-commoncpp@gnu.org>; Thu, 12 Jul 2001 15:28:27 -0400
Received: from klamath.dyndns.org (localhost.yec1.on.wave.home.com [127.0.0.1])
	by klamath.dyndns.org (Postfix) with SMTP id 052A93F
	for <bug-commoncpp@gnu.org>; Thu, 12 Jul 2001 15:28:24 -0400 (EDT)
Received: from 159.33.2.50
        (SquirrelMail authenticated user nconway)
        by klamath.dyndns.org with HTTP;
        Thu, 12 Jul 2001 15:28:24 -0400 (EDT)
Message-ID: <5359.159.33.2.50.994966104.squirrel@klamath.dyndns.org>
Date: Thu, 12 Jul 2001 15:28:24 -0400 (EDT)
Subject: socket question
From: "Neil Conway" <nconway@klamath.dyndns.org>
To: bug-commoncpp@gnu.org
Reply-To: neilconway@home.com
X-Mailer: SquirrelMail (version 1.0.6)
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Hi,

I'm attempting to maintain an older C++ in-house application that was 
written using Common C++. I'm now using v1.5.0 of the library (because 
it works with gcc296), although previously the application used an 
older version of Common C++.

When I attempt to compile this application, I get this error:

----------------
tsession.cc: In method `TickerSession::TickerSession (cc_TCPSocket &, 
cc_SocketService *, TickerClients *)':
tsession.cc:41: `SOCKET_COMPLETION_DELAYED' undeclared (first use this 
function)
----------------

The code in question is:

----------------
// Set up non-blocking reads
setCompletion( SOCKET_COMPLETION_DELAYED );
----------------

Taking a look at socket.h in v1.4.3 of Common C++, I see this code:

----------------
 /**
  *  used to enumerate type of socket I/O blocking - or non blocking
  */

typedef enum
{
        SOCKET_COMPLETION_IMMEDIATE,
        SOCKET_COMPLETION_DELAYED
} sockcomplete_t;
----------------

However, this code has been removed in v1.5.0 and the copy I checked 
out of CVS. Strangely, the comment 'used to enumerate...' is still 
there -- only the code has been removed.

Can you tell me how to fix this? Is socket non-blocking I/O done in a 
different fashion now? (If it is, the comment should be removed as it 
is mis-leading). If that's the case, what modifications to my code are 
necessary? If that's NOT the case, why was the code removed?

Since I'm not the original author, I'd prefer a solution which involves 
modifying as little code as possible: this application is somewhat 
fragile and I don't have time to rewrite it at the moment.

(If you respond, could you please CC: me -- I'm not subscribed. Thanks).

Thanks in advance for ANY responses,

Neil Conway



From fmonpou@cafie.us.es Fri Jul 13 05:38:39 2001
Received: from cafie.us.es ([193.147.175.27])
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15KzPC-0001Bu-00
	for <bug-commoncpp@gnu.org>; Fri, 13 Jul 2001 05:38:39 -0400
Received: from INFORMAT-Message_Server by cafie.us.es
	with Novell_GroupWise; Fri, 13 Jul 2001 11:38:41 +0200
Message-Id: <sb4eddc1.077@cafie.us.es>
X-Mailer: Novell GroupWise 5.5
Date: Fri, 13 Jul 2001 11:38:08 +0200
From: "FEDERICO MONTESINO POUZOLS" <fmonpou@CAFIE.US.ES>
To: <bug-commoncpp@gnu.org>
Cc: <nconway@klamath.dyndns.org>
Subject: Rem.: socket question
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="=_6D3715B1.C2A3CF23"
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

This is a MIME message. If you are reading this text, you may want to 
consider changing to a mail reader or gateway that understands how to 
properly handle MIME multipart messages.

--=_6D3715B1.C2A3CF23
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

=20
--=_6D3715B1.C2A3CF23
Content-Type: message/rfc822

Date: Fri, 13 Jul 2001 11:31:12 +0200
From: "FEDERICO MONTESINO POUZOLS" <fmonpou@CAFIE.US.ES>
To: <neilconway@home.com>
Subject: Re.: socket question
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Hi, maybe the ChangeLog is your solution:

>From Common C++ 1.4.3 to 1.5.0
.....
- setCompletion now bool and in socket "flags"


	Quoting from the 1.5 doc:

A socket can be made non-blocking by setting
setCompletion(false) or set to block on all=20
access with setCompletion(true).

	That is,
setCompletion( SOCKET_COMPLETION_DELAYED );
	should be replaced with
setCompletion(true);


	Perhaps, the old comment should be=20
deleted from socket.h



--=_6D3715B1.C2A3CF23--


From teo@gecadsoftware.com Sun Jul 15 11:23:48 2001
Received: from antares.gecadsoftware.com ([193.230.167.76])
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15LnkI-0004Vy-00
	for <bug-commoncpp@gnu.org>; Sun, 15 Jul 2001 11:23:47 -0400
Received: (qmail 13777 invoked from network); 15 Jul 2001 15:25:09 -0000
Received: from unknown (HELO taz.gecadsoftware.com) (193.230.245.17)
  by antares.gecadsoftware.com with SMTP; 15 Jul 2001 15:25:09 -0000
Received: from teo.gecadsoftware.com ([193.230.245.169]) by taz.gecadsoftware.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13)
	id 32Q4L0SX; Sun, 15 Jul 2001 18:21:04 +0300
Received: (qmail 10474 invoked by uid 500); 15 Jul 2001 15:20:33 -0000
Date: Sun, 15 Jul 2001 18:20:33 +0300
From: teo@gecadsoftware.com
To: bug-commoncpp@gnu.org
Subject: [bug] BOF condition in keydata.cpp
Message-ID: <20010715182033.A10427@gecadsoftware.com>
Reply-To: teo@gecadsoftware.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.15i
Organization: GeCAD Software
Comment: Worry less, RAV is watching!
X-Operating-System: Linux 2.2.16 i686 up 1 day, 20:12
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

There is a security issue in Keydata::Load, where a fixed length 
buffer is used to copy something from environment.


void Keydata::Load(const char *keypath, const char *environment)
{
        char path[512];
        char seek[33];
        char find[33];
        const char *prefix = NULL;
        char *cp, *ep;
        int fpos;

        if(*keypath == '~')
        {
                prefix = getenv("HOME");
                strcpy(path, prefix);

       // here HOME env var can be poisoned.

also following there are more unchecked strcpy()s


thanks for the cool CommonC++ though :) it helped me to write a 
multithreaded server in a very short time and left me more time
to focus on my exercise.
 

best regards,
    
--
Teodor Cimpoesu

Software Developer, GeCAD Software
http://www.ravantivirus.com


From dtj79@hotmail.com Sun Jul 15 18:37:16 2001
Received: from delysid.gnu.org ([158.121.106.20])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15LuVo-00078s-00
	for <bug-commoncpp@gnu.org>; Sun, 15 Jul 2001 18:37:16 -0400
Received: from nic-41-c140-174.mn.mediaone.net ([66.41.140.174] helo=hotmail.com)
	by delysid.gnu.org with smtp (Exim 3.20 #1)
	id 15LuVn-0004je-00
	for <bug-commoncpp@gnu.org>; Sun, 15 Jul 2001 18:37:16 -0400
From: "Daniel" <dtj79@hotmail.com>
To: <bug-commoncpp@gnu.org>
Mime-Version: 1.0
Content-Type: text/html; charset="ISO-8859-1"
Date: Sun, 15 Jul 2001 17:37:58 -0500
Content-Transfer-Encoding: 8bit
Message-Id: <E15LuVn-0004je-00@delysid.gnu.org>
Subject: (no subject)
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>


From mma@e-wideweb.com Mon Jul 16 16:48:30 2001
Received: from delysid.gnu.org ([158.121.106.20])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15MFI5-0001nX-01
	for <bug-commoncpp@gnu.org>; Mon, 16 Jul 2001 16:48:30 -0400
Received: from dclient116-28.hispeed.ch ([62.2.116.28] helo=localhost)
	by delysid.gnu.org with smtp (Exim 3.20 #1)
	id 15MF0b-0005IR-00
	for <bug-commoncpp@gnu.org>; Mon, 16 Jul 2001 16:30:27 -0400
Message-ID: <205232001711685046517@e-wideweb.com>
X-EM-Version: 4, 5, 0, 0
X-EM-Registration: #30C3410514B417038530
Reply-To: mma@e-wideweb.com
From: "Urs Stettler" <mma@e-wideweb.com>
To: "bug-commoncpp@gnu.org" <bug-commoncpp@gnu.org>
Subject: WARNING!!! DON'T READ THIS IF YOU DON'T LIKE MONEY
Date: Mon, 16 Jul 2001 10:50:46 +0200
MIME-Version: 1.0
Content-type: text/plain; charset=iso-8859-1
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

WOW THIS REALLY WORKS!!!

Dear Friend & Future Millionaire:

AS SEEN ON NATIONAL TV:
Making over half a million dollars every 4-5 months from your home for 
an investment of only $25 U.S. Dollars expense one time.
THANKS TO THE COMPUTER AGE AND THE INTERNET!!
============================================
BE A MILLIONAIRE LIKE THE OTHERS WITH IN A YEAR!!!
Before you say "BULL" please read the following. This is the letter you
have beeen hearing about on the news lately. Due to the populartity of
this letter on the inernet , A national weekly news program recently 
devoted an entire show to the investigation of this program described
below, to see
if it really can make people money. The show also investigated wheather 
or not the program was legal. Their findings proved once and for all that
there are absolutely NO LAWS
prohibiting the participation in the program and if people can follow the 
simple instrucyions, they are bound to make some mega bucks with only
$25 out of pocket cost". DUE TO THE RECENT INCREASE OF 
POPULARITY & RESPECT THIS PROGRAM HAS ATTANED,
IT IS CURRENTLY WORKING BETTER THAN EVER.
This is what one had to say:"Thanks to this profitable opportunity, I
was approached many times before but each time I pased on it. I am 
so glad I finally joined to see what one could expect in return for the
minimal effort and money required. To my astonishment, I recieved total
$610,470.00 in 21 weeks, with money still comming in."
Pam Hedland, Fort Lee New Jersey.
============================================
Here is another testimonial:  "This program has been around for a long
time but I never believed in it. But one day when I recieved this again 
in the mail I decided to gamble my $25 on it. I followed the simple 
instructions and walaa.....3 weeks later the money started to come in.
First month I only made $240.00 but the next two months I made 
a total of $290,000.00. So far in the past 8 months by re-entering the 
program, I have made over $710,000.00 and I am playing it again. The
key to success in this program is to follow the the simple steps and NOT 
change anything." More testimonials later but first.

=====PRINT THIS NOW FOR YOUR FUTURE REFERANCE=========
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
If you would like to make at least $500,000 every 4 to 5 months easily and
comfortably, please read the following...THEN READ IT AGAIN and 
AGAIN!!!
$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
FOLLOW THE SIMPLE INSTRUCTIONS BELOW AND YOUR 
FINANCIAL
DREAMS WILL COME TRUE, GUARANTEED! 
 
INSTRUCTIONS
=====Order all 5 reports shown on the list below=====
For each report, send $5 CASH ,THE NAME & NUMBER OF THE 
REPORTYOU ARE ORDERINGand YOUR E-MAIL ADDRESS to the person 
whose name appears ON THAT LIST next to the report. MAKE SURE YOUR 
RETURN ADDRESS IS ON THE ENVELOPE TOP LEFT CORNER in case of any 
mail problems.
===When you place your order, make sure you order each of the 5 reports.
You will need all 5 reports so that you can save them on your computer
and resell them. YOUR TOTAL COST $5 X 5=$25.00.
Within a few days you will recieve, via e-mail, each of the five reports
from 
these 5 different individuals. Save them on your computer so they will be
accessible for you to send to the 1000's of people who will order them
from you. Also make a floppy of these reports and keep it on your desk in
case something happens to your computer.

IMPORTANT-DO NOT  alter the names of the peple who are listed next
to each report, or their sequence on the list, in any way, other than what
is
instructed below in step "1 through 6" or you will lose out on the majority
of your porfits, Once you understand the way this works you will also see
how it does not work if you change it. Remember, this method has been 
tested, and if you alter it, it will NOT work!!! People have tried to put
there
friends/relatives names on all five thinking they could get all the money. 
But it does not work this way. Believe us, we have all tried to be greedy
and 
then nothing happened. So DO NOT try to change anything other than what is 
instructed. Because if you do it will not work for you.
Remember, honesty reaps the reward!!!!

1....After you have ordered all 5 reports , take this advertisement and
REMOVE the name & address of the person in REPORT # 5. This person 
has made it through the cycle and is no doubt counting there fortunes.
2.... Move the name & address in REPORT #4 down To REPORT #5.
3.... MOVE the name & address in REPORT #3 down To REPORT #4.
4.... MOVE the name & address in REPORT #2 down To REPORT #3.
5.... MOVE the name & address in REPORT #1 down To REPORT #2.
6.... Insert YOUR name & address in the REPORT #1 Position. PLEASE 
MAKE SURE you copy every name & address ACCURATELY!
==============================================
**** Take this entire letter ,with the modified list of names, and save it
on 
your computer. DO NOT MAKE ANY OTHER CHANGES.
Save this on a disk as well just in case if you loose any data. To assist
you with
marketing your business on the internet, the 5 reports you purchase will 
provide you with invaluable marketing information which includes how to
send 
bulk e-mails legally, where to find thousands of free classified ads and
much 
more.
.
There are 2 Primary methods to get this venture going:
METHOD # 1: BY SENDING BULK E-MAIL LEGALLY
================================================
Let's say that you decide to start small, just to see how it goes, and we
will
assume You and those involved send out only 5,000 e-mails each. Let's
also assume that the mailing recieve only a 0.2% response (the response
could be much better but lets just say it is only 0.2% also many people
will send out hundreds of thousands of e-mails instead of only 5,000 each).
Continuing with this example , you send out only 5,000 e-mails. With a 
0.2% response, that is only 10 orders for report #1. Those 10 people
responded 
by sending out 5,000 e-mails each for a total of 50,000. Out of those 
50,000 e-mails only 0.2% responded with orders. That = 100 people responded 
and ordered Report #2.

Those 100 people mail out 5,000 e-mails for a total of 500,000 e-mails.
The 0.2% response to that is 1000 orders for Report #3.
Those 1000 people send out 5,000 e-mails each for a total of 5 million e-
mails sent out. The 0.2% response to that is 10,000 orders for Report #4.
Those 10,000 people send out 5,000 e-mails  each for a total of 
50,000,000 (50 million) e-mails. The 0.2% response to that is 100,000
orders for Report
#5 THAT'S 100,000 ORDERS TIMES $5 EACH=$555,000 ( half million).

Your total income in this example is: 1.....$50 + 2.....$500 + 3.....$5,000
+ 
4.....$50.000 + 5.....$500,000.......Grand Total=$555,550.00

NUMBERS DONT LIE. GET A PENCIL & PAPER AND FIGURE IT OUT
THE WORST POSSIBLE RESPONSES AND NO MATTER HOW YOU
CALCULATE IT, YOU WILL STILL MAKE A LOT OF MONEY!!
================================================
REMEMBER FRIEND THIS IS ASSUMING ONLY 10 PEOPLE 
ORDER OUT OF 5,000 YOU MAILED TO.
Dare to think  for a monment what would happen if everyone or half or 
even one 4th of those people 100,000 e-mails each or more? There are 
over 150million people on the internet worldwide and counting. Believe 
me, many people will do just that, and more!

METHOD #2 : BY PLACING FREE ADS ON THE INTERNET
================================================
ADVERTISING ON THE NET IS VERY VERY INEXPENSIVE and there 
are hundreds of FREE places to advertise. Placing a lot of free ads on the
internet will 
easily get a larger response. We strongly suggest you start with Method# 
1 and add Method #2 as you go along . For every $5 you recieve , all you
have to do is e-mail them the Report they ordered. That's it. Always 
provide same day service on all orders.
This will guarantee that the e-mail they send out, with your name and 
address on it, will be prompt because they can not advertise until they 
recieve the report.
===========AVAILABLE REPORTS========================
ORDER EACH REPORT BY ITS NUMBER & NAME ONLY. Notes:
Always send $5 cash (U.S. CURRENCY) for each Report. Checks NOT
accepted. Make sure the cash is concealed by rapping it in at least 2 
sheets of paper. On one of those sheets of paper, Write the NUMBER & the 
NAME of the report you are ordering, YOUR E-MAIL ADDRESS and your name
and postal address.
PLACE YOUR ORDER FOR THESE REPORTS NOW:
================================================
REPORT # 1:" the Insider's Guide to Advertising for Free on the Net"
Order Report #1 from:

U. Stettler
Langackerstr. 165
CH-8704 Herrliberg
Switzerland
____________________________________________________________
REPORT #2" The Insider's Guide to Sending Bulk e-mail on the Net"
Order Report #2 from:

B. Collins
155 East Beaver Creek Rd.
Unit 24, Suite 235
Richmond Hill, Ontario
L4B 2N1
Canada 
____________________________________________________________
REPORT #3:" Secret to Multilevel marketing on the net"
Order Report #3 from:


R.Robinson
14612 Friar st.#5
VanNuys CA, 91411
USA

_____________________________________________________________
REPORT #4:" How to Become a Millionaire Utilizing MLM & the Net"
Order Report #4 from:


Randall Williams 
401 Stocks Dairy Road 
Leesburg Georgia 31763 
USA 

____________________________________________________________
REPORT #5: "How to Send Out One Million e-mails for Free"
Order Report #5 from:

Dario Va 
16541 Blatt Blvd #206 
Weston, FL 33326 
U.S.A. 
_____________________________________________________________   
$$$$$$$$$YOUR SUCCESS GUIDELINES$$$$$$$$$$$$$$$$$
Follow these guildelines to guarantee your success:
===If you do not receive at least 10 orders for Report #1 within 2 
weeks, continue sending e-mails until you do.
===After you have recieved 10 orders, 2 to 3 weeks after that you
should receive 100 orders  or more for REPORT #2. If you did not,
continue advertising or sending e-mails untill you do.
===Once you received 100 or more orders for Report #2, YOU 
CAN RELAX, because the system is already working for you, and the 
cash will continue to roll in! THIS IS IMPORTANT TO REMEMBER:
every time your name is moved down the list, you are placed in front 
of a different report.

You can KEEP TRACK of your PROGRESS by watching which report 
people are ordering from you. IF YOU WANT TO GENERATE MORE 
INCOME SEND ANOTHER BATCH OF E-MAILS AND START
THE WHOLE PROCESS AGAIN.
There is NO LIMIT to the income you can generate from this business!!!
================================================
FOLLOWING IS A NOTE FROM THE ORIGINATOR OF THIS 
PROGRAM:
You have just received information that can give you finiancial freedom for 
the rest of your life, with NO RISK and just A LITTLE BIT OF EFFORT.you 
can make more money in the next few weeks and months than you ever
imagined. 
follow the program EXACTLY AS INSTRUCTED. Do Not change it in any way. It
works
exceedingly well as it is now. Remember to e-mail a copy of this exciting
report after you have put 
your name and address in the Report #1 and moved the others to 
#2.......#5 as instructed above. One of the peole you send this to may send
out
100,000 or more e-mails and your name will be on every one of them.
Remember though, the more you send out the more potiential customers
you will reach. So my friend, I have given you the ideas, information,
materials and 
opportunity to become financially independent ITS UP TO YOU NOW!

============MORE TESTIMONIALS=======================
"My name is Mitchell, My wife Jody ad I live in Chicago. I am an 
accountant with a major U.S. Corparation and I make pretty good money.
When I received this program I grumbled  to Jody about receiving" junk
mail". I made fun of the whole thing , spouting my knowledge of the 
population and percentages involved. I "knew" it wouldn't work. Jody
totally ignored
my supposed intelligence and a few days later she jumped in with both 
feet. I made merciless fun of her, and was ready to lay the ol "I told you
so" on 
her when the thing didnt work. Well , the laugh was on me ,Within 3 
weeks she had received 50 responses. Within the next 45 days she had 
received total $147,200.00.......all cash! I was shocked. I have joined
Jody 
in her" hobby".
Mitchell Wolf M.D., Chicago Illinois
================================================
"Not being the gambling type , it took me several weeks to make up my
mind to participate in this plan. But conservative that i am, I decided that
 the initial investment was so little that there was just no way that I
wouldn't get enough orders to at least get my money back". "I was
surprised when I found my medium size post office box crammed with
orders. I made $319,210.00 in the first 12 weeks. The nice thing about 
this deal is that it does not matter where people live. There simply isn't a
better investment with a faster return and so big"
Dan Sondstrom, Alberta Canada
================================================
"I had received this program before. I deleted it, but later I wondered
if I should have given it a try. Of course, I had no idea who to contact to
get  another copy, so I had to wait until I was e-mailed again by someone 
else......11 months passed then it luckily came again.....I did not
delete this one! I made more than $490,000 on my first try and all the
the money came within 22 weeks."
Susan De Suza, New York, N.Y.
================================================
"It really is a great opportunity to make relatively easy money with
little cost to you. I followed the simple instructions carefully and
within 10 days the money started to come in. My first month I made 
$20,560.00 and by the end of the third month my total cash count was
$362,840.00. Life is beautiful, Thanx to the internet.".
Fred Dellaca, Westport New Zealand
================================================
ORDER YUR REPORTS TODAY AND GET STARTED ON
"YOUR" ROAD TO FINANCIAL FREEDOM!
================================================
If you have any questions of the legality of this program, contact the 
Office of Associate Director for Marketing Practices, Federal Trade 
Commission
Bureau of Consumer Protection, Washington ,D.C. 





This is a one time mailing and you will not be contacted 
again. Should you chose to have your name completely eliminated
from our data-base, you can press the respond button and type 
"remove" on the subject line.





From markrichman@telocity.com Wed Jul 18 14:39:29 2001
Received: from c007-h015.c007.snv.cp.net ([209.228.33.222] helo=c007.snv.cp.net)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15MwEL-0004QP-00
	for <bug-commoncpp@gnu.org>; Wed, 18 Jul 2001 14:39:29 -0400
Received: (cpmta 9473 invoked from network); 18 Jul 2001 11:39:27 -0700
Received: from unknown (HELO labws420) (216.242.133.178)
  by smtp.telocity.com (209.228.33.222) with SMTP; 18 Jul 2001 11:39:27 -0700
X-Sent: 18 Jul 2001 18:39:27 GMT
Message-ID: <00c001c10fb8$f97ecb40$6bfa0a0a@softmountain.com>
From: "Mark A. Richman" <markrichman@telocity.com>
To: <bug-commoncpp@gnu.org>
Subject: bug in win32
Date: Wed, 18 Jul 2001 14:39:26 -0400
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----=_NextPart_000_00BD_01C10F97.71F14480"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

This is a multi-part message in MIME format.

------=_NextPart_000_00BD_01C10F97.71F14480
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

In building 1.5.0 for Win32, I got the following error:

C:\CommonC++-1.5.0\win32\Socket.cpp(868) : error C2572: =
'TCPStream::TCPStream' : redefinition of default parameter : parameter 1
        c:\commonc++-1.5.0\win32\socket.h(1304) : see declaration of =
'TCPStream::TCPStream'

My FIX:

The default parameter (bool throwflag =3D true) should read:

TCPStream::TCPStream(bool throwflag) {...}

I am using MS Visual C++ 6.0 service pack 5.

Regards,
Mark



------=_NextPart_000_00BD_01C10F97.71F14480
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4616.200" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>In building 1.5.0 for Win32, I got the =
following=20
error:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial =
size=3D2>C:\CommonC++-1.5.0\win32\Socket.cpp(868) : error=20
C2572: 'TCPStream::TCPStream' : redefinition of default parameter : =
parameter=20
1<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
c:\commonc++-1.5.0\win32\socket.h(1304) : see declaration of=20
'TCPStream::TCPStream'</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>My FIX:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>The default parameter (bool throwflag =
=3D true)=20
should read:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>TCPStream::TCPStream(bool throwflag)=20
{...}</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I am using MS Visual C++ 6.0 service =
pack=20
5.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Mark</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_00BD_01C10F97.71F14480--



From lsim@bigpond.net.au Sun Jul 22 11:39:14 2001
Received: from juicer02.bigpond.com ([139.134.6.78] helo=mailin5.bigpond.com)
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15OLK5-0001xe-00
	for <bug-commoncpp@gnu.org>; Sun, 22 Jul 2001 11:39:13 -0400
Received: from fred ([139.134.4.53]) by mailin5.bigpond.com
          (Netscape Messaging Server 4.15) with SMTP id GGVT3200.ETZ for
          <bug-commoncpp@gnu.org>; Mon, 23 Jul 2001 01:45:02 +1000 
Received: from CPE-61-9-135-223.vic.bigpond.net.au ([61.9.135.223]) by mail0.bigpond.com(MailRouter V2.9g 13/2001161); 23 Jul 2001 01:39:46
Content-Type: text/plain;
  charset="iso-8859-1"
From: Lawrence Sim <lsim@bigpond.net.au>
To: bug-commoncpp@gnu.org
Subject: Thread::OnPolling
Date: Mon, 23 Jul 2001 01:09:39 +0930
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01072301093901.25748@fred>
Content-Transfer-Encoding: 8bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

I am using a Linux (posix) system, with the latest version of 
CommonC++. I have created a class that inherits from Thread, as part of 
the run method it uses the 'poll' system call to sleep until data is 
ready to be read from a device, is there a way to have OnPolling called 
when this happens. I can't seem to get it to work. I would really 
apreciate any help.

Thanks.
-- 
Lawrence Sim
Web - http://users.bigpond.net.au/Lawrence_Sim/


From petith@h-a-s-e.com Mon Jul 23 09:18:19 2001
Received: from [62.159.103.226] (helo=linux2hase.h-a-s-e.com)
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15OfbG-0004OE-00
	for <bug-commoncpp@gnu.org>; Mon, 23 Jul 2001 09:18:18 -0400
Received: from h-a-s-e.com (majestix.h-a-s-e.com [9.228.8.47])
	by linux2hase.h-a-s-e.com (8.9.3/8.8.8) with ESMTP id PAA10627
	for <bug-commoncpp@gnu.org>; Mon, 23 Jul 2001 15:17:24 +0200
Message-ID: <3B5C23C4.C25FAFF5@h-a-s-e.com>
Date: Mon, 23 Jul 2001 15:16:52 +0200
From: Heiner Petith <petith@h-a-s-e.com>
Reply-To: petith@h-a-s-e.com
Organization: H.A.S.E
X-Mailer: Mozilla 4.7 [de] (WinNT; I)
X-Accept-Language: de
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Subject: Build CommonC++ V1.5 using gcc/g++ 3.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Hi out there,

as a proud user ;-) of the new gcc-3.0, I had to include the directive 

  using std::ios;

in the files

  serial.cpp
  fifo.cpp
  
in order to compile Version 1.5 of CommonC++. Apart from this,
everything worked fine.

Thanks for maintaining this wonderful library!
Best regards,

Heiner.
-- 
====================================
  H.A.S.E GmbH
  Dipl.Inform. Heiner Petith

  EMail: petith@h-a-s-e.com
  Tel:   +49-(0)6438-9141-17
  Fax:   +49-(0)6438-9141-10
====================================


From replytoteam123@yahoo.com Tue Jul 24 12:40:41 2001
Received: from ns2.globalctg.net ([202.5.32.6])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15P5Ed-0001Cd-00
	for <bug-commoncpp@gnu.org>; Tue, 24 Jul 2001 12:40:40 -0400
Received: from plain (cs2416764-237.houston.rr.com [24.167.64.237]) by ns2.globalctg.net with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id PRQZM3ZF; Tue, 24 Jul 2001 22:36:28 +0600
From: bug-commoncpp@gnu.org
Reply-To: replytoteam123@yahoo.com
To: bug-commoncpp@gnu.org
Subject: Women really love it - their Men want to buy it for them Time:11:43:31 AM
Date: Tue, 24 Jul 2001 11:43:31
Mime-Version: 1.0
Content-Type: text/plain; charset="_CHARSET"
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.6700
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Message-Id: <E15P5Ed-0001Cd-00@fencepost.gnu.org>
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Finally - An Answer for Women

A Revolutionary New Product just for Women is putting passion back into their life! 
Introducing a Unique Business Opportunity and the Hottest Compensation Plan in the History of Network Marketing! Record Sales already Creating Wealthy People
(some earning 5 figures the first month) This Opportunity has ''double'' the Market Potential of Viagra (2 Billion dollars the first year) We will share the wealth with you. 
You owe it to yourself to find out more!

CLICK HERE http://www.popzoo.com/greater/index.html for more information!

To be removed from this list please reply with 'remove' in the subject and sent to replytoteam123@yahoo.com. All requests to be taken off our mailing list are AUTOMATICALLY and IMMEDIATELY honored upon receipt. 
------------------------------------------------------------------
Each year in the U.S. alone, the "postal" bulk mail industry consumes over 450 million trees just to make the paper used in sending their advertisements and promotions. 
Using email instead can significantly reduce this consumption, while at the same time decreasing the billions of tons of paper waste filling our landfills. 
Save the trees, save the planet, use email! <http://www.environmentaldefense.org/issues/Recycling.html>



From tgunlien@yahoo.com Tue Jul 24 19:23:27 2001
Received: from web14807.mail.yahoo.com ([216.136.224.223])
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15PBWR-0006pS-00
	for <bug-commoncpp@gnu.org>; Tue, 24 Jul 2001 19:23:27 -0400
Message-ID: <20010724232326.83210.qmail@web14807.mail.yahoo.com>
Received: from [64.212.225.18] by web14807.mail.yahoo.com; Tue, 24 Jul 2001 16:23:26 PDT
Date: Tue, 24 Jul 2001 16:23:26 -0700 (PDT)
From: Thomas Lien <tgunlien@yahoo.com>
Subject: cygwin
To: bug-commoncpp@gnu.org
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

I am trying to compile CommonC++ under cygwin and I
run into 1 problem. The posix function sigwait is not
supported in cygwin. This is used in posix/thread.cpp
and posix/friends.cpp. I commented out all sigwait
calls and then it compiled. I'm guessing that these
are necessary calls to make the library work, however.
Is there a known workaround for this problem?

Thanks in advance.

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/


From dyfet@ostel.com Wed Jul 25 06:49:13 2001
Received: from [63.124.177.154] (helo=home.sys)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15PME5-0002EK-00
	for <bug-commoncpp@gnu.org>; Wed, 25 Jul 2001 06:49:13 -0400
Received: from ostel.com (home.sys [172.16.1.254])
	by home.sys (Postfix) with ESMTP
	id F0D3FA3704; Wed, 25 Jul 2001 06:46:09 -0400 (EDT)
Message-ID: <3B5EA371.1010001@ostel.com>
Date: Wed, 25 Jul 2001 06:46:09 -0400
From: David Sugar <dyfet@ostel.com>
Organization: OST
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-9mdk i686; en-US; m18) Gecko/20001013
X-Accept-Language: en
MIME-Version: 1.0
To: Thomas Lien <tgunlien@yahoo.com>
Cc: bug-commoncpp@gnu.org
Subject: Re: cygwin
References: <20010724232326.83210.qmail@web14807.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

I believe sigwait is only used to impliment suspendable threads under Posix by 
a dummy signal handler (win32 and solaris directly support the idea of a 
thread suspend/resume).  I never even use suspend in any of my threaded apps, 
and so I would not consider it a "key" functionality to make the library work :).

Thomas Lien wrote:

> I am trying to compile CommonC++ under cygwin and I
> run into 1 problem. The posix function sigwait is not
> supported in cygwin. This is used in posix/thread.cpp
> and posix/friends.cpp. I commented out all sigwait
> calls and then it compiled. I'm guessing that these
> are necessary calls to make the library work, however.
> Is there a known workaround for this problem?
> 
> Thanks in advance.
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



From Randy.S.Johnston@colorspan.com Fri Jul 27 12:21:04 2001
Received: from notes.colorspan.com ([204.26.120.61])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15QAMK-00075a-00
	for <bug-commoncpp@gnu.org>; Fri, 27 Jul 2001 12:21:04 -0400
To: bug-commoncpp@gnu.org
Subject: Building CommonC++ 1.5.0 with Cygwin
MIME-Version: 1.0
X-Mailer: Lotus Notes Release 5.0.6a  January 17, 2001
Message-ID: <OFCF01BC65.E262507D-ON86256A96.00599A18@colorspan.com>
From: Randy.S.Johnston@colorspan.com
Date: Fri, 27 Jul 2001 11:25:06 -0500
X-MIMETrack: Serialize by Router on MN_Notes1/Colorspan(Release 5.07a |May 14, 2001) at
 07/27/2001 11:25:14 AM,
	Serialize complete at 07/27/2001 11:25:14 AM
Content-Type: multipart/alternative; boundary="=_alternative 0059CFD886256A96_="
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

This is a multipart message in MIME format.
--=_alternative 0059CFD886256A96_=
Content-Type: text/plain; charset="us-ascii"

I am attempting to build CommonC++ 1.5.0 with Cygwin, the steps I am using 
are as follows:

1) tar xvzf commonc++-1.5.0.tar.gz
        creates a CommonC++-1.5.0 directory
2) cd CommonC++-1.5.0
3) ./configure

$ ./configure
creating cache ./config.cache
checking host system type... i686-pc-cygwin
checking target system type... i686-pc-cygwin
checking build system type... i686-pc-cygwin
checking for MSC environment... no
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for ranlib... ranlib
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... .exe
checking for gcc option to produce PIC... none
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes
checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports 
shared lib
raries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object 
files... -r
checking dynamic linker characteristics... Win32 ld.exe
checking if libtool supports shared libraries... yes
checking if package supports dlls... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works... yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... gcc -E
checking for POSIXized ISC... no
checking for minix/config.h... no
checking for genorated automake files... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for Win32 gnu environment... no
checking how to run the C preprocessor... gcc -E
checking for c++... c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking how to run the C++ preprocessor... c++ -E
checking whether c++ has built-in bool type... yes
checking whether c++ supports -fhandle-exceptions... no
checking whether c++ supports exception handling... yes
checking whether c++ supports mutable... yes
checking whether c++ supports namespace... yes
checking whether system meets Posix.1... yes
checking for endian.h... no
checking for fcntl.h... yes
checking for sys/fcntl.h... yes
checking for sys/types.h... yes
checking for sigaction... yes
checking for setitimer... yes
checking for bsd/signal.h... no
checking return type of signal handlers... void
checking whether sigwait has 2 arguments... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strings.h... yes
checking for getopt.h... yes
checking for getopt_long in -lgnugetopt... no
checking for getopt_long... yes
checking for dlfcn.h... yes
checking for dlopen in -ldl... no
checking for dlopen in -lc... yes
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for features.h... yes
checking for pthread.h... yes
checking for atomic operations... no
checking for thread.h... no
checking whether gcc accepts -pthread... no
checking for pthread_self in -lc_r... no
checking for pthread_self in -lpthread... no
checking for pthread_kill in -lpthread... no
checking for pthread_self in -lpthreads... no
checking for pthread_self in -lthread... no
checking for pthread_self in -lgthreads... no
checking for pthread_self in -lcma... no
checking for pthread_self in -lc... yes
checking for nanosleep in -lc... no
checking for nanosleep in -lposix4... no
checking for nanosleep in -lrt... no
checking for pthread_np.h... no
checking for semaphore.h... yes
checking for sched.h... yes
checking for sys/sched.h... yes
checking for recursive mutex type support... portable
checking for pthread_mutexattr_settype in -lc... yes
checking for pthread_rwlock_init in -lc... no
checking for pread in -lc... no
checking for pread in -lc... (cached) no
checking for pread in -lc_r... no
checking for pthread_attr_setstacksize in -lc... yes
checking for pthread_yield in -lc... no
checking for sched_yield in -lc... yes
checking for pthread_cancel in -lc... yes
checking for pthread_setcanceltype in -lc... yes
checking for pthread_delay_np in -lc... no
checking for setenv... yes
checking for localtime_r in -lc_r... no
checking for strtok_r in -lc... yes
checking for localtime_r in -lc... yes
checking for sys/socket.h... yes
checking for select.h... no
checking for sys/select.h... yes
checking for netinet/in_systm.h... yes
checking for netinet/ip.h... yes
checking for arpa/inet.h... yes
checking for sys/un.h... yes
checking for socket in -lsocket... no
checking for sys/libcsys.h... no
checking for inet_aton in -lc... yes
checking for socklen_t defined... no
checking for poll.h... yes
checking for sys/poll.h... yes
checking for sys/stream.h... no
checking for poll... yes
checking for zlib.h... yes
checking for xml2-config... no
checking for xml-config... no
checking for valid libxml2... no
checking for debugging... no
checking for profiling... no
checking for sys/file.h... yes
updating cache ./config.cache
creating ./config.status
creating posix/ccgnu-config
creating posix/Makefile
creating win32/Makefile
creating m4/Makefile
creating doc/Makefile
creating demo/Makefile
creating common/Makefile
creating Makefile
creating freebsd/pkg-plist
creating pkginfo
creating CommonC++.spec
creating common/config.def
creating freebsd/Makefile
creating debian/shlibs.local
creating debian/changelog
creating posix/config.h

4) make

$ make
Making all in posix
make[1]: Entering directory `/cygdrive/k/Source/CommonC++-1.5.0/posix'
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
-I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE 
-D_REENTRANT -D_
THREAD_SAFE -c inaddr.cpp -o inaddr.o
echo timestamp > inaddr.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
-I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c socket.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE 
-D_REENTRANT -D_
THREAD_SAFE -c socket.cpp -o socket.o
echo timestamp > socket.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
-I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c peer.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE 
-D_REENTRANT -D_
THREAD_SAFE -c peer.cpp -o peer.o
echo timestamp > peer.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
-I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c port.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE 
-D_REENTRANT -D_
THREAD_SAFE -c port.cpp -o port.o
echo timestamp > port.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
-I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c mutex.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE 
-D_REENTRANT -D_
THREAD_SAFE -c mutex.cpp -o mutex.o
echo timestamp > mutex.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
-I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c semaphore.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE 
-D_REENTRANT -D_
THREAD_SAFE -c semaphore.cpp -o semaphore.o
echo timestamp > semaphore.lo
/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. 
-I../posix
 -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c thread.cpp
c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE 
-D_REENTRANT -D_
THREAD_SAFE -c thread.cpp -o thread.o
thread.cpp: In function `void sigsuspend(int)':
thread.cpp:68: implicit declaration of function `int sigwait(...)'
make[1]: *** [thread.lo] Error 1
make[1]: Leaving directory `/cygdrive/k/Source/CommonC++-1.5.0/posix'
make: *** [all-recursive] Error 1

All help appreaciated...

Randy Johnston
MacDermid Colorspan R&D
randy.s.johnston@colorspan.com

--=_alternative 0059CFD886256A96_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">I am attempting to build CommonC++ 1.5.0 with Cygwin, the steps I am using are as follows:</font>
<br>
<br><font size=2 face="sans-serif">1) tar xvzf commonc++-1.5.0.tar.gz</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; creates a CommonC++-1.5.0 directory</font>
<br><font size=2 face="sans-serif">2) cd CommonC++-1.5.0</font>
<br><font size=2 face="sans-serif">3) ./configure</font>
<br>
<br><font size=2 face="sans-serif">$ ./configure</font>
<br><font size=2 face="sans-serif">creating cache ./config.cache</font>
<br><font size=2 face="sans-serif">checking host system type... i686-pc-cygwin</font>
<br><font size=2 face="sans-serif">checking target system type... i686-pc-cygwin</font>
<br><font size=2 face="sans-serif">checking build system type... i686-pc-cygwin</font>
<br><font size=2 face="sans-serif">checking for MSC environment... no</font>
<br><font size=2 face="sans-serif">checking for a BSD compatible install... /usr/bin/install -c</font>
<br><font size=2 face="sans-serif">checking whether build environment is sane... yes</font>
<br><font size=2 face="sans-serif">checking whether make sets ${MAKE}... yes</font>
<br><font size=2 face="sans-serif">checking for working aclocal... found</font>
<br><font size=2 face="sans-serif">checking for working autoconf... found</font>
<br><font size=2 face="sans-serif">checking for working automake... found</font>
<br><font size=2 face="sans-serif">checking for working autoheader... found</font>
<br><font size=2 face="sans-serif">checking for working makeinfo... found</font>
<br><font size=2 face="sans-serif">checking for ranlib... ranlib</font>
<br><font size=2 face="sans-serif">checking for gcc... gcc</font>
<br><font size=2 face="sans-serif">checking whether the C compiler (gcc &nbsp;) works... yes</font>
<br><font size=2 face="sans-serif">checking whether the C compiler (gcc &nbsp;) is a cross-compiler... no</font>
<br><font size=2 face="sans-serif">checking whether we are using GNU C... yes</font>
<br><font size=2 face="sans-serif">checking whether gcc accepts -g... yes</font>
<br><font size=2 face="sans-serif">checking for ld used by GCC... /usr/i686-pc-cygwin/bin/ld.exe</font>
<br><font size=2 face="sans-serif">checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes</font>
<br><font size=2 face="sans-serif">checking for BSD-compatible nm... /usr/bin/nm -B</font>
<br><font size=2 face="sans-serif">checking whether ln -s works... yes</font>
<br><font size=2 face="sans-serif">updating cache ./config.cache</font>
<br><font size=2 face="sans-serif">checking for object suffix... o</font>
<br><font size=2 face="sans-serif">checking for executable suffix... .exe</font>
<br><font size=2 face="sans-serif">checking for gcc option to produce PIC... none</font>
<br><font size=2 face="sans-serif">checking if gcc supports -c -o file.o... yes</font>
<br><font size=2 face="sans-serif">checking if gcc supports -c -o file.lo... yes</font>
<br><font size=2 face="sans-serif">checking if gcc supports -fno-rtti -fno-exceptions ... yes</font>
<br><font size=2 face="sans-serif">checking if gcc static flag -static works... -static</font>
<br><font size=2 face="sans-serif">checking if the linker (/usr/i686-pc-cygwin/bin/ld.exe) is GNU ld... yes</font>
<br><font size=2 face="sans-serif">checking whether the linker (/usr/i686-pc-cygwin/bin/ld.exe) supports shared lib</font>
<br><font size=2 face="sans-serif">raries... yes</font>
<br><font size=2 face="sans-serif">checking command to parse /usr/bin/nm -B output... ok</font>
<br><font size=2 face="sans-serif">checking how to hardcode library paths into programs... immediate</font>
<br><font size=2 face="sans-serif">checking for /usr/i686-pc-cygwin/bin/ld.exe option to reload object files... -r</font>
<br><font size=2 face="sans-serif">checking dynamic linker characteristics... Win32 ld.exe</font>
<br><font size=2 face="sans-serif">checking if libtool supports shared libraries... yes</font>
<br><font size=2 face="sans-serif">checking if package supports dlls... no</font>
<br><font size=2 face="sans-serif">checking whether to build shared libraries... no</font>
<br><font size=2 face="sans-serif">checking whether to build static libraries... yes</font>
<br><font size=2 face="sans-serif">checking for objdir... .libs</font>
<br><font size=2 face="sans-serif">creating libtool</font>
<br><font size=2 face="sans-serif">loading cache ./config.cache</font>
<br><font size=2 face="sans-serif">checking for gcc... (cached) gcc</font>
<br><font size=2 face="sans-serif">checking whether the C compiler (gcc -g -O2 ) works... yes</font>
<br><font size=2 face="sans-serif">checking whether the C compiler (gcc -g -O2 ) is a cross-compiler... no</font>
<br><font size=2 face="sans-serif">checking whether we are using GNU C... (cached) yes</font>
<br><font size=2 face="sans-serif">checking whether gcc accepts -g... (cached) yes</font>
<br><font size=2 face="sans-serif">checking how to run the C preprocessor... gcc -E</font>
<br><font size=2 face="sans-serif">checking for POSIXized ISC... no</font>
<br><font size=2 face="sans-serif">checking for minix/config.h... no</font>
<br><font size=2 face="sans-serif">checking for genorated automake files... found</font>
<br><font size=2 face="sans-serif">checking whether to enable maintainer-specific portions of Makefiles... no</font>
<br><font size=2 face="sans-serif">checking for Win32 gnu environment... no</font>
<br><font size=2 face="sans-serif">checking how to run the C preprocessor... gcc -E</font>
<br><font size=2 face="sans-serif">checking for c++... c++</font>
<br><font size=2 face="sans-serif">checking whether the C++ compiler (c++ &nbsp;) works... yes</font>
<br><font size=2 face="sans-serif">checking whether the C++ compiler (c++ &nbsp;) is a cross-compiler... no</font>
<br><font size=2 face="sans-serif">checking whether we are using GNU C++... yes</font>
<br><font size=2 face="sans-serif">checking whether c++ accepts -g... yes</font>
<br><font size=2 face="sans-serif">checking how to run the C++ preprocessor... c++ -E</font>
<br><font size=2 face="sans-serif">checking whether c++ has built-in bool type... yes</font>
<br><font size=2 face="sans-serif">checking whether c++ supports -fhandle-exceptions... no</font>
<br><font size=2 face="sans-serif">checking whether c++ supports exception handling... yes</font>
<br><font size=2 face="sans-serif">checking whether c++ supports mutable... yes</font>
<br><font size=2 face="sans-serif">checking whether c++ supports namespace... yes</font>
<br><font size=2 face="sans-serif">checking whether system meets Posix.1... yes</font>
<br><font size=2 face="sans-serif">checking for endian.h... no</font>
<br><font size=2 face="sans-serif">checking for fcntl.h... yes</font>
<br><font size=2 face="sans-serif">checking for sys/fcntl.h... yes</font>
<br><font size=2 face="sans-serif">checking for sys/types.h... yes</font>
<br><font size=2 face="sans-serif">checking for sigaction... yes</font>
<br><font size=2 face="sans-serif">checking for setitimer... yes</font>
<br><font size=2 face="sans-serif">checking for bsd/signal.h... no</font>
<br><font size=2 face="sans-serif">checking return type of signal handlers... void</font>
<br><font size=2 face="sans-serif">checking whether sigwait has 2 arguments... yes</font>
<br><font size=2 face="sans-serif">checking for strcasecmp... yes</font>
<br><font size=2 face="sans-serif">checking for strdup... yes</font>
<br><font size=2 face="sans-serif">checking for strings.h... yes</font>
<br><font size=2 face="sans-serif">checking for getopt.h... yes</font>
<br><font size=2 face="sans-serif">checking for getopt_long in -lgnugetopt... no</font>
<br><font size=2 face="sans-serif">checking for getopt_long... yes</font>
<br><font size=2 face="sans-serif">checking for dlfcn.h... yes</font>
<br><font size=2 face="sans-serif">checking for dlopen in -ldl... no</font>
<br><font size=2 face="sans-serif">checking for dlopen in -lc... yes</font>
<br><font size=2 face="sans-serif">checking whether time.h and sys/time.h may both be included... yes</font>
<br><font size=2 face="sans-serif">checking for sys/time.h... yes</font>
<br><font size=2 face="sans-serif">checking for features.h... yes</font>
<br><font size=2 face="sans-serif">checking for pthread.h... yes</font>
<br><font size=2 face="sans-serif">checking for atomic operations... no</font>
<br><font size=2 face="sans-serif">checking for thread.h... no</font>
<br><font size=2 face="sans-serif">checking whether gcc accepts -pthread... no</font>
<br><font size=2 face="sans-serif">checking for pthread_self in -lc_r... no</font>
<br><font size=2 face="sans-serif">checking for pthread_self in -lpthread... no</font>
<br><font size=2 face="sans-serif">checking for pthread_kill in -lpthread... no</font>
<br><font size=2 face="sans-serif">checking for pthread_self in -lpthreads... no</font>
<br><font size=2 face="sans-serif">checking for pthread_self in -lthread... no</font>
<br><font size=2 face="sans-serif">checking for pthread_self in -lgthreads... no</font>
<br><font size=2 face="sans-serif">checking for pthread_self in -lcma... no</font>
<br><font size=2 face="sans-serif">checking for pthread_self in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for nanosleep in -lc... no</font>
<br><font size=2 face="sans-serif">checking for nanosleep in -lposix4... no</font>
<br><font size=2 face="sans-serif">checking for nanosleep in -lrt... no</font>
<br><font size=2 face="sans-serif">checking for pthread_np.h... no</font>
<br><font size=2 face="sans-serif">checking for semaphore.h... yes</font>
<br><font size=2 face="sans-serif">checking for sched.h... yes</font>
<br><font size=2 face="sans-serif">checking for sys/sched.h... yes</font>
<br><font size=2 face="sans-serif">checking for recursive mutex type support... portable</font>
<br><font size=2 face="sans-serif">checking for pthread_mutexattr_settype in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for pthread_rwlock_init in -lc... no</font>
<br><font size=2 face="sans-serif">checking for pread in -lc... no</font>
<br><font size=2 face="sans-serif">checking for pread in -lc... (cached) no</font>
<br><font size=2 face="sans-serif">checking for pread in -lc_r... no</font>
<br><font size=2 face="sans-serif">checking for pthread_attr_setstacksize in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for pthread_yield in -lc... no</font>
<br><font size=2 face="sans-serif">checking for sched_yield in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for pthread_cancel in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for pthread_setcanceltype in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for pthread_delay_np in -lc... no</font>
<br><font size=2 face="sans-serif">checking for setenv... yes</font>
<br><font size=2 face="sans-serif">checking for localtime_r in -lc_r... no</font>
<br><font size=2 face="sans-serif">checking for strtok_r in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for localtime_r in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for sys/socket.h... yes</font>
<br><font size=2 face="sans-serif">checking for select.h... no</font>
<br><font size=2 face="sans-serif">checking for sys/select.h... yes</font>
<br><font size=2 face="sans-serif">checking for netinet/in_systm.h... yes</font>
<br><font size=2 face="sans-serif">checking for netinet/ip.h... yes</font>
<br><font size=2 face="sans-serif">checking for arpa/inet.h... yes</font>
<br><font size=2 face="sans-serif">checking for sys/un.h... yes</font>
<br><font size=2 face="sans-serif">checking for socket in -lsocket... no</font>
<br><font size=2 face="sans-serif">checking for sys/libcsys.h... no</font>
<br><font size=2 face="sans-serif">checking for inet_aton in -lc... yes</font>
<br><font size=2 face="sans-serif">checking for socklen_t defined... no</font>
<br><font size=2 face="sans-serif">checking for poll.h... yes</font>
<br><font size=2 face="sans-serif">checking for sys/poll.h... yes</font>
<br><font size=2 face="sans-serif">checking for sys/stream.h... no</font>
<br><font size=2 face="sans-serif">checking for poll... yes</font>
<br><font size=2 face="sans-serif">checking for zlib.h... yes</font>
<br><font size=2 face="sans-serif">checking for xml2-config... no</font>
<br><font size=2 face="sans-serif">checking for xml-config... no</font>
<br><font size=2 face="sans-serif">checking for valid libxml2... no</font>
<br><font size=2 face="sans-serif">checking for debugging... no</font>
<br><font size=2 face="sans-serif">checking for profiling... no</font>
<br><font size=2 face="sans-serif">checking for sys/file.h... yes</font>
<br><font size=2 face="sans-serif">updating cache ./config.cache</font>
<br><font size=2 face="sans-serif">creating ./config.status</font>
<br><font size=2 face="sans-serif">creating posix/ccgnu-config</font>
<br><font size=2 face="sans-serif">creating posix/Makefile</font>
<br><font size=2 face="sans-serif">creating win32/Makefile</font>
<br><font size=2 face="sans-serif">creating m4/Makefile</font>
<br><font size=2 face="sans-serif">creating doc/Makefile</font>
<br><font size=2 face="sans-serif">creating demo/Makefile</font>
<br><font size=2 face="sans-serif">creating common/Makefile</font>
<br><font size=2 face="sans-serif">creating Makefile</font>
<br><font size=2 face="sans-serif">creating freebsd/pkg-plist</font>
<br><font size=2 face="sans-serif">creating pkginfo</font>
<br><font size=2 face="sans-serif">creating CommonC++.spec</font>
<br><font size=2 face="sans-serif">creating common/config.def</font>
<br><font size=2 face="sans-serif">creating freebsd/Makefile</font>
<br><font size=2 face="sans-serif">creating debian/shlibs.local</font>
<br><font size=2 face="sans-serif">creating debian/changelog</font>
<br><font size=2 face="sans-serif">creating posix/config.h</font>
<br>
<br><font size=2 face="sans-serif">4) make</font>
<br>
<br><font size=2 face="sans-serif">$ make</font>
<br><font size=2 face="sans-serif">Making all in posix</font>
<br><font size=2 face="sans-serif">make[1]: Entering directory `/cygdrive/k/Source/CommonC++-1.5.0/posix'</font>
<br><font size=2 face="sans-serif">/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix</font>
<br><font size=2 face="sans-serif">&nbsp;-g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c inaddr.cpp</font>
<br><font size=2 face="sans-serif">c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_</font>
<br><font size=2 face="sans-serif">THREAD_SAFE -c inaddr.cpp -o inaddr.o</font>
<br><font size=2 face="sans-serif">echo timestamp &gt; inaddr.lo</font>
<br><font size=2 face="sans-serif">/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix</font>
<br><font size=2 face="sans-serif">&nbsp;-g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c socket.cpp</font>
<br><font size=2 face="sans-serif">c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_</font>
<br><font size=2 face="sans-serif">THREAD_SAFE -c socket.cpp -o socket.o</font>
<br><font size=2 face="sans-serif">echo timestamp &gt; socket.lo</font>
<br><font size=2 face="sans-serif">/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix</font>
<br><font size=2 face="sans-serif">&nbsp;-g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c peer.cpp</font>
<br><font size=2 face="sans-serif">c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_</font>
<br><font size=2 face="sans-serif">THREAD_SAFE -c peer.cpp -o peer.o</font>
<br><font size=2 face="sans-serif">echo timestamp &gt; peer.lo</font>
<br><font size=2 face="sans-serif">/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix</font>
<br><font size=2 face="sans-serif">&nbsp;-g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c port.cpp</font>
<br><font size=2 face="sans-serif">c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_</font>
<br><font size=2 face="sans-serif">THREAD_SAFE -c port.cpp -o port.o</font>
<br><font size=2 face="sans-serif">echo timestamp &gt; port.lo</font>
<br><font size=2 face="sans-serif">/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix</font>
<br><font size=2 face="sans-serif">&nbsp;-g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c mutex.cpp</font>
<br><font size=2 face="sans-serif">c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_</font>
<br><font size=2 face="sans-serif">THREAD_SAFE -c mutex.cpp -o mutex.o</font>
<br><font size=2 face="sans-serif">echo timestamp &gt; mutex.lo</font>
<br><font size=2 face="sans-serif">/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix</font>
<br><font size=2 face="sans-serif">&nbsp;-g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c semaphore.cpp</font>
<br><font size=2 face="sans-serif">c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_</font>
<br><font size=2 face="sans-serif">THREAD_SAFE -c semaphore.cpp -o semaphore.o</font>
<br><font size=2 face="sans-serif">echo timestamp &gt; semaphore.lo</font>
<br><font size=2 face="sans-serif">/bin/sh ../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix</font>
<br><font size=2 face="sans-serif">&nbsp;-g -O2 -D_GNU_SOURCE -D_REENTRANT -D_THREAD_SAFE -c thread.cpp</font>
<br><font size=2 face="sans-serif">c++ -DHAVE_CONFIG_H -I. -I. -I. -I../posix -g -O2 -D_GNU_SOURCE -D_REENTRANT -D_</font>
<br><font size=2 face="sans-serif">THREAD_SAFE -c thread.cpp -o thread.o</font>
<br><font size=2 face="sans-serif">thread.cpp: In function `void sigsuspend(int)':</font>
<br><font size=2 face="sans-serif">thread.cpp:68: implicit declaration of function `int sigwait(...)'</font>
<br><font size=2 face="sans-serif">make[1]: *** [thread.lo] Error 1</font>
<br><font size=2 face="sans-serif">make[1]: Leaving directory `/cygdrive/k/Source/CommonC++-1.5.0/posix'</font>
<br><font size=2 face="sans-serif">make: *** [all-recursive] Error 1</font>
<br>
<br><font size=2 face="sans-serif">All help appreaciated...<br>
<br>
Randy Johnston<br>
MacDermid Colorspan R&amp;D<br>
randy.s.johnston@colorspan.com<br>
</font>
--=_alternative 0059CFD886256A96_=--


From jonsmith@dragonstar.dhs.org Fri Jul 27 21:29:12 2001
Received: from cc862238-a.nwhub1.in.home.com ([24.22.251.187] helo=dragonstar.dhs.org)
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15QIum-0001zB-00
	for <bug-commoncpp@gnu.org>; Fri, 27 Jul 2001 21:29:12 -0400
Received: from localhost (jonsmith@localhost)
	by dragonstar.dhs.org (8.11.3/8.11.3) with ESMTP id f6S1T7U40661
	for <bug-commoncpp@gnu.org>; Fri, 27 Jul 2001 20:29:08 -0500 (EST)
	(envelope-from jonsmith@dragonstar.dhs.org)
Date: Fri, 27 Jul 2001 20:29:07 -0500 (EST)
From: Jonathan Smith <jonsmith@dragonstar.dhs.org>
To: bug-commoncpp@gnu.org
Subject: Win32 building
Message-ID: <Pine.BSF.4.21.0107271954430.40590-100000@dragonstar.dhs.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

How does one build CommonC++ using the Visual C++ compiler?  I would
prefer to build it via make using the VC++ compiler, but through the IDE
would be a start.

Thanks,

Jonathan Smith



From 0x050899P@yahoo.com Sat Jul 28 09:03:57 2001
Received: from customer-148-223-178-74.uninet.net.mx ([148.223.178.74] helo=revolucion_bk.eym-sa.com.mx)
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15QTl5-0004Do-00
	for <bug-commoncpp@gnu.org>; Sat, 28 Jul 2001 09:03:56 -0400
Received: from 60p27u747 (208.252.241.227 [208.252.241.227]) by revolucion_bk.eym-sa.com.mx with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2650.21)
	id PWHYCZZ1; Sat, 28 Jul 2001 04:03:52 -0600
DATE: 28 Jul 01 2:04:00 AM
FROM: 0x050899P@yahoo.com
Message-ID: <P1DJKR2Baw>
SUBJECT: Everything you ever wanted to know!!
X-RBL-Warning: (relays.mail-abuse.org) 
Bcc:
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Educate yourself about everything you ever wanted to know !!! 



1. Satellite TV/RCA Dish Descrambler

Our unique, complete plans for building your own home satellite TV descrambler. For access to a clear reception of pay TV signals on your home satellite dish! It does not require any additional equipment! Complete PC board template & instructions! This also includes a manual for accessing the RCA/DSS satellite dish to receive free pay channels. All the latest information for doing it right. 

2. X-Ray Envelope Spray

Have you ever wanted to read the contents of an envelope without opening it? Many government and other organizations use what is known as X-Ray Envelope Spray to do this! An envelope is sprayed with this secret chemical and it becomes translucent for a short period of time, which allows the contents to be read without opening. Private supply houses sell small cans of this aerosol spray for up to $50 a can! The spray is actually a commonly available item found in major grocery and discount stores. No modification of the spray is needed, as it is ready to use as X-Ray Envelope Spray and sells for about $1.99 in retail stores!

3. How to Find Anyone and Obtain Unlisted Phone Numbers

Tired of getting the wrong number? Stop looking! We can help! We'll show you how to get the unlisted phone number of anyone. No one can hide now! Simple. Skip tracers use these tricks. We also include everything you need to know about finding missing people or loved ones from the comfort of your home. Why pay money when you can do it yourself? 

4. Radar Zapper 

This simply technique converts existing radar detectors into a device that will jam police radar. This device sends false readings back to the police radar! Works on virtually all detectors and easy to use!

5. Untraceable E-Mail 

How to send totally anonymous and untraceable E-mail. We're not talking about those generic Yahoo! Accounts -- this is the real McCoy, anonymous email. Everything explained. Absolutely untraceable.

6. Underground Guide to Utility Meters

The illustrated guide to gas, water & electric meters! We show you in detail methods many people use to stop, slow down, even reverse all three types! This underground manual is one of our most popular items! Complete illustrated techniques and easy to do. Shows how to defeat all major brands & models of gas, water & electric meters.

7. Scan-Tron Genius

Here at last!! This very controversial report describes in detail how any student can easily defeat Scan-Tron test readers to pass a test even though he does not know the answer! This simple method will fool the scan reader into thinking you answered correctly! No tools needed. Completely tested. You won't believe how simple this method is!

8. Bad Credit Cleaning Manual

Simple ways to restore your bad credit rating to A++. Don't pay a credit counselor good money to do what you can do yourself. Many methods presented here - some legal & some "not so legal". Wipe your slate clean from your own home. Get a fresh start.

9. Pass Drug Tests 

Don't use of drugs! However, many innocent people are victims of drug testing. Some over the counter medicine can trigger false results & cost you your job. Proven methods to beat drug tests. We show you how to build a simple device that can fool the best! Protect yourself & your job, even if you don't use drugs.

10.Cable TV Decoders

How to get cable TV and turn your converter box into "full service" mode. This is the latest and best way to gain access. Also, how to build your own "snooper stopper" for pennies. Prevents cable companies from spying on you.

11. Free Long Distance

You can make long distance calls to other countries at no cost! The information in these reports explains everything you need to call other countries! Country codes, city codes, overseas sender codes! Call England, Germany, the UK, practically anywhere!

12. Dissolving Checks

We show you in detail the "insufficient funds" checks scam used by people to obtain goods & cash without having any money in the account. Many people do not even use false ID's in pulling this scam off. Complete detailed instructions plus rare information on the famous "dissolving" checks. These checks "dissolve" after being chemically coated & deposited in the bank leaving no trace of the writer or account number. Not for illegal purposes. See how others do it. 

13. Outsmart Lie Detector Tests

Hundreds of thousands of people in this country are wrongfully fired or not hired simply because they did not pass the lie detector test even though they've done nothing wrong! Read drugless methods to help pass whether you are lying or not! A valuable tool for any job seeker. Don't be harassed by your employer ever again. Tested and proven.

14. Lock-picks & Lock-picking.

 Why buy expensive lock-picks & pay for rip-off mail order locksmith courses? We'll show you how to make your own professional lock-picks. Exact detailed drawings & construction techniques! This is perhaps the easiest to understand course ever published on this hush-hush subject. You won't believe how easy it is to make these tools! We also show you how a basic lock works & how they are picked. This publication is complete with detailed drawings & illustrations.

15. Guaranteed Unsecured Credit Cards up to $50,000 Regardless of Bad Credit.

We can show you how and where you can obtain unsecured Gold and Platinum credit cards with credits limits up to $50,000 per card!  Regardless of your past credit history! You are guaranteed to receive at least 2 unsecured credit cards of up to $20,000 through our exclusive list. The secret to getting the credit you deserve is knowing how and where to look!

* No credit checks! No employment check!
* No credit turndowns! No credit, Bad credit! 
* Some with as low as 0% APR for the life of the card!
* Guaranteed approval! 


ALL IN ONE!!! PREVIOUSLY SOLD FOR HUNDREDS!!! ORDER NOW!!!

That's 15 products, all for just $19.95 [shipping & handling included].

We accept cash, personal checks, money orders and cashiers checks. You must include a 

Primary and secondary E-mail address, as we will be emailing you all the reports as soon as your payment is received.

Print the following form & mail it to:

Info 4 Edu Only
1300 N. Cahuenga Blvd # 362
Los Angeles, CA 90028


Please Print Clearly

Name: _________________________________________________

Primary Email Address: ___________________________________

Secondary Email Address: _________________________________

Make your check payable to: Info 4 Edu Only

DISCLAIMER: Please note that this information is being provided for educational purposes only. The information itself is legal, while the usage of such information may be illegal. We do not advocate unauthorized use or theft of any services. If in doubt, check your local laws and act accordingly. 
NOTE: All of the publications are Copyright 2001 by Info 4 Edu Only. We aggressively protect our copyrights and will seek prosecution of any website, web-master, web hosting service or anyone else that is in violation of US & International Copyright Laws. 







To be opt out from our future mailing please email optmeoutnow@aol.com with the word remove in the subject line



From dyfet@ostel.com Sat Jul 28 09:26:28 2001
Received: from [63.124.177.154] (helo=home.sys)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15QU6u-0005Gz-00
	for <bug-commoncpp@gnu.org>; Sat, 28 Jul 2001 09:26:28 -0400
Received: from ostel.com (home.sys [172.16.1.254])
	by home.sys (Postfix) with ESMTP
	id 15D199F5C5; Sat, 28 Jul 2001 09:23:52 -0400 (EDT)
Message-ID: <3B62BCE8.3090203@ostel.com>
Date: Sat, 28 Jul 2001 09:23:52 -0400
From: David Sugar <dyfet@ostel.com>
Organization: OST
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-9mdk i686; en-US; m18) Gecko/20001013
X-Accept-Language: en
MIME-Version: 1.0
To: Jonathan Smith <jonsmith@dragonstar.dhs.org>
Cc: bug-commoncpp@gnu.org
Subject: Re: Win32 building
References: <Pine.BSF.4.21.0107271954430.40590-100000@dragonstar.dhs.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

It includes a VC++ project file in the win32 directory.  Just open the project 
file (CCXX.dsp) and you have the entire build tree.

Jonathan Smith wrote:

> How does one build CommonC++ using the Visual C++ compiler?  I would
> prefer to build it via make using the VC++ compiler, but through the IDE
> would be a start.
> 
> Thanks,
> 
> Jonathan Smith
> 
> 
> _______________________________________________
> Bug-commoncpp mailing list
> Bug-commoncpp@gnu.org
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp



From alt@alter.fpmk.tsu.ru Sun Jul 29 06:57:03 2001
Received: from delysid.gnu.org ([158.121.106.20])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15QoFr-0003mp-00
	for <bug-commoncpp@gnu.org>; Sun, 29 Jul 2001 06:57:03 -0400
Received: from alter.fpmk.tsu.ru ([212.192.98.163])
	by delysid.gnu.org with esmtp (Exim 3.20 #1)
	id 15QoFh-0003un-00
	for <bug-commoncpp@gnu.org>; Sun, 29 Jul 2001 06:56:54 -0400
Received: from a39.dul.tomsknet.ru (a39.dul.tomsknet.ru [217.18.139.39])
	by alter.fpmk.tsu.ru (8.11.4/8.11.3) with ESMTP id f6TAw9604892
	for <bug-commoncpp@gnu.org>; Sun, 29 Jul 2001 18:58:18 +0800 (KRAST)
	(envelope-from alt@alter.fpmk.tsu.ru)
Date: Sun, 29 Jul 2001 18:52:50 +0100
From: Vladimir Lapshin <alt@alter.fpmk.tsu.ru>
X-Mailer: The Bat! (v1.53d) Personal
Reply-To: Vladimir Lapshin <alt@alter.fpmk.tsu.ru>
Organization: aLTer.NET
X-Priority: 3 (Normal)
Message-ID: <11812603252.20010729185250@alter.fpmk.tsu.ru>
To: bug-commoncpp@gnu.org
Subject: CommonC++-1.5.0 compilation error under win32(visual c/c++ v6)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Hall0, bug-commoncpp.

compiler output:
"
--------------------Configuration: CCXX - Win32 Release--------------------
Compiling resources...
Compiling...
config.cpp
Compiling...
Buffer.cpp
digest.cpp
E:\UNIX\CommonC++-1.5.0\common\digest.cpp(55) : warning C4355: 'this' : used in base member initializer list
engine.cpp
Event.cpp
File.cpp
Inaddr.cpp
keydata.cpp
mempager.cpp
Mutex.cpp
Peer.cpp
persist.cpp
Pipe.cpp
Socket.cpp
E:\UNIX\CommonC++-1.5.0\win32\Socket.cpp(810) : warning C4355: 'this' : used in base member initializer list
E:\UNIX\CommonC++-1.5.0\win32\Socket.cpp(834) : warning C4355: 'this' : used in base member initializer list
E:\UNIX\CommonC++-1.5.0\win32\Socket.cpp(868) : error C2572: 'TCPStream::TCPStream' : redefinition of default parameter : parameter 1
        E:\UNIX\CommonC++-1.5.0\win32\socket.h(1304) : see declaration of 'TCPStream::TCPStream'
E:\UNIX\CommonC++-1.5.0\win32\Socket.cpp(870) : warning C4355: 'this' : used in base member initializer list
E:\UNIX\CommonC++-1.5.0\win32\Socket.cpp(876) : warning C4355: 'this' : used in base member initializer list
Thread.cpp
threadkey.cpp
url.cpp
Generating Code...
Error executing cl.exe.

CCGNU32.dll - 1 error(s), 5 warning(s)
"

So 1.5.0 don't compilable under win32/vc6, but CommonC++-1.4.3
building is fine. Please, fix v1.5.0;

P.S. Both version I unpack with WinZip. During uppacking for both
versions winzip asked me about overwiting some source files. I asked
yes(overwrite for all). Maybe I make a mistake here?

-- 
Vladimir                          mailto:alt@alter.fpmk.tsu.ru



From bpietsch@papageno.cipic.ucdavis.edu Sun Jul 29 16:21:30 2001
Received: from papageno.cipic.ucdavis.edu ([169.237.153.155])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15Qx46-0001aR-00
	for <bug-commoncpp@gnu.org>; Sun, 29 Jul 2001 16:21:30 -0400
Received: (from bpietsch@localhost)
	by papageno.cipic.ucdavis.edu (8.11.2/8.11.2) id f6TKLSx27928
	for bug-commoncpp@gnu.org; Sun, 29 Jul 2001 13:21:28 -0700
Date: Sun, 29 Jul 2001 13:21:27 -0700
From: Bernhard Pietsch <bjpietsch@ucdavis.edu>
To: bug-commoncpp@gnu.org
Subject: OnAccept old/new stuff
Message-ID: <20010729132127.A27880@papageno.cipic.ucdavis.edu>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

[About CommonC++, version 1.5.0:]

I not really understood what is the significant difference between

  OnAccept (const InetHostAddress &, short)

and

  OnAccept (const InetHostAddress &, unsigned short),

and why you complain about any connection where both "interpretations" of this method return
"true" (Line 1137 in socket.cpp).
Of course, there won't be any correct connects with port numbers where (unsigned short) = (short).

So what is this for?

thx, Bernhard


From draky@iate.obninsk.ru Mon Jul 30 09:25:23 2001
Received: from [195.28.33.58] (helo=yarmac.ru)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15RD2w-0008CM-00
	for <bug-commoncpp@gnu.org>; Mon, 30 Jul 2001 09:25:23 -0400
Received: from [195.28.41.8] (account draky HELO iate.obninsk.ru)
  by yarmac.ru (CommuniGate Pro SMTP 3.4b9)
  with ESMTP id 1120972 for bug-commoncpp@gnu.org; Mon, 30 Jul 2001 17:25:02 +0000
Message-ID: <3B65602B.9409839E@iate.obninsk.ru>
Date: Mon, 30 Jul 2001 17:24:59 +0400
From: "Draky J. Void" <draky@iate.obninsk.ru>
Reply-To: draky@yarmac.ru
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.7 i686)
X-Accept-Language: ru, en
MIME-Version: 1.0
To: bug-commoncpp@gnu.org
Subject: a small bug?
Content-Type: multipart/mixed;
 boundary="------------206C75C2BCD56A0C4D6B91B3"
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

This is a multi-part message in MIME format.
--------------206C75C2BCD56A0C4D6B91B3
Content-Type: text/plain; charset=koi8-r
Content-Transfer-Encoding: 7bit

   Hello!

When trying to compile something that inlcludes <cc++/thread.h>, I get
the following error:

/usr/local/include/cc++/thread.h:189:  syntax error before ';"

from file cc++/thread.h:

...

class ThreadLock
{
private:
#ifdef HAVE_PTHREAD_RWLOCK
            pthread_rwlock_t _lock;                 <<--this is the line
189 where the error happens.
#else
            pthread_mutex_t _lock;
#endif

....

Changing #define HAVE_PTHREAD_RWLOCK to #undef HAVE_PTHREAD_RWLOCK in
config.h solves the problem. But
my system has rwlock, and I cannot realise why the error happens. Maybe
I'm doing something wrong?

OS: Linux-Mandrake 8.0, kernel 2.4.7, glibc2.2.
config.h generated by ./configure script on my machine is attached to
the letter. config.def too.


---
Regards, Draky J. Void.


--------------206C75C2BCD56A0C4D6B91B3
Content-Type: text/plain; charset=koi8-r;
 name="config.h"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="config.h"

/* posix/config.h.  Generated automatically by configure.  */
/* posix/config.h.in.  Generated automatically from configure.in by autoheader.  */
/*
** This file has been automatically generated by 'acconfig' from aclocal.m4
** Copyright (C) 1988 Eleftherios Gkioulekas <lf@amath.washington.edu>
**  
** This file is free software; as a special exception the author gives
** unlimited permission to copy and/or distribute it, with or without 
** modifications, as long as this notice is preserved.
** 
** This program is distributed in the hope that it will be useful, but
** WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
** implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
*/

#ifndef	__CCXX_CONFIG_H__
#define	__CCXX_CONFIG_H__
/* This is the top section */


/* Define if you have <unistd.h>.  */
#define HAVE_UNISTD_H 1

/* Define if on MINIX.  */
/* #undef _MINIX */

/* Define if the system does not provide POSIX.1 features except
   with this defined.  */
/* #undef _POSIX_1_SOURCE */

/* Define if you need to in order for stat and other things to work.  */
/* #undef _POSIX_SOURCE */

/* Define as the return type of signal handlers (int or void).  */
#define RETSIGTYPE void

/* Define if you can safely include both <sys/time.h> and <time.h>.  */
#define TIME_WITH_SYS_TIME 1

/* And now the rest of the boys */
#define __DLL
#define __EXPORT
#define __MEMBER_EXPORT
/* #undef __DLLRTL */
#define __NAMESPACES__ 1
#define HAVE_BOOL_TYPE 1
#define HAVE_EXCEPTION_HANDLING 1
#define HAVE_ENDIAN_H 1
/* #undef __BYTE_ORDER */
#define HAVE_SYS_FCNTL_H 1
#define HAVE_FCNTL_H 1
#define HAVE_SYS_TYPES_STD 1
#define HAVE_SYS_TYPES_64 1
#define HAVE_LONG_LONG 1
/* #undef HAVE_64_BITS */
#define HAVE_SYS_TYPES_H 1
#define HAVE_SIGACTION 1
/* #undef HAVE_BSD_SIGNAL_H */
#define HAVE_STRCASECMP 1
#define HAVE_STRDUP 1
#define HAVE_SETITIMER 1
#define HAVE_STRINGS_H 1
/* #undef HAVE_DLOPEN */
#define HAVE_SIGWAIT2 1
#define HAVE_MODULES 1
#define HAVE_DLFCN_H 1
#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#define HAVE_PTHREAD_MUTEXATTR_SETTYPE 1
/* #undef HAVE_PTHREAD_MUTEXATTR_SETTYPE_NP */
/* #undef HAVE_PTHREAD_MUTEXATTR_SETKIND_NP */
#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
/* #undef HAVE_PTHREAD_DELAY_NP */
/* #undef HAVE_PTHREAD_SCHED_YIELD */
#define HAVE_PTHREAD_YIELD 1
#define HAVE_PTHREAD_NANOSLEEP 1
#define HAVE_PTHREAD_CANCEL 1
#define HAVE_PTHREAD_SETCANCELTYPE 1
/* #undef HAVE_PTHREAD_SETCANCEL */
#define HAVE_PTHREAD_RWLOCK 1
#define HAVE_PREAD_PWRITE 1
#define HAVE_ASM_ATOMIC_H 1
/* #undef HAVE_SYS_ATOMIC_H */
#define HAVE_SYS_TIME_H 1
#define HAVE_GETOPT_H 1
#define HAVE_GETOPT_LONG 1
/* #undef HAVE_LIBXML */
#define TIME_WITH_SYS_TIME 1
#define _POSIX_PII_SOCKET
#define HAVE_SYS_SOCKET_H 1
#define HAVE_ARPA_INET_H 1
#define HAVE_NETINET_IN_SYSTM_H 1
#define HAVE_NETINET_IP_H 1
#define HAVE_SYS_UN_H 1
/* #undef HAVE_SELECT_H */
#define HAVE_SYS_SELECT_H 1
#define HAVE_INET_ATON 1
#define HAVE_INET_SOCKETS 1
#define HAVE_UNIX_SOCKETS 1
#define HAVE_SOCKLEN_T 1
/* #undef HAVE_SYS_LIBCSYS_H */
/* #undef HAVE_SYS_STREAM_H */
#define HAVE_SYS_POLL_H 1
#define HAVE_POLL_H 1
/* #undef HAVE_ZLIB_H */
/* #undef COMMON_AIX_FIXES */
#define HAVE_FEATURES_H 1
#define HAVE_LOCALTIME_R 1
#define HAVE_STRTOK_R 1
#define HAVE_SETENV 1

/* Define if you have the getopt_long function.  */
#define HAVE_GETOPT_LONG 1

/* Define if you have the poll function.  */
#define HAVE_POLL 1

/* Define if you have the setenv function.  */
#define HAVE_SETENV 1

/* Define if you have the setitimer function.  */
#define HAVE_SETITIMER 1

/* Define if you have the sigaction function.  */
#define HAVE_SIGACTION 1

/* Define if you have the strcasecmp function.  */
#define HAVE_STRCASECMP 1

/* Define if you have the strdup function.  */
#define HAVE_STRDUP 1

/* Define if you have the <arpa/inet.h> header file.  */
#define HAVE_ARPA_INET_H 1

/* Define if you have the <bsd/signal.h> header file.  */
/* #undef HAVE_BSD_SIGNAL_H */

/* Define if you have the <dlfcn.h> header file.  */
#define HAVE_DLFCN_H 1

/* Define if you have the <fcntl.h> header file.  */
#define HAVE_FCNTL_H 1

/* Define if you have the <features.h> header file.  */
#define HAVE_FEATURES_H 1

/* Define if you have the <getopt.h> header file.  */
#define HAVE_GETOPT_H 1

/* Define if you have the <netinet/in_systm.h> header file.  */
#define HAVE_NETINET_IN_SYSTM_H 1

/* Define if you have the <netinet/ip.h> header file.  */
#define HAVE_NETINET_IP_H 1

/* Define if you have the <poll.h> header file.  */
#define HAVE_POLL_H 1

/* Define if you have the <pthread.h> header file.  */
#define HAVE_PTHREAD_H 1

/* Define if you have the <pthread_np.h> header file.  */
/* #undef HAVE_PTHREAD_NP_H */

/* Define if you have the <sched.h> header file.  */
#define HAVE_SCHED_H 1

/* Define if you have the <select.h> header file.  */
/* #undef HAVE_SELECT_H */

/* Define if you have the <semaphore.h> header file.  */
#define HAVE_SEMAPHORE_H 1

/* Define if you have the <strings.h> header file.  */
#define HAVE_STRINGS_H 1

/* Define if you have the <sys/fcntl.h> header file.  */
#define HAVE_SYS_FCNTL_H 1

/* Define if you have the <sys/file.h> header file.  */
#define HAVE_SYS_FILE_H 1

/* Define if you have the <sys/libcsys.h> header file.  */
/* #undef HAVE_SYS_LIBCSYS_H */

/* Define if you have the <sys/poll.h> header file.  */
#define HAVE_SYS_POLL_H 1

/* Define if you have the <sys/sched.h> header file.  */
/* #undef HAVE_SYS_SCHED_H */

/* Define if you have the <sys/select.h> header file.  */
#define HAVE_SYS_SELECT_H 1

/* Define if you have the <sys/socket.h> header file.  */
#define HAVE_SYS_SOCKET_H 1

/* Define if you have the <sys/stream.h> header file.  */
/* #undef HAVE_SYS_STREAM_H */

/* Define if you have the <sys/time.h> header file.  */
#define HAVE_SYS_TIME_H 1

/* Define if you have the <sys/types.h> header file.  */
#define HAVE_SYS_TYPES_H 1

/* Define if you have the <sys/un.h> header file.  */
#define HAVE_SYS_UN_H 1

/* Define if you have the <thread.h> header file.  */
/* #undef HAVE_THREAD_H */

/* Define if you have the <unistd.h> header file.  */
#define HAVE_UNISTD_H 1

/* Define if you have the <winsock.h> header file.  */
/* #undef HAVE_WINSOCK_H */

/* Define if you have the <zlib.h> header file.  */
/* #undef HAVE_ZLIB_H */

/* Define if you have the malloc library (-lmalloc).  */
/* #undef HAVE_LIBMALLOC */

/* Name of package */
#define PACKAGE "CommonC++"

/* Version number of package */
#define VERSION "1.5.0"


#ifdef _AIX
#ifndef	_ALL_SOURCE
#define	_ALL_SOURCE
#endif
#endif

#ifndef	_REENTRANT
#define _REENTRANT 1
#endif
#ifndef _THREAD_SAFE
#define _THREAD_SAFE 1
#endif
#ifndef _GNU_SOURCE
#define _GNU_SOURCE 1
#endif
#ifndef _XOPEN_SOURCE
#define _XOPEN_SOURCE 500
#endif
#ifndef	_POSIX_PTHREAD_SEMANTICS
#define	_POSIX_PTHREAD_SEMANTICS
#endif

#ifdef	__hpux
#ifndef	_XOPEN_SOURCE_EXTENDED
#define	_XOPEN_SOURCE_EXTENDED
#endif
#ifdef	mutable
/* #undef	mutable */
#endif
#endif

#ifdef	HAVE_FEATURES_H
#include <features.h>
#endif

/* This is the bottom section */
  
#ifdef HAVE_ENDIAN_H
#include <endian.h>
#else
#define __LITTLE_ENDIAN 1234
#define __BIG_ENDIAN 4321
#endif

 
#if defined(__sun) || defined(__SUN__)
#define __EXTENSIONS__
#endif

#ifndef HAVE_FCNTL_H
#ifdef HAVE_SYS_FCNTL_H
#include <sys/fcntl.h>
#endif
#else
#include <fcntl.h>
#ifndef O_NDELAY
#ifdef HAVE_SYS_FCNTL_H
#include <sys/fcntl.h>
#endif
#endif
#endif

#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif

 
#ifdef HAVE_SYS_TYPES_H
#include <sys/types.h>
#endif
#ifdef HAVE_SYS_TYPES_STD
typedef int8_t int8;
typedef u_int8_t uint8;
typedef int16_t int16;
typedef u_int16_t uint16;
typedef int32_t int32;
typedef u_int32_t uint32;
#ifdef HAVE_SYS_TYPES_64
#define HAVE_64_BITS
typedef int64_t int64;
typedef u_int64_t uint64;
#endif
#else
typedef char int8;
typedef unsigned char uint8;
typedef short int16;
typedef unsigned short uint16;
typedef int int32;
typedef unsigned int uint32;
#endif
#ifndef HAVE_SYS_TYPES_64
#if defined(HAVE_LONG_LONG) || defined(_LONGLONG)
#define HAVE_64_BITS
typedef long long int64;
typedef unsigned long long uint64;
#else
#ifdef __arch64__
#define HAVE_64_BITS
typedef long int int64;
typedef unsigned long int uint64;
#endif
#endif
#endif

 
#ifdef HAVE_SIGACTION
#ifdef HAVE_BSD_SIGNAL_H
/* #undef HAVE_BSD_SIGNAL_H */
#endif
#endif

#ifdef HAVE_BSD_SIGNAL_H
#include <bsd/signal.h>
#else
#include <signal.h>
#endif

#ifndef SA_ONESHOT
#define SA_ONESHOT SA_RESETHAND
#endif

 
#include <string.h>
#ifdef HAVE_STRINGS_H
#include <strings.h>
#endif

#ifdef HAVE_STRCASECMP
#ifndef stricmp
#define stricmp(x,y) strcasecmp(x,y)
#endif
#ifndef strnicmp
#define strnicmp(x,y,n) strncasecmp(x,y,n)
#endif
#endif

#ifndef HAVE_STRDUP
#define strdup(s) (char *)malloc(strlen(s))
#endif


#ifdef HAVE_THREAD_H
#include "/usr/include/thread.h"
#if defined(i386) && defined(__svr4__)
#define _THR_UNIXWARE
#endif
#if defined(__SVR4) && defined(__sun)
#define _THR_SUNOS5
#else
#if defined(__SVR4__) && defined(__SUN__)
#define _THR_SUNOS5
#endif
#endif
#endif

#ifdef HAVE_SYS_ATOMIC_H
#include <sys/atomic.h>
#define HAVE_ATOMIC
#else
#ifdef HAVE_ASM_ATOMIC_H
#include <asm/atomic.h>
#define HAVE_ATOMIC
#endif
#endif

#if defined(HAVE_PTHREAD_H) && ( defined(_THREAD_SAFE) || defined(_REENTRANT) )

#include <pthread.h>

#ifdef HAVE_PTHREAD_NP_H
#include <pthread_np.h>
#endif
#ifdef HAVE_SEMAPHORE_H
#include <semaphore.h>
#endif
#ifdef _POSIX_PRIORITY_SCHEDULING
#ifdef HAVE_SCHED_H
#include <sched.h>
#else
#ifdef HAVE_SYS_SCHED_H
#include <sys/sched.h>
#endif
#endif
#endif

#define __PTHREAD_H__
#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
#ifdef  MUTEX_TYPE_COUNTING_FAST
#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#endif
#endif
#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
#ifdef  PTHREAD_MUTEX_RECURSIVE
#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#endif
#endif
#ifndef HAVE_PTHREAD_MUTEXATTR_SETTYPE
#if     HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#endif
#define pthread_mutexattr_gettype(x, y) pthread_mutexattr_getkind_np(x, y)
#define pthread_mutexattr_settype(x, y) pthread_mutexattr_setkind_np(x, y)
#endif 
#if     HAVE_PTHREAD_MUTEXATTR_SETTYPE_NP
#ifndef PTHREAD_MUTEXTYPE_RECURSIVE
#define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
#endif
#define pthread_mutexattr_settype(x, y) pthread_mutexattr_settype_np(x, y)
#define pthread_mutexattr_gettype(x, y) pthread_mutexattr_gettype_np(x, y)
#endif
#endif

#ifndef HAVE_PTHREAD_YIELD
#ifdef HAVE_PTHREAD_SCHED_YIELD
#define pthread_yield() sched_yield()
#define HAVE_PTHREAD_YIELD
#endif
#endif

#ifndef HAVE_PTHREAD_DELAY
#ifdef HAVE_PTHREAD_DELAY_NP
#define HAVE_PTHREAD_DELAY
#define pthread_delay(x) pthread_delay_np(x)
#endif
#ifdef HAVE_PTHREAD_NANOSLEEP
#ifndef HAVE_PTHREAD_DELAY
#define HAVE_PTHREAD_DELAY
#define pthread_delay(x) nanosleep(x, NULL)
#endif
#endif
#endif

#ifdef HAVE_PTHREAD_ATTR_SETSTACK
#ifndef PTHREAD_STACK_MIN
#define PTHREAD_STACK_MIN 32768
#endif
#endif

#ifndef HAVE_PTHREAD_CANCEL
#ifdef SIGCANCEL
#define _SIG_THREAD_CANCEL SIGCANCEL
#else
#define _SIG_THREAD_CANCEL SIGQUIT
#endif
#define pthread_cancel(x) pthread_kill(x, _SIG_THREAD_CANCEL)
#endif

#ifndef HAVE_PTHREAD_SETCANCELTYPE
#ifdef HAVE_PTHREAD_SETCANCEL
enum
{ PTHREAD_CANCEL_ASYNCHRONOUS = CANCEL_ON,
  PTHREAD_CANCEL_DEFERRED = CANCEL_OFF};
enum
{ PTHREAD_CANCEL_ENABLE = CANCEL_ON,
  PTHREAD_CANCEL_DISABLE = CANCEL_OFF};
#define pthread_setcancelstate(x, y) \
	(y == NULL) ? pthread_setcancel(x) : *y = pthread_setcancel
#define pthread_setcanceltype(x, y) \
	(y == NULL) ? pthread_setasynccancel(x) | *y = pthread_setasynccancel(x)
#else
#define pthread_setcanceltype(x, y)
#define pthread_setcancelstate(x, y)
#endif
#endif

#endif

 
#if TIME_WITH_SYS_TIME
#include <sys/time.h>
#include <time.h>
#else
#if HAVE_SYS_TIME_H
#include <sys/time.h>
#else
#include <time.h>
#endif
#endif

#ifndef HAVE_STRTOK_R
#define strtok_r(s, d, r) strtok(s, d)
#endif                                                                      

#ifndef HAVE_LOCALTIME_R
#define localtime_r(t, b) localtime(t)
#define ctime_r(t, b) ctime(t)
#define gmtime_r(t, b) gmtime(t)
#define asctime_r(t, b) asctime(t)
#endif

#ifdef HAVE_SYS_LIBCSYS_H
#include <sys/libcsys.h>
#endif
 
#ifdef HAVE_WINSOCK_H
#include <winsock.h>
#else
#ifdef HAVE_SYS_SOCKET_H
#include <sys/socket.h>
#ifdef HAVE_SELECT_H
#include <select.h>
#else
#ifdef HAVE_SYS_SELECT_H
#include <sys/select.h>
#endif
#endif
#ifdef HAVE_ARPA_INET_H
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#endif
#ifdef HAVE_NETINET_IN_SYSTM_H
#include <netinet/in_systm.h>
#endif
#ifdef HAVE_NETINET_IP_H
#include <netinet/ip.h>
#endif
#ifdef HAVE_SYS_UN_H
#include <sys/un.h>
#endif
#endif
#endif

#ifndef HAVE_INET_ATON
#define inet_aton(cp, addr) \
	(((*(unsigned long int *)(addr)) = inet_addr(cp)) != -1)
#endif

#ifndef SUN_LEN
#ifdef SCM_RIGHTS
#define HAVE_UN_LEN
#endif
#ifdef __linux
#define HAVE_UN_LEN
#endif
#ifdef HAVE_UN_LEN
#define SUN_LEN(ptr) sizeof(sockaddr_un.sun_len) + \
	sizeof(sockaddr_un.sun_family) + sizeof(sockaddr_un.sun_path) + 1
#else
#define SUN_LEN(ptr) ((size_t)((struct sockaddr_un *)0)->sun_path) \
	+ strlen((ptr)->sun_path))
#endif
#endif

#ifndef HAVE_SOCKLEN_T
#if defined(i386) && defined(__svr4__)
#define HAVE_SOCKLEN_U
#endif
#ifdef HAVE_SOCKLEN_U
typedef unsigned socklen_t;
#else
typedef int socklen_t;
#endif
#endif

 
#ifdef HAVE_POLL_H
#include <poll.h>
#else
#ifdef HAVE_SYS_POLL_H
#include <sys/poll.h>
#endif
#endif

/**
 ** define these after the last system header has been included
 ** so that these do not interfere with them.
 **/

// Add bool support if missing
#ifndef HAVE_BOOL_TYPE
typedef enum { true=1, false=0 } bool;
#endif

// replace 'throw' with abort for libs on broken C++
#ifndef HAVE_EXCEPTION_HANDLING
/* throw - replacement to throw an exception */
#define THROW(x) abort()
/* throw - replacement to declare an exception */
#define THROWS(x)
/*
 * work around dangeling if/else combinations:
 */
#define try if(0) ; else
#define catch(x) if(1) ; else
#else
#define THROW(x) throw x
#define THROWS(x) throw(x)
#endif

#ifdef	__NAMESPACES__
#define	USING(x)	using namespace x;
#else
#define	USING(x)
#endif

#ifdef	__KCC
#define	KAI_NONSTD_IOSTREAM 1
#endif

#ifdef __FreeBSD__
#define	ETC_PREFIX "/usr/local/etc/"
#endif

#ifndef	ETC_PREFIX
#define	ETC_PREFIX "/etc/"
#endif

#endif

--------------206C75C2BCD56A0C4D6B91B3
Content-Type: text/plain; charset=koi8-r;
 name="config.def"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="config.def"

# Used to hold linker flags for "autoconfig" of applications
# Commonly accessed through grep and sed.

flags:-D_REENTRANT -D_THREAD_SAFE  -g -O2 -D_GNU_SOURCE
link: -pthread 
load:-ldl
extra:

--------------206C75C2BCD56A0C4D6B91B3--



From dyfet@ostel.com Mon Jul 30 10:00:12 2001
Received: from [63.124.177.154] (helo=home.sys)
	by fencepost.gnu.org with smtp (Exim 3.22 #1 (Debian))
	id 15RDaa-0001f2-00
	for <bug-commoncpp@gnu.org>; Mon, 30 Jul 2001 10:00:08 -0400
Received: from ostel.com (home.sys [172.16.1.254])
	by home.sys (Postfix) with ESMTP
	id 885A6A3B28; Mon, 30 Jul 2001 09:56:03 -0400 (EDT)
Message-ID: <3B656773.3040608@ostel.com>
Date: Mon, 30 Jul 2001 09:56:03 -0400
From: David Sugar <dyfet@ostel.com>
Organization: OST
User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-9mdk i686; en-US; m18) Gecko/20001013
X-Accept-Language: en
MIME-Version: 1.0
To: draky@yarmac.ru
Cc: bug-commoncpp@gnu.org
Subject: Re: a small bug?
References: <3B65602B.9409839E@iate.obninsk.ru>
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

You must compile using the compile time flags and options returned by 
"ccgnu-config --flags"

Draky J. Void wrote:

>    Hello!
> 
> When trying to compile something that inlcludes <cc++/thread.h>, I get
> the following error:
> 
> /usr/local/include/cc++/thread.h:189:  syntax error before ';"
> 
> from file cc++/thread.h:
> 
> ...
> 
> class ThreadLock
> {
> private:
> #ifdef HAVE_PTHREAD_RWLOCK
>             pthread_rwlock_t _lock;                 <<--this is the line
> 189 where the error happens.
> #else
>             pthread_mutex_t _lock;
> #endif
> 
> ....
> 
> Changing #define HAVE_PTHREAD_RWLOCK to #undef HAVE_PTHREAD_RWLOCK in
> config.h solves the problem. But
> my system has rwlock, and I cannot realise why the error happens. Maybe
> I'm doing something wrong?
> 
> OS: Linux-Mandrake 8.0, kernel 2.4.7, glibc2.2.
> config.h generated by ./configure script on my machine is attached to
> the letter. config.def too.
> 
> 
> ---
> Regards, Draky J. Void.
> 
> 
> 
> ------------------------------------------------------------------------
> 
> /* posix/config.h.  Generated automatically by configure.  */
> /* posix/config.h.in.  Generated automatically from configure.in by autoheader.  */
> /*
> ** This file has been automatically generated by 'acconfig' from aclocal.m4
> ** Copyright (C) 1988 Eleftherios Gkioulekas <lf@amath.washington.edu>
> **  
> ** This file is free software; as a special exception the author gives
> ** unlimited permission to copy and/or distribute it, with or without 
> ** modifications, as long as this notice is preserved.
> ** 
> ** This program is distributed in the hope that it will be useful, but
> ** WITHOUT ANY WARRANTY, to the extent permitted by law; without even the
> ** implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> */
> 
> #ifndef	__CCXX_CONFIG_H__
> #define	__CCXX_CONFIG_H__
> /* This is the top section */
> 
> 
> /* Define if you have <unistd.h>.  */
> #define HAVE_UNISTD_H 1
> 
> /* Define if on MINIX.  */
> /* #undef _MINIX */
> 
> /* Define if the system does not provide POSIX.1 features except
>    with this defined.  */
> /* #undef _POSIX_1_SOURCE */
> 
> /* Define if you need to in order for stat and other things to work.  */
> /* #undef _POSIX_SOURCE */
> 
> /* Define as the return type of signal handlers (int or void).  */
> #define RETSIGTYPE void
> 
> /* Define if you can safely include both <sys/time.h> and <time.h>.  */
> #define TIME_WITH_SYS_TIME 1
> 
> /* And now the rest of the boys */
> #define __DLL
> #define __EXPORT
> #define __MEMBER_EXPORT
> /* #undef __DLLRTL */
> #define __NAMESPACES__ 1
> #define HAVE_BOOL_TYPE 1
> #define HAVE_EXCEPTION_HANDLING 1
> #define HAVE_ENDIAN_H 1
> /* #undef __BYTE_ORDER */
> #define HAVE_SYS_FCNTL_H 1
> #define HAVE_FCNTL_H 1
> #define HAVE_SYS_TYPES_STD 1
> #define HAVE_SYS_TYPES_64 1
> #define HAVE_LONG_LONG 1
> /* #undef HAVE_64_BITS */
> #define HAVE_SYS_TYPES_H 1
> #define HAVE_SIGACTION 1
> /* #undef HAVE_BSD_SIGNAL_H */
> #define HAVE_STRCASECMP 1
> #define HAVE_STRDUP 1
> #define HAVE_SETITIMER 1
> #define HAVE_STRINGS_H 1
> /* #undef HAVE_DLOPEN */
> #define HAVE_SIGWAIT2 1
> #define HAVE_MODULES 1
> #define HAVE_DLFCN_H 1
> #define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
> #define HAVE_PTHREAD_MUTEXATTR_SETTYPE 1
> /* #undef HAVE_PTHREAD_MUTEXATTR_SETTYPE_NP */
> /* #undef HAVE_PTHREAD_MUTEXATTR_SETKIND_NP */
> #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
> /* #undef HAVE_PTHREAD_DELAY_NP */
> /* #undef HAVE_PTHREAD_SCHED_YIELD */
> #define HAVE_PTHREAD_YIELD 1
> #define HAVE_PTHREAD_NANOSLEEP 1
> #define HAVE_PTHREAD_CANCEL 1
> #define HAVE_PTHREAD_SETCANCELTYPE 1
> /* #undef HAVE_PTHREAD_SETCANCEL */
> #define HAVE_PTHREAD_RWLOCK 1
> #define HAVE_PREAD_PWRITE 1
> #define HAVE_ASM_ATOMIC_H 1
> /* #undef HAVE_SYS_ATOMIC_H */
> #define HAVE_SYS_TIME_H 1
> #define HAVE_GETOPT_H 1
> #define HAVE_GETOPT_LONG 1
> /* #undef HAVE_LIBXML */
> #define TIME_WITH_SYS_TIME 1
> #define _POSIX_PII_SOCKET
> #define HAVE_SYS_SOCKET_H 1
> #define HAVE_ARPA_INET_H 1
> #define HAVE_NETINET_IN_SYSTM_H 1
> #define HAVE_NETINET_IP_H 1
> #define HAVE_SYS_UN_H 1
> /* #undef HAVE_SELECT_H */
> #define HAVE_SYS_SELECT_H 1
> #define HAVE_INET_ATON 1
> #define HAVE_INET_SOCKETS 1
> #define HAVE_UNIX_SOCKETS 1
> #define HAVE_SOCKLEN_T 1
> /* #undef HAVE_SYS_LIBCSYS_H */
> /* #undef HAVE_SYS_STREAM_H */
> #define HAVE_SYS_POLL_H 1
> #define HAVE_POLL_H 1
> /* #undef HAVE_ZLIB_H */
> /* #undef COMMON_AIX_FIXES */
> #define HAVE_FEATURES_H 1
> #define HAVE_LOCALTIME_R 1
> #define HAVE_STRTOK_R 1
> #define HAVE_SETENV 1
> 
> /* Define if you have the getopt_long function.  */
> #define HAVE_GETOPT_LONG 1
> 
> /* Define if you have the poll function.  */
> #define HAVE_POLL 1
> 
> /* Define if you have the setenv function.  */
> #define HAVE_SETENV 1
> 
> /* Define if you have the setitimer function.  */
> #define HAVE_SETITIMER 1
> 
> /* Define if you have the sigaction function.  */
> #define HAVE_SIGACTION 1
> 
> /* Define if you have the strcasecmp function.  */
> #define HAVE_STRCASECMP 1
> 
> /* Define if you have the strdup function.  */
> #define HAVE_STRDUP 1
> 
> /* Define if you have the <arpa/inet.h> header file.  */
> #define HAVE_ARPA_INET_H 1
> 
> /* Define if you have the <bsd/signal.h> header file.  */
> /* #undef HAVE_BSD_SIGNAL_H */
> 
> /* Define if you have the <dlfcn.h> header file.  */
> #define HAVE_DLFCN_H 1
> 
> /* Define if you have the <fcntl.h> header file.  */
> #define HAVE_FCNTL_H 1
> 
> /* Define if you have the <features.h> header file.  */
> #define HAVE_FEATURES_H 1
> 
> /* Define if you have the <getopt.h> header file.  */
> #define HAVE_GETOPT_H 1
> 
> /* Define if you have the <netinet/in_systm.h> header file.  */
> #define HAVE_NETINET_IN_SYSTM_H 1
> 
> /* Define if you have the <netinet/ip.h> header file.  */
> #define HAVE_NETINET_IP_H 1
> 
> /* Define if you have the <poll.h> header file.  */
> #define HAVE_POLL_H 1
> 
> /* Define if you have the <pthread.h> header file.  */
> #define HAVE_PTHREAD_H 1
> 
> /* Define if you have the <pthread_np.h> header file.  */
> /* #undef HAVE_PTHREAD_NP_H */
> 
> /* Define if you have the <sched.h> header file.  */
> #define HAVE_SCHED_H 1
> 
> /* Define if you have the <select.h> header file.  */
> /* #undef HAVE_SELECT_H */
> 
> /* Define if you have the <semaphore.h> header file.  */
> #define HAVE_SEMAPHORE_H 1
> 
> /* Define if you have the <strings.h> header file.  */
> #define HAVE_STRINGS_H 1
> 
> /* Define if you have the <sys/fcntl.h> header file.  */
> #define HAVE_SYS_FCNTL_H 1
> 
> /* Define if you have the <sys/file.h> header file.  */
> #define HAVE_SYS_FILE_H 1
> 
> /* Define if you have the <sys/libcsys.h> header file.  */
> /* #undef HAVE_SYS_LIBCSYS_H */
> 
> /* Define if you have the <sys/poll.h> header file.  */
> #define HAVE_SYS_POLL_H 1
> 
> /* Define if you have the <sys/sched.h> header file.  */
> /* #undef HAVE_SYS_SCHED_H */
> 
> /* Define if you have the <sys/select.h> header file.  */
> #define HAVE_SYS_SELECT_H 1
> 
> /* Define if you have the <sys/socket.h> header file.  */
> #define HAVE_SYS_SOCKET_H 1
> 
> /* Define if you have the <sys/stream.h> header file.  */
> /* #undef HAVE_SYS_STREAM_H */
> 
> /* Define if you have the <sys/time.h> header file.  */
> #define HAVE_SYS_TIME_H 1
> 
> /* Define if you have the <sys/types.h> header file.  */
> #define HAVE_SYS_TYPES_H 1
> 
> /* Define if you have the <sys/un.h> header file.  */
> #define HAVE_SYS_UN_H 1
> 
> /* Define if you have the <thread.h> header file.  */
> /* #undef HAVE_THREAD_H */
> 
> /* Define if you have the <unistd.h> header file.  */
> #define HAVE_UNISTD_H 1
> 
> /* Define if you have the <winsock.h> header file.  */
> /* #undef HAVE_WINSOCK_H */
> 
> /* Define if you have the <zlib.h> header file.  */
> /* #undef HAVE_ZLIB_H */
> 
> /* Define if you have the malloc library (-lmalloc).  */
> /* #undef HAVE_LIBMALLOC */
> 
> /* Name of package */
> #define PACKAGE "CommonC++"
> 
> /* Version number of package */
> #define VERSION "1.5.0"
> 
> 
> #ifdef _AIX
> #ifndef	_ALL_SOURCE
> #define	_ALL_SOURCE
> #endif
> #endif
> 
> #ifndef	_REENTRANT
> #define _REENTRANT 1
> #endif
> #ifndef _THREAD_SAFE
> #define _THREAD_SAFE 1
> #endif
> #ifndef _GNU_SOURCE
> #define _GNU_SOURCE 1
> #endif
> #ifndef _XOPEN_SOURCE
> #define _XOPEN_SOURCE 500
> #endif
> #ifndef	_POSIX_PTHREAD_SEMANTICS
> #define	_POSIX_PTHREAD_SEMANTICS
> #endif
> 
> #ifdef	__hpux
> #ifndef	_XOPEN_SOURCE_EXTENDED
> #define	_XOPEN_SOURCE_EXTENDED
> #endif
> #ifdef	mutable
> /* #undef	mutable */
> #endif
> #endif
> 
> #ifdef	HAVE_FEATURES_H
> #include <features.h>
> #endif
> 
> /* This is the bottom section */
>   
> #ifdef HAVE_ENDIAN_H
> #include <endian.h>
> #else
> #define __LITTLE_ENDIAN 1234
> #define __BIG_ENDIAN 4321
> #endif
> 
>  
> #if defined(__sun) || defined(__SUN__)
> #define __EXTENSIONS__
> #endif
> 
> #ifndef HAVE_FCNTL_H
> #ifdef HAVE_SYS_FCNTL_H
> #include <sys/fcntl.h>
> #endif
> #else
> #include <fcntl.h>
> #ifndef O_NDELAY
> #ifdef HAVE_SYS_FCNTL_H
> #include <sys/fcntl.h>
> #endif
> #endif
> #endif
> 
> #ifdef HAVE_UNISTD_H
> #include <unistd.h>
> #endif
> 
>  
> #ifdef HAVE_SYS_TYPES_H
> #include <sys/types.h>
> #endif
> #ifdef HAVE_SYS_TYPES_STD
> typedef int8_t int8;
> typedef u_int8_t uint8;
> typedef int16_t int16;
> typedef u_int16_t uint16;
> typedef int32_t int32;
> typedef u_int32_t uint32;
> #ifdef HAVE_SYS_TYPES_64
> #define HAVE_64_BITS
> typedef int64_t int64;
> typedef u_int64_t uint64;
> #endif
> #else
> typedef char int8;
> typedef unsigned char uint8;
> typedef short int16;
> typedef unsigned short uint16;
> typedef int int32;
> typedef unsigned int uint32;
> #endif
> #ifndef HAVE_SYS_TYPES_64
> #if defined(HAVE_LONG_LONG) || defined(_LONGLONG)
> #define HAVE_64_BITS
> typedef long long int64;
> typedef unsigned long long uint64;
> #else
> #ifdef __arch64__
> #define HAVE_64_BITS
> typedef long int int64;
> typedef unsigned long int uint64;
> #endif
> #endif
> #endif
> 
>  
> #ifdef HAVE_SIGACTION
> #ifdef HAVE_BSD_SIGNAL_H
> /* #undef HAVE_BSD_SIGNAL_H */
> #endif
> #endif
> 
> #ifdef HAVE_BSD_SIGNAL_H
> #include <bsd/signal.h>
> #else
> #include <signal.h>
> #endif
> 
> #ifndef SA_ONESHOT
> #define SA_ONESHOT SA_RESETHAND
> #endif
> 
>  
> #include <string.h>
> #ifdef HAVE_STRINGS_H
> #include <strings.h>
> #endif
> 
> #ifdef HAVE_STRCASECMP
> #ifndef stricmp
> #define stricmp(x,y) strcasecmp(x,y)
> #endif
> #ifndef strnicmp
> #define strnicmp(x,y,n) strncasecmp(x,y,n)
> #endif
> #endif
> 
> #ifndef HAVE_STRDUP
> #define strdup(s) (char *)malloc(strlen(s))
> #endif
> 
> 
> #ifdef HAVE_THREAD_H
> #include "/usr/include/thread.h"
> #if defined(i386) && defined(__svr4__)
> #define _THR_UNIXWARE
> #endif
> #if defined(__SVR4) && defined(__sun)
> #define _THR_SUNOS5
> #else
> #if defined(__SVR4__) && defined(__SUN__)
> #define _THR_SUNOS5
> #endif
> #endif
> #endif
> 
> #ifdef HAVE_SYS_ATOMIC_H
> #include <sys/atomic.h>
> #define HAVE_ATOMIC
> #else
> #ifdef HAVE_ASM_ATOMIC_H
> #include <asm/atomic.h>
> #define HAVE_ATOMIC
> #endif
> #endif
> 
> #if defined(HAVE_PTHREAD_H) && ( defined(_THREAD_SAFE) || defined(_REENTRANT) )
> 
> #include <pthread.h>
> 
> #ifdef HAVE_PTHREAD_NP_H
> #include <pthread_np.h>
> #endif
> #ifdef HAVE_SEMAPHORE_H
> #include <semaphore.h>
> #endif
> #ifdef _POSIX_PRIORITY_SCHEDULING
> #ifdef HAVE_SCHED_H
> #include <sched.h>
> #else
> #ifdef HAVE_SYS_SCHED_H
> #include <sys/sched.h>
> #endif
> #endif
> #endif
> 
> #define __PTHREAD_H__
> #ifndef PTHREAD_MUTEXTYPE_RECURSIVE
> #ifdef  MUTEX_TYPE_COUNTING_FAST
> #define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
> #endif
> #endif
> #ifndef PTHREAD_MUTEXTYPE_RECURSIVE
> #ifdef  PTHREAD_MUTEX_RECURSIVE
> #define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
> #endif
> #endif
> #ifndef HAVE_PTHREAD_MUTEXATTR_SETTYPE
> #if     HAVE_PTHREAD_MUTEXATTR_SETKIND_NP
> #ifndef PTHREAD_MUTEXTYPE_RECURSIVE
> #define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
> #endif
> #define pthread_mutexattr_gettype(x, y) pthread_mutexattr_getkind_np(x, y)
> #define pthread_mutexattr_settype(x, y) pthread_mutexattr_setkind_np(x, y)
> #endif 
> #if     HAVE_PTHREAD_MUTEXATTR_SETTYPE_NP
> #ifndef PTHREAD_MUTEXTYPE_RECURSIVE
> #define PTHREAD_MUTEXTYPE_RECURSIVE PTHREAD_MUTEX_RECURSIVE_NP
> #endif
> #define pthread_mutexattr_settype(x, y) pthread_mutexattr_settype_np(x, y)
> #define pthread_mutexattr_gettype(x, y) pthread_mutexattr_gettype_np(x, y)
> #endif
> #endif
> 
> #ifndef HAVE_PTHREAD_YIELD
> #ifdef HAVE_PTHREAD_SCHED_YIELD
> #define pthread_yield() sched_yield()
> #define HAVE_PTHREAD_YIELD
> #endif
> #endif
> 
> #ifndef HAVE_PTHREAD_DELAY
> #ifdef HAVE_PTHREAD_DELAY_NP
> #define HAVE_PTHREAD_DELAY
> #define pthread_delay(x) pthread_delay_np(x)
> #endif
> #ifdef HAVE_PTHREAD_NANOSLEEP
> #ifndef HAVE_PTHREAD_DELAY
> #define HAVE_PTHREAD_DELAY
> #define pthread_delay(x) nanosleep(x, NULL)
> #endif
> #endif
> #endif
> 
> #ifdef HAVE_PTHREAD_ATTR_SETSTACK
> #ifndef PTHREAD_STACK_MIN
> #define PTHREAD_STACK_MIN 32768
> #endif
> #endif
> 
> #ifndef HAVE_PTHREAD_CANCEL
> #ifdef SIGCANCEL
> #define _SIG_THREAD_CANCEL SIGCANCEL
> #else
> #define _SIG_THREAD_CANCEL SIGQUIT
> #endif
> #define pthread_cancel(x) pthread_kill(x, _SIG_THREAD_CANCEL)
> #endif
> 
> #ifndef HAVE_PTHREAD_SETCANCELTYPE
> #ifdef HAVE_PTHREAD_SETCANCEL
> enum
> { PTHREAD_CANCEL_ASYNCHRONOUS = CANCEL_ON,
>   PTHREAD_CANCEL_DEFERRED = CANCEL_OFF};
> enum
> { PTHREAD_CANCEL_ENABLE = CANCEL_ON,
>   PTHREAD_CANCEL_DISABLE = CANCEL_OFF};
> #define pthread_setcancelstate(x, y) \
> 	(y == NULL) ? pthread_setcancel(x) : *y = pthread_setcancel
> #define pthread_setcanceltype(x, y) \
> 	(y == NULL) ? pthread_setasynccancel(x) | *y = pthread_setasynccancel(x)
> #else
> #define pthread_setcanceltype(x, y)
> #define pthread_setcancelstate(x, y)
> #endif
> #endif
> 
> #endif
> 
>  
> #if TIME_WITH_SYS_TIME
> #include <sys/time.h>
> #include <time.h>
> #else
> #if HAVE_SYS_TIME_H
> #include <sys/time.h>
> #else
> #include <time.h>
> #endif
> #endif
> 
> #ifndef HAVE_STRTOK_R
> #define strtok_r(s, d, r) strtok(s, d)
> #endif                                                                      
> 
> #ifndef HAVE_LOCALTIME_R
> #define localtime_r(t, b) localtime(t)
> #define ctime_r(t, b) ctime(t)
> #define gmtime_r(t, b) gmtime(t)
> #define asctime_r(t, b) asctime(t)
> #endif
> 
> #ifdef HAVE_SYS_LIBCSYS_H
> #include <sys/libcsys.h>
> #endif
>  
> #ifdef HAVE_WINSOCK_H
> #include <winsock.h>
> #else
> #ifdef HAVE_SYS_SOCKET_H
> #include <sys/socket.h>
> #ifdef HAVE_SELECT_H
> #include <select.h>
> #else
> #ifdef HAVE_SYS_SELECT_H
> #include <sys/select.h>
> #endif
> #endif
> #ifdef HAVE_ARPA_INET_H
> #include <netinet/in.h>
> #include <arpa/inet.h>
> #include <netdb.h>
> #endif
> #ifdef HAVE_NETINET_IN_SYSTM_H
> #include <netinet/in_systm.h>
> #endif
> #ifdef HAVE_NETINET_IP_H
> #include <netinet/ip.h>
> #endif
> #ifdef HAVE_SYS_UN_H
> #include <sys/un.h>
> #endif
> #endif
> #endif
> 
> #ifndef HAVE_INET_ATON
> #define inet_aton(cp, addr) \
> 	(((*(unsigned long int *)(addr)) = inet_addr(cp)) != -1)
> #endif
> 
> #ifndef SUN_LEN
> #ifdef SCM_RIGHTS
> #define HAVE_UN_LEN
> #endif
> #ifdef __linux
> #define HAVE_UN_LEN
> #endif
> #ifdef HAVE_UN_LEN
> #define SUN_LEN(ptr) sizeof(sockaddr_un.sun_len) + \
> 	sizeof(sockaddr_un.sun_family) + sizeof(sockaddr_un.sun_path) + 1
> #else
> #define SUN_LEN(ptr) ((size_t)((struct sockaddr_un *)0)->sun_path) \
> 	+ strlen((ptr)->sun_path))
> #endif
> #endif
> 
> #ifndef HAVE_SOCKLEN_T
> #if defined(i386) && defined(__svr4__)
> #define HAVE_SOCKLEN_U
> #endif
> #ifdef HAVE_SOCKLEN_U
> typedef unsigned socklen_t;
> #else
> typedef int socklen_t;
> #endif
> #endif
> 
>  
> #ifdef HAVE_POLL_H
> #include <poll.h>
> #else
> #ifdef HAVE_SYS_POLL_H
> #include <sys/poll.h>
> #endif
> #endif
> 
> /**
>  ** define these after the last system header has been included
>  ** so that these do not interfere with them.
>  **/
> 
> // Add bool support if missing
> #ifndef HAVE_BOOL_TYPE
> typedef enum { true=1, false=0 } bool;
> #endif
> 
> // replace 'throw' with abort for libs on broken C++
> #ifndef HAVE_EXCEPTION_HANDLING
> /* throw - replacement to throw an exception */
> #define THROW(x) abort()
> /* throw - replacement to declare an exception */
> #define THROWS(x)
> /*
>  * work around dangeling if/else combinations:
>  */
> #define try if(0) ; else
> #define catch(x) if(1) ; else
> #else
> #define THROW(x) throw x
> #define THROWS(x) throw(x)
> #endif
> 
> #ifdef	__NAMESPACES__
> #define	USING(x)	using namespace x;
> #else
> #define	USING(x)
> #endif
> 
> #ifdef	__KCC
> #define	KAI_NONSTD_IOSTREAM 1
> #endif
> 
> #ifdef __FreeBSD__
> #define	ETC_PREFIX "/usr/local/etc/"
> #endif
> 
> #ifndef	ETC_PREFIX
> #define	ETC_PREFIX "/etc/"
> #endif
> 
> #endif
> 
> 
> ------------------------------------------------------------------------
> 
> # Used to hold linker flags for "autoconfig" of applications
> # Commonly accessed through grep and sed.
> 
> flags:-D_REENTRANT -D_THREAD_SAFE  -g -O2 -D_GNU_SOURCE
> link: -pthread 
> load:-ldl
> extra:
> config.h
> 
> Content-Type:
> 
> text/plain
> Content-Encoding:
> 
> 7bit
> 
> 
> ------------------------------------------------------------------------
> config.def
> 
> Content-Type:
> 
> text/plain
> Content-Encoding:
> 
> 7bit



From mathiasb@upb.de Tue Jul 31 09:34:25 2001
Received: from uni-paderborn.de ([131.234.22.30])
	by fencepost.gnu.org with esmtp (Exim 3.22 #1 (Debian))
	id 15RZfE-0004GS-00
	for <bug-commoncpp@gnu.org>; Tue, 31 Jul 2001 09:34:24 -0400
Received: from rohan ([131.234.96.59]:37008 "HELO rohan")
	by mail.uni-paderborn.de with SMTP id <S40966AbRGaNeL>;
	Tue, 31 Jul 2001 15:34:11 +0200
Content-Type:	text/plain; charset=US-ASCII
From:   Mathias Biere <mathiasb@upb.de>
Reply-To: mathiasb@upb.de
To:     bug-commoncpp@gnu.org
Subject: Problem with Thread::isRunning()
Date:   Tue, 31 Jul 2001 15:38:02 +0200
X-Mailer: KMail [version 1.2]
MIME-Version: 1.0
Message-Id: <01073115380201.04432@rohan>
Content-Transfer-Encoding: 7BIT
Sender: bug-commoncpp-admin@gnu.org
Errors-To: bug-commoncpp-admin@gnu.org
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.0.5
Precedence: bulk
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Subscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://mail.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://mail.gnu.org/pipermail/bug-commoncpp/>

Hi,
I'm new to CommonC++ and have problems using the Thread class.

In the following piece of code Thread::isRunning() does not return false
if the thread leaves its Run() method. I guess this is the purpose of 
isRunning()? (The main program continues printing "#" every second after the 
thread has printed "Final()"... )
I am using CommonC++ 1.4.3 on Linux 2.4.4 and Windows.

###########################################
class MyThread: public Thread
{
	virtual void Run();
	virtual void Final();
};

void MyThread::Run()
{
	for(int i=0;i<5;i++)
	{
	    Sleep(1000);
	    cout<<"."<<endl;
            }
	cout<<"Thread finishes"<<endl;
}

void MyThread::Final()
{
    cout<<"Final()"<<endl;
}

int main()
{
	MyThread* mt=new MyThread;
	mt->Start();
            while(mt->isRunning())
            {
	    cout<<"#"<<endl;
                sleep(1);
            }
	cout<<"Finished"<<endl;
	delete mt;
}
#######################################

Many thanks if anyone can tell me what's wrong.

Mathias Biere 


