delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/04/19/09:13:43

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; q=dns; s=default; b=xtP
RQCZxVa5sEIug58eSd3m2kM8kW85+rcx/fAmMcocmtHn7IW56BTrQ1PhJNbQ/l4Y
DPUR4dLd3wGRokC//Bd7M3T1NG7p2Hy68dkx0PyZlvphas0AxHYUX2lhOzukdqmk
2Onre6igUsV48DH/neG/MjlQWVJVH2kRLWnYLSYQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:to:from:subject:date:message-id:mime-version
:content-type:content-transfer-encoding; s=default; bh=otCV2z1qf
c/3bDAZsnGLM6ThFrw=; b=Vqe5veITnrRMU+3+L1QeU/wX316oz7m2kaiDwg1Wv
wH/PqH9noCtp5elcHCgr2zXBfMFpWESS35TCufVEg5ZzDhHnq0y/WpgpO6yaruoU
RGMyjSJLaKpocMvSngbGkdWBODXnUtOTU3k76/4Hqst6oCBQLI9raGD/5CLXsT5s
ZM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1
To: cygwin AT cygwin DOT com
From: David <dbj AT vip DOT cybercity DOT dk>
Subject: (gdb ) r test -a1 -a2 > test.log will not work with boost. Why?
Date: Fri, 19 Apr 2013 15:13:32 +0200
Lines: 21
Message-ID: <kkrft3$4vf$1@ger.gmane.org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:17.0) Gecko/17.0 Thunderbird/17.0

I have used boost::program_options and when I try to run the application 
in the debugger I get:

(gdb) r test -a1 -a2 > test.log
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /cygdrive/c/Users/dbj/Debug/test.exe -a1 -a2 > test.log
[New thread 275892.0x435b8]
[New thread 275892.0x435bc]
terminate called after throwing an instance of 
'boost::exception_detail::clone_
mpl<boost::exception_detail::error_info_injector<boost::program_options::multip
e_occurrences> >'
   what():  multiple occurrences

Program received signal SIGABRT, Aborted.
0x77637094 in ntdll!LdrFindResourceEx_U ()
    from /cygdrive/c/windows/system32/ntdll.dll

Why do I get this? I can run it without redirection


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019