You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by "Martin Sebor (JIRA)" <ji...@apache.org> on 2007/03/30 17:18:25 UTC
[jira] Updated: (STDCXX-378) [MSVC 7.1/8.0] fails to compile
dynatype.cpp example
[ https://issues.apache.org/jira/browse/STDCXX-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Sebor updated STDCXX-378:
--------------------------------
Component/s: (was: Build)
Examples
> [MSVC 7.1/8.0] fails to compile dynatype.cpp example
> ----------------------------------------------------
>
> Key: STDCXX-378
> URL: https://issues.apache.org/jira/browse/STDCXX-378
> Project: C++ Standard Library
> Issue Type: Bug
> Components: Examples
> Affects Versions: 4.1.3
> Environment: MSVC 7.1 Service Pack 1, MSVC 8.0
> Reporter: Farid Zaripov
> Priority: Minor
>
> The compiler issues the errors:
> Compiling...
> dynatype.cpp
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(109) : error C2248: 'dynatype::map<T>' : cannot access private struct declared in class 'dynatype'
> with
> [
> T=void
> ]
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(31) : see declaration of 'dynatype'
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(114) : error C2248: 'dynatype::map<T>' : cannot access private struct declared in class 'dynatype'
> with
> [
> T=void
> ]
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(31) : see declaration of 'dynatype'
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(188) : error C2440: 'type cast' : cannot convert from 'dynatype' to 'int'
> Ambiguous user-defined-conversion
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(194) : error C2440: 'type cast' : cannot convert from 'dynatype' to 'double'
> Ambiguous user-defined-conversion
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(207) : error C2440: 'type cast' : cannot convert from 'dynatype' to 'const char *'
> Ambiguous user-defined-conversion
> \_Projects\stdcxx_working\examples\tutorial\dynatype.cpp(223) : error C2440: 'type cast' : cannot convert from 'dynatype' to 'char'
> Ambiguous user-defined-conversion
> Build log was saved at "file://D:\_Projects\stdcxx_working\build\msvc-7.1\15s\examples\dynatype\BuildLog.htm"
> dynatype - 6 error(s), 0 warning(s)
> Created 3 issues on Microsoft feedback page:
> https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=266240
> https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=266262
> https://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=266263
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.