[1.33.1][program_options] long option descriptions cause a crash in windows
I am using program_options on an app that I am compiling for linux and
windows (vs2005). I have found that long option descriptions cause a
fatal error on windows when they are long enough that they need to wrap
to the next line. (I'm having no problem in linux). If I run the debug
version I get an assertion failed in xstring. Release just gives a fatal
error.
The following code causes the problem:
#include <iostream>
#include
________________________________________ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Scott Finley Sent: Wednesday, May 16, 2007 5:21 PM To: boost-users@lists.boost.org Subject: [Boost-users] [1.33.1][program_options] long option descriptionscause a crash in windows I am using program_options on an app that I am compiling for linux and windows (vs2005). I have found that long option descriptions cause a fatal error on windows when they are long enough that they need to wrap to the next line. (I'm having no problem in linux). If I run the debug version I get an assertion failed in xstring. Release just gives a fatal error. [Nat] Please try with 1.34? This sounds like a known/fixed problem.
I tested this with 1.34, and found no problem. It must have been due to a known and fixed bug as you supposed. Scott. -----Original Message----- From: Nat Goodspeed [mailto:ngoodspeed@solidworks.com] Sent: Wednesday, May 16, 2007 7:28 PM To: boost-users@lists.boost.org Subject: Re: [Boost-users] [1.33.1][program_options] long optiondescriptionscause a crash in windows ________________________________________ From: boost-users-bounces@lists.boost.org [mailto:boost-users-bounces@lists.boost.org] On Behalf Of Scott Finley Sent: Wednesday, May 16, 2007 5:21 PM To: boost-users@lists.boost.org Subject: [Boost-users] [1.33.1][program_options] long option descriptionscause a crash in windows I am using program_options on an app that I am compiling for linux and windows (vs2005). I have found that long option descriptions cause a fatal error on windows when they are long enough that they need to wrap to the next line. (I'm having no problem in linux). If I run the debug version I get an assertion failed in xstring. Release just gives a fatal error. [Nat] Please try with 1.34? This sounds like a known/fixed problem.
participants (2)
-
Nat Goodspeed
-
Scott Finley