From MAILER-DAEMON Wed Jul 22 15:40:42 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1MThg9-0000gN-MM
	for mharc-bug-commoncpp@gnu.org; Wed, 22 Jul 2009 15:40:41 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MThg8-0000fo-2B
	for bug-commoncpp@gnu.org; Wed, 22 Jul 2009 15:40:40 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MThg2-0000eR-F1
	for bug-commoncpp@gnu.org; Wed, 22 Jul 2009 15:40:39 -0400
Received: from [199.232.76.173] (port=33904 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MThg2-0000eK-5G
	for bug-commoncpp@gnu.org; Wed, 22 Jul 2009 15:40:34 -0400
Received: from wa-out-1112.google.com ([209.85.146.176]:19867)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <turetsky.david@gmail.com>) id 1MThg1-0004ls-Nw
	for bug-commoncpp@gnu.org; Wed, 22 Jul 2009 15:40:33 -0400
Received: by wa-out-1112.google.com with SMTP id n7so66707wag.26
	for <bug-commoncpp@gnu.org>; Wed, 22 Jul 2009 12:40:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;
	h=domainkey-signature:received:received:message-id:from:to
	:content-type:content-transfer-encoding:mime-version:subject:date
	:x-mailer; bh=WFO5qkpfN8uA00E6M19J7UXiOe57TCc+qtWWwA7ymuo=;
	b=eVz7d1uGkxabhGwd9ibko6WvK6EFiCQYTvdNdVd30Wh6TXtDmOeOO8gu3eDe8SlMod
	SXJJctVsYFr9bVaWBmFBM0H8gY6wqtHfMWoOcT0GgBzC1jtMsmH9DIK4JQY5LVUpz7xB
	EfjwE/TYBvf8RmE7AtIuyzBPFxeGfC6bExCQg=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma;
	h=message-id:from:to:content-type:content-transfer-encoding
	:mime-version:subject:date:x-mailer;
	b=lLKdmprQV2n24C0R3PP/5Eo/9YDKEWhr7333e+ncCCI7Cnnkd5n0VtSyJAa8aT1z9o
	+XxHbmjUSvdbc6gwI2Hee3ZHuKKSdpq0VUGb0JUfPi48voU47h1O2BNCskNRuHPpgjEb
	ESxTZvuEylWnXbE0CmM3+ihe/55ecbeT+H1AY=
Received: by 10.115.79.17 with SMTP id g17mr1069378wal.212.1248291632163;
	Wed, 22 Jul 2009 12:40:32 -0700 (PDT)
Received: from ?10.0.1.4? (c-24-126-60-124.hsd1.md.comcast.net [24.126.60.124])
	by mx.google.com with ESMTPS id m25sm1692614waf.44.2009.07.22.12.40.30
	(version=TLSv1/SSLv3 cipher=RC4-MD5);
	Wed, 22 Jul 2009 12:40:31 -0700 (PDT)
Message-Id: <C08EB361-9DE9-4B79-8278-EE2B0FD6F272@gmail.com>
From: David Turetsky <turetsky.david@gmail.com>
To: bug-commoncpp@gnu.org
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Wed, 22 Jul 2009 15:40:28 -0400
X-Mailer: Apple Mail (2.935.3)
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2)
Subject: Linker error msg
X-BeenThere: bug-commoncpp@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Bug reports for Common C++ <bug-commoncpp.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-commoncpp>
List-Post: <mailto:bug-commoncpp@gnu.org>
List-Help: <mailto:bug-commoncpp-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-commoncpp>,
	<mailto:bug-commoncpp-request@gnu.org?subject=subscribe>
X-List-Received-Date: Wed, 22 Jul 2009 19:40:40 -0000

I am using g++ 4.0 on a MacBook Pro via Apple's Xcode 3.0 development  
interface. Originally I had tried to compile and link this code  
directly but generated a huge list of compiler errors. Obviously I was  
not setting appropriate parameters despite experimentation

Now I get clean compilations but get Link error msgs saying "Duplicate  
symbol _p in main and another routine". I am not using this symbol  
anywhere in my code

Any recommendations would be appreciated. This is a fairly large sized  
bit of code. I'm successfully running some related code under g++ and  
welcome the performance improvement. The errant code runs fine under  
Visual C++ 5.0 and with Microsoft's Visual C++ 2008 Express Edition

I've searched Apple's knowledge base without any meaningful result

-- 
David



