[/code] Could you recommend how to find the reason of the errors?

The hard part is that all errors are in VS header files. I have not been able to turn more verbose output to get more details.

Thank you!"> [/code] Could you recommend how to find the reason of the errors?

The hard part is that all errors are in VS header files. I have not been able to turn more verbose output to get more details.

Thank you!"> [/code] Could you recommend how to find the reason of the errors?

The hard part is that all errors are in VS header files. I have not been able to turn more verbose output to get more details.

Thank you!">
I converted a midsize C++ project (little less than 2 million lines of code) from VS2013 to VS2017 RC. The conversion went successfully, but when I attempted to compile, I got the following errors:
[code]1>------ Build started: Project: abcd, Configuration: Debug Win32 ------ 1>StdAfx.cpp 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\type_traits(1534): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\type_traits(1825): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\type_traits(1834): note: see reference to class template instantiation 'std::reference_wrapper<_Ty>' being compiled 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\type_traits(1944): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xmemory0(528): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xmemory0(563): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xmemory0(641): error C2760: syntax error: expected ')' not 'identifier' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3623): warning C4467: usage of ATL attributes is deprecated 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\stdexcept(22): note: see reference to class template instantiation 'std::basic_string<char,std::char_traits<char>,std::allocator<char>>' being compiled 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3623): error C2337: '[': attribute not found 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3623): error C2146: syntax error: missing ']' before identifier 'noreturn' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3623): error C2143: syntax error: missing ';' before ']' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3623): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3624): error C2334: unexpected token(s) preceding '{'; skipping apparent function body 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3644): error C2337: '[': attribute not found 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3644): error C2146: syntax error: missing ']' before identifier 'noreturn' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3644): error C2143: syntax error: missing ';' before ']' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3644): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\xstring(3645): error C2334: unexpected token(s) preceding '{'; skipping apparent function body 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(34): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(38): note: see reference to class template instantiation 'std::_Mem_fn<_Memptr>' being compiled 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(763): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(769): note: see reference to class template instantiation 'std::_Select_fixer<_Cv_TiD,false,true,0>' being compiled 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(798): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(813): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(871): error C2760: syntax error: expected ')' not ',' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\functional(873): note: see reference to class template instantiation 'std::_Binder<_Ret,_Fx,_Types...>' being compiled 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1960): error C2146: syntax error: missing ']' before identifier 'noreturn' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1960): error C2143: syntax error: missing ';' before ']' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1960): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1961): error C2334: unexpected token(s) preceding '{'; skipping apparent function body 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1965): error C2337: '[': attribute not found 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1965): error C2146: syntax error: missing ']' before identifier 'noreturn' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1965): error C2143: syntax error: missing ';' before ']' 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1965): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int 1>c:\program files (x86)\microsoft visual studio\2017\enterprise\vc\tools\msvc\14.10.24930\include\vector(1966): error C2334: unexpected token(s) preceding '{'; skipping apparent function body 1>Done building project "abcd.vcxproj" -- FAILED.[/code] Could you recommend how to find the reason of the errors?

The hard part is that all errors are in VS header files. I have not been able to turn more verbose output to get more details.

Thank you!


JLCPCB – Prototype 10 PCBs for $2 (For Any Color)

China’s Largest PCB Prototype Enterprise, 600,000+ Customers & 10,000+ Online Orders Daily
How to Get PCB Cash Coupon from JLCPCB: https://bit.ly/2GMCH9w

Syed Zain Nasir

I am Syed Zain Nasir, the founder of <a href=https://www.TheEngineeringProjects.com/>The Engineering Projects</a> (TEP). I am a programmer since 2009 before that I just search things, make small projects and now I am sharing my knowledge through this platform.I also work as a freelancer and did many projects related to programming and electrical circuitry. <a href=https://plus.google.com/+SyedZainNasir/>My Google Profile+</a>

Share
Published by
Syed Zain Nasir