Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2006-10-30 05:04:25

Patches item #1499420, was opened at 2006-06-02 12:26
Message generated for change (Comment added) made by vividos
You can respond by visiting:

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Michael Fink (vividos)
Assigned to: Vladimir Prus (vladimir_prus)
Summary: [program_options] static const variable on evc4

Initial Comment:
In Boost.Program_Options, in the file
options_description.hpp the constant
m_default_line_length is used and declared as static.
On evc4 (a vc6 derived compiler) static class constants
must be declared in the .cpp file. The patch fixes this
by simply removing the "static" keyword. The constant
is only used in the class as default ctor parameter.


>Comment By: Michael Fink (vividos)
Date: 2006-10-30 11:04

Logged In: YES

I checked compiling on msvc71 with this patch and noticed
that the patch doesn't work. If the value for
m_default_line_length would go into an enum, it would work
on all compilers. The updated patch fixes this.


You can respond by visiting:

Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at