AFAIK, dynatype is not expected to be compiled by all compilers because of the tricky template code it contains.
Liviu Craig Chariton wrote: > > > While rebuilding the solution on Windows XP Pro with MSVC 7.1, I > received > the following errors on dynatype.cpp: > > > > ------ Rebuild All started: Project: dynatype, Configuration: 11d Debug > Dll > Win32 ------ > > > > Deleting intermediate files and output files for project 'dynatype', > configuration '11d Debug Dll|Win32'. > > Compiling... > > dynatype.cpp > > \ApacheLibs\stdcxx\examples\tutorial\dynatype.cpp(109) : error C2248: > 'dynatype::map<T>' : cannot access private struct declared in class > 'dynatype' > > with > > [ > > T=void > > ] > > \ApacheLibs\stdcxx\examples\tutorial\dynatype.cpp(31) : see > declaration of 'dynatype' > > \ApacheLibs\stdcxx\examples\tutorial\dynatype.cpp(114) : error C2248: > 'dynatype::map<T>' : cannot access private struct declared in class > 'dynatype' > > with > > [ > > T=void > > ] > > \ApacheLibs\stdcxx\examples\tutorial\dynatype.cpp(31) : see > declaration of 'dynatype' > > \ApacheLibs\stdcxx\examples\tutorial\dynatype.cpp(188) : error C2440: > 'type > cast' : cannot convert from 'dynatype' to 'int' > > Ambiguous user-defined-conversion > > \ApacheLibs\stdcxx\examples\tutorial\dynatype.cpp(194) : error C2440: > 'type > cast' : cannot convert from 'dynatype' to 'double' > > Ambiguous user-defined-conversion > > \ApacheLibs\stdcxx\examples\tutorial\dynatype.cpp(207) : error C2440: > 'type > cast' : cannot convert from 'dynatype' to 'const char *' > > Ambiguous user-defined-conversion > > \ApacheLibs\stdcxx\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://c:\ApacheLibs\stdcxx-build\examples\tutorial\11d\dynatype\BuildL > og.h > tm" > > dynatype - 6 error(s), 0 warning(s) > > > > I cannot find any references to this problem on the mailing lists or in > jira. Has anyone else experienced these errors when rebuilding the > solution? > > > > > > Craig Chariton > > > >