[ https://issues.apache.org/jira/browse/STDCXX-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519341 ]
Martin Sebor commented on STDCXX-519: ------------------------------------- Does initializing the object to a value help? (E.g., changing the ctor definition to fmtflags_manip (): strm_ (), saved_ (std::ios_base::fmtflags (-1)) { }) Or using a typedef for std::ios_base::fmtflags? > [MSVC 7.1 fails to compile fmtflags_manip.cpp example > ----------------------------------------------------- > > Key: STDCXX-519 > URL: https://issues.apache.org/jira/browse/STDCXX-519 > Project: C++ Standard Library > Issue Type: Bug > Components: Examples > Environment: MSVC 7.1 > Reporter: Farid Zaripov > Priority: Minor > > The compiler issues the errors: > -------------- > Compiling... > fmtflags_manip.cpp > \stdcxx\trunk\examples\manual\fmtflags_manip.cpp(45) : error C2065: > '__rw_fmtflags' : undeclared identifier > \stdcxx\trunk\examples\manual\fmtflags_manip.cpp(45) : error C2064: term does > not evaluate to a function taking 0 arguments > -------------- > Created corresponding issue on Microsoft feedback page: > https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=267488 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.