stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Sebor (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (STDCXX-378) [MSVC 7.1/8.0] fails to compile dynatype.cpp example
Date Tue, 22 May 2007 02:02:16 GMT

     [ https://issues.apache.org/jira/browse/STDCXX-378?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Sebor reassigned STDCXX-378:
-----------------------------------

    Assignee: Farid Zaripov

Farid, I'm assigning this to you since you've already done some work on this. Can you please
update the status and see if it can be fixed for 4.2.0?

> [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
>         Assigned To: 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.


Mime
View raw message