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] Created: (STDCXX-378) [MSVC 7.1/8.0] fails to compile dynatype.cpp example
Date Fri, 30 Mar 2007 13:49:25 GMT
[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: Build
    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.


Mime
View raw message