Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1499420&group_id=7586

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

Message:
Logged In: YES
user_id=124874

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:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1499420&group_id=7586

-------------------------------------------------------------------------
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
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk