incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Farid Zaripov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (STDCXX-519) [MSVC 7.1 fails to compile fmtflags_manip.cpp example
Date Sun, 12 Aug 2007 23:49:43 GMT

    [ https://issues.apache.org/jira/browse/STDCXX-519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12519354
] 

Farid Zaripov commented on STDCXX-519:
--------------------------------------

1) Initialization the object to a value helps, but how about the thing that "example should
be generic and there is no needs to workaround for one broken compiler"? :)
2) why saved_ (std::ios_base::fmtflags (-1)) but not saved_ (std::ios_base::fmtflags (0)),
(the default initialization is zero initialization)?
3) typedef also helps.

> [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.


Mime
View raw message