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-378) [MSVC 7.1/8.0] fails to compile dynatype.cpp example
Date Tue, 29 May 2007 11:48:15 GMT

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

Farid Zaripov commented on STDCXX-378:
--------------------------------------

Restored the dynatype::operator T&(): http://svn.apache.org/viewvc?view=rev&rev=542494
 
Note: the MSVC 7.1 is broken to compile this example.

> [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
>            Assignee: Farid Zaripov
>            Priority: Minor
>             Fix For: 4.2
>
>
> 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