|
|
|
|
1>------ Build started: Project: 3d_shapes, Configuration: Debug Win32 ------
1> 3d_shapes.cpp
error C2253: 'Shape::Dimensions' : pure specifier or abstract override specifier only allowed on virtual function
(36): error C2555: 'Cone::WhatShapeAmI': overriding virtual function return type differs and is not covariant from 'Shape::WhatShapeAmI'
shapes.h(12) : see declaration of 'Shape::WhatShapeAmI'
\shapes.h(33): error C2440: 'initializing' : cannot convert from 'System::String ^' to 'std::basic_string<_Elem,_Traits,_Ax>'
with
[
_Elem=char,
_Traits=std::char_traits<char>,
_Ax=std::allocator<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
shapes.h(77): error C2059: syntax error : 'return'
shapes.h(77): error C2238: unexpected token(s) preceding ';'
shapes.h(78): error C2555: 'Cylinder::RectangularPrism::WhatShapeAmI': overriding virtual function return type differs and is not covariant from 'Shape::WhatShapeAmI'
shapes.h(12) : see declaration of 'Shape::WhatShapeAmI'
shapes.h(100): error C2555: 'Cylinder::Pyramid::WhatShapeAmI': overriding virtual function return type differs and is not covariant from 'Shape::WhatShapeAmI'
shapes.h(12) : see declaration of 'Shape::WhatShapeAmI'
shapes.h(118): error C2555: 'Cylinder::Sphere::WhatShapeAmI': overriding virtual function return type differs and is not covariant from 'Shape::WhatShapeAmI'
\shapes.h(12) : see declaration of 'Shape::WhatShapeAmI'
\memory(16): error C2059: syntax error : 'namespace'
memory(16): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
setjmp.h(40): error C2059: syntax error : 'string'
setjmp.h(40): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
setjmp.h(250): error C2059: syntax error : 'string'
\setjmp.h(251): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
mmintrin.h(26): error C2059: syntax error : 'string'
\mmintrin.h(26): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
xmmintrin.h(178): error C2059: syntax error : 'string'
\xmmintrin.h(178): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
emmintrin.h(60): error C2059: syntax error : 'string'
emmintrin.h(60): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
pmmintrin.h(55): error C2059: syntax error : 'string'
pmmintrin.h(55): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
tmmintrin.h(30): error C2059: syntax error : 'string'
\tmmintrin.h(30): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
smmintrin.h(78): error C2059: syntax error : 'string'
smmintrin.h(78): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
nmmintrin.h(31): error C2059: syntax error : 'string'
\nmmintrin.h(31): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
wmmintrin.h(30): error C2059: syntax error : 'string'
wmmintrin.h(30): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
immintrin.h(23): error C2059: syntax error : 'string'
immintrin.h(23): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
ammintrin.h(23): error C2059: syntax error : 'string'
ammintrin.h(23): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
mm3dnow.h(26): error C2059: syntax error : 'string'
mm3dnow.h(26): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
intrin.h(38): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
memory(993): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
memory(2047): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
\xfunctional(18): error C2059: syntax error : 'namespace'
xfunctional(18): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
vector(15): error C2059: syntax error : 'namespace'
vector(15): error C2334: unexpected token(s) preceding '{'; skipping apparent function body
|
No constructor could take the source type, or constructor overload resolution was ambiguous 1>shapes.h(100): error C2440: 'initializing' : cannot convert from 'System::String ^' to 'std::basic_string<_Elem,_Traits,_Ax>' 1> with 1> [ 1> _Elem=char, 1> _Traits=std::char_traits<char>, 1> _Ax=std::allocator<char> 1> ] 1> No constructor could take the source type, or constructor overload resolution was ambiguous |
'double Shape::SurfaceArea(void)' : is abstract 1> shapes.h(10) : see declaration of 'Shape::SurfaceArea' 1> 'double Shape::Volume(void)' : is abstract 1> shapes.h(11) : see declaration of 'Shape::Volume' 1> 'std::string Shape::WhatShapeAmI(void)' : is abstract 1> shapes.h(12) : see declaration of 'Shape::WhatShapeAmI' 1> 'std::string Shape::Dimensions(void)' : is abstract 1> shapes.h(13) : see declaration of 'Shape::Dimensions' 1> 3d_shapes.cpp(6) : see reference to class template instantiation 'std::vector<_Ty>' being compiled 1> with 1> [ 1> _Ty=Shape 1> ] 1>3d_shapes.cpp(15): error C2039: 'SetData' : is not a member of 'Cylinder' 1> shapes.h(40) : see declaration of 'Cylinder' 1>3d_shapes.cpp(19): error C2039: 'SetData' : is not a member of 'RectangularPrism' 1> shapes.h(62) : see declaration of 'RectangularPrism' 1>3d_shapes.cpp(23): error C2039: 'SetData' : is not a member of 'Pyramid' 1> shapes.h(84) : see declaration of 'Pyramid' 1>3d_shapes.cpp(27): error C2039: 'SetData' : is not a member of 'Sphere' 1> shapes.h(105) : see declaration of 'Sphere' 1>3d_shapes.cpp(34): error C2819: type 'Shape' does not have an overloaded member 'operator ->' 1> shapes.h(8) : see declaration of 'Shape' 1> did you intend to use '.' instead? 1>3d_shapes.cpp(34): error C2232: '->Shape::WhatShapeAmI' : left operand has 'class' type, use '.' 1>3d_shapes.cpp(35): error C2819: type 'Shape' does not have an overloaded member 'operator ->' 1> shapes.h(8) : see declaration of 'Shape' 1> did you intend to use '.' instead? 1>3d_shapes.cpp(35): error C2232: '->Shape::Dimensions' : left operand has 'class' type, use '.' 1>3d_shapes.cpp(36): error C2819: type 'Shape' does not have an overloaded member 'operator ->' 1> shapes.h(8) : see declaration of 'Shape' 1> did you intend to use '.' instead? 1>3d_shapes.cpp(36): error C2232: '->Shape::SurfaceArea' : left operand has 'class' type, use '.' 1>3d_shapes.cpp(37): error C2819: type 'Shape' does not have an overloaded member 'operator ->' 1> shapes.h(8) : see declaration of 'Shape' 1> did you intend to use '.' instead? 1>3d_shapes.cpp(37): error C2232: '->Shape::Volume' : left operand has 'class' type, use '.' ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== |