Share via


Visual C++ 2015 Update 2 Bug 修复

[原文发表地址] Visual C++ 2015 Update 2 Bug Fixes

[原文发表时间] 2016/3/31

我们很开心我们已经发布了Visual Studio 2015 Update 2 (详细的发布信息,请点击这里!)。这篇博客将快速浏览在微软连接门户网站上报的Visual C++ bug的修复情况。我们已经修复了编译器前端、后端和库中的330个通过微软连接门户和VS用户反馈的bug;并在Visual Studio 2015 Update 2 中修复了其他30个IDE bug。

这些bug是由社会中的使用者们提交的。虽然我们没有(尚未!)修复每一个客户报告的问题,但我们感谢我们的客户花费时间来写我们产品的bug,而且我们会优先处理这些来自社会中的bug. 如果您在使用我们编译器的过程中遇到了问题,请file bugs!这将有助于我们了解哪些问题应给予最大的关注度。

Compiler Frontend, Backend, and Libs Fixes

Connect User Connect ID Title
_NN_ 1816988 Declaration of pure virtual function with type alias doesn’t compile
_PetrD 1735382 Template keyword in dependant name disabiguation function call causes compile error.
Åkerblom Jens 2050595 Compiler error regarding template method pointer types
Aaron J Ballman 2394957 Signed vs unsigned mismatch warning false positive
abushne 2128742 No longer able to name methods “export” in VS2015 Update 1
aemwaqas60 1970608 unexpected loop vlaues
akrieger 1230395 Numerous problems with std::result_of and `decltype` member pointer resolution problems in class template declarations
Alex Katranov 2090221 excessive warning C4100
Alexander__Dyagilev 2069971 C++ compiler bug?
Alf P. Steinbach, except MS… 2163090 Internal Compiler Error on some SFINAE code
Alf P. Steinbach, except MS… 2123005 enum() accepted as nullpointer
Andi.P 2390377 Bug with C++ nested class, template and inheritance
Andreas Magnusson – Nexus 2112616 Code/data generation error with constexpr
Andrei Drexler 1613182 C++: C1001 with decltype and pointer to virtual function.
Andrew7Webb 1576822 File from year 1601 causes fatal error C1073: Internal error involving incremental compilation
Andrey Kolomentsev 868971 private explicitly-defaulted destructor is accessible
Antony Peacock 1798660 Using implicit constructor for classes containg __m128d SSE type crashed the compiler in debug configuration.
Arnav Singh 1587892 Whole program optimization removes (otherwise unreferenced) functions registered with #pragma section(“.CRT$XCU”)
Aurelien Regat-Barrel 2343307 Crash in cl.exe with a simple piece of code
B Erasmus 1136309 C++ friend compiler bug
Balenty 1979953 Linker Compiler Error
Barfy 2000179 Optimizer is too aggressive removing virtual function calls
Belloc 1980027 Code doesn’t link when I replace `operator new[]` by `operator new` in the snippet below
Ben F Seattle 2118141 Adding ={0} does not fill struct with zero, when /sdl flag added
Benoît Labrique 1972909 C++ Compiler: Enum bit field initialized with wrong value
Benoit Thomas 1906144 c++ compiler bug
Bert Huijben 2369346 OpenSSL 1.1.0-preX: fatal error C1001: An internal error has occurred in the compiler.
BOFHRAF 2234621 C++/CLI Compiler Crash – operator true/false
bogdan i 1995929 VC 14 Update 1 RC – Incorrect access control in declarations (template parameters and arguments, bases)
bogdan i 1989695 VC 14 Update 1 RC – Friend function template declaration rejected when alias template is used in template parameter
bogdan i 1989574 VC14 Update 1 RC – friend nested class template declaration incorrectly rejected
bogdan i 1707015 VC 14 – compiler crash related to incorrect constexpr use
BongoVR 1854943 Warning C4091 when including dbghelp.h
BongoVR 1855005 Warning C4127 or C4548 when using winsock headers
Brad Chase 2180403 Internal compiler error when listing assembly
Bruce Dawson2 2396360 Bad structure offset in 32-bit code
Bruce Dawson2 2374731 PGO build generates movaps to unaligned address
Bruce Dawson2 2348990 ICE in template code in VS 2015 Update 1 (works with VS 2013)
Bruce Dawson2 2299303 Internal compiler error when using /analyze on 1-line file
Bruce Dawson2 2291638 Code-gen bug with type punning in VC++ 2015 Update 1
Bruce Dawson2 1981265 Access violation crash in 64-bit linker when building Chrome’s net_unittests.exe
bws0901 1069229 compiler error for a double does not work == operator
camhusmj38 2089116 Internal Compiler Error
ccman32_fpscf 2054256 #pragma const_seg(push, R2, “.data”) creates a second .data section
CdTC 2439056 Internal compiler error when building LLVM(-readobj) in Release configuration
cg31 2357084 fatal error C1001: An internal error has occurred in the compiler
cgp1024 2087294 fatal error C1001: An internal error has occurred in the compiler.
Christian Maaser 1754251 ICE on static_assert of less than of two string literals
cokkiy2001 2094424 The VC compiler will produce C2248 error for friend class
ConnectAnonymousUser 2135145 openmp num_threads clause fail with function as input
ConnectAnonymousUser 1839232 decltype produces default arguments in its type
COppermann 2256055 Warning in vcruntime_exception.h(83)
COppermann 2255845 Warning C4702 in exception(268)
Daan Nusman 1746644 Microsoft_VC140_CRT_x64.msm merge module installs C/C++ runtime DLLs in x32 folder
Damian Coventry 2154944 Static local variable initialization
Daniel Bratell (Opera) 1994894 Internal Compiler Error (ICE) when analyzing C99 array with enum initializer
Daniel Kr.1 787095 Pointer to members accept void types and reference types
Daniel.P82 2214386 Compiler crashes while building c++ universal windows project with visual studio 2015 update 1
Daniel.P82 2013589 Visual C++: error LNK2019 when linking with a lib compiled with “Inline Function Expansion” (/Ob1, /Ob2)
DarinFong 1574311 Cannot install Visual C++ 2015 Redistributable
Darran Rowe 1883258 decltype with generic lambda fails to compile
David Lowndes 917226 Unrestricted unions error C2280 “attempting to reference a deleted function” – does not describe the problem adequately to the normal developer.
David Majnemer 2319930 Function returning nullptr doesn’t get correctly undecorated
David Majnemer 2290359 LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage.FinalPhase
David Majnemer 2188195 MSVC 2015 crashes when referencing type from within __vc_attributes
David Majnemer 2188166 MSVC 2015 crashes with reference to __formal
David Majnemer 2039870 MSVC 2015 crashes with explicitly qualified covariant override
David Majnemer 2028986 MSVC 2015 crashes on alias template in constructor
David Majnemer 2011911 MSVC 2015 reports that __is_destructible(auto) is true
David Majnemer 2011894 MSVC 2015 crashes when __is_constructible is given arguments involving auto
David Majnemer 1916471 MSVC 2015 crashes on instantiation involving throw expression
David Majnemer 1790615 MSVC 2015 reports unhelpful error message when trying to value-initialize an l-value reference
David Majnemer 1791801 MSVC crashes when it encounters decltype(auto)::
David Majnemer 1420558 MSVC 2015 crashes on pointer arithmetic in constexpr context
David Majnemer 1401241 MSVC 2015 rejects member pointer comparison in constexpr context
David Majnemer 1337019 MSVC 2015 accepts invalid throw expression with pointer to incomplete class
David Majnemer 1327934 MSVC 2015 believes constexpr member pointer is not constant
David Majnemer 1327996 MSVC 2015 crashes trying to evaluate constexpr containing pointer to member function
David Majnemer 1224360 Wrong function template specialization selected
David Majnemer 1224375 MSVC 2015 permits exception of type ‘pointer-to-function’ to be caught as ‘void *’
David Majnemer 1176677 Constructing an array with a class element type which has a templated constructor causes MSVC 2015 to ICE
David Majnemer 1492102 MSVC 2015 crashes on assignment to decltype(auto) when deduction from overloaded function fails
davidanderson61 2016129 C++ calls the wrong virtual function.
dbregman 1979000 C++ enum change does not trigger recompilation (incorrect codegen)
DeadMG 1986019 Internal Compiler Error
Debugini 2079383 internal compiler error in Visual Studio 2015 Update1 with constexpr
Debugini 1925368 intermittent spurious error C3859 “virtual memory range for PCH exceeded”
demianmnave 1951319 Bug when list-initializing a function return value at optimization levels O1, O2 and Ox
desert_dragon 2086665 Ignore dereferencing function pointer issue
Didier1155 1980293 cin.sync() and fflush(stdin) do not work with Visual Studio 2015 (OK with previous versions of Visual Studio)
Dmitriy Ovdienko 1607797 False “C4101: ‘i': unreferenced local variable” inside sizeof operator
Dmitriy Ovdienko 1203414 C++ compiler does not optimize devision operations
dn357 1578967 False compiler error C2440 when returning a class derived from std::unique_ptr
DonScorgie 1929976 Internal Compiler error when performing static analysis of ExAllocatePoolWithTag functions
DontOwnAName 2304264 Argument for _fxrstor intrinsic optimized away.
Dr Pizza 1622443 Visual C++ appears to use the wrong evaluation order for list-initialization
DrATEasy1 1899153 Compiling with optimization (max speed) is much slower, fails sometimes and requires a lot more memory than VC 2012
duZ3N 2078130 Casting captured variable to CString using its cast operator produces internal error in the compiler.
鈴見咲 君高 Suzumizaki-Kimitaka 1654770 Again, std::vector<NonAsciiNamedEnum> causes C4819 irregularly
那由多 806042 SFINAE build error
e4lam 2154929 Internal Compiler Error (ICE) on __forceinline function calling a pure virtual with LTCG
e4lam 1885058 ungetc() fails if no characters read yet
Elador 2081014 Internal compiler error when compiling Eigen with /openmp
Elaine 2043145 Visual Studio 2015 C++ Compiler Optimization Bug – Release Build CONSTRUCT macro not executed – works in DEBUG Build
empty`void 863852 ICE with nested dependent variadic templates
Eric Lasota 2097294 Errors printing inaccurate type names
Eric Lasota 1996739 C2244 when defining a template function of a template class in a namespace using fully-qualified type name
Eric Niebler 763618 Too-eager instantiation in class template partial specialization
Evgenii Golubev 2038248 Using a ComPtr inside a class causes other members to be 0-initialized
Excelcius 1979692 C++: Nonstatic data member initializer for array fails to initialize aggregates
excitebk 2092758 C++ Compiler crashes with C1001
f90d83a8 2266613 MSVC BUG virtual base with covariance
FabioD82 2397421 VS2015 LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage
Fernando Pelliccioni 2246645 MSVC AVX/AVX2 intrinsics failures
FitzyDog 1638615 Implicit converting constructor with SIMD = Internal Compiler Error(ICE)
Flash M 2101875 MASM (ASM) Debug of AVX 256 bit code is completely broken in VS2015 Update 1
Flash M 2084544 MASM fails to compile (Invalid operands) valid AVX instruction: vpmovs(z)xbd ymm0, qword ptr [rdx]
Frank Heimes 2336695 Cl.exe crashes
Frank Schoenmann 2083226 Having the “Expand Attributed Source (/Fx)” option enabled for a C++ project fails with error
Gabriel E. Marcano 1905742 error C2589: ::”: illegal token on right side of “::”” on function template with default argument parameter
Gerald Lodron 1931996 AVX Optimization results in wrong/different result
GHonsa 2422720 64 bit optimization bug
gigimava 2117239 C++: decltype((e)) produces the incorrect type for base class members
godzy 1953961 msclr namespace is not declared
GreenCat 2096574 Nonexistent narrow conversion error
Halfdan I 2061244 ‘static’ is not allowed in ‘friend’ declarations.
Halfdan I 2061186 Invalid acceptance of ‘static’ on templated member function definitions
Halt0001 2296449 C++ compiler crash when using ‘Assembly With Source Code (/FAs)’ option
halx99 2444346 VC14 Merge Modules does not work on Windows 7
halx99 2242198 Microsoft Visual Studio is busy
Hardy Braunsdorf 1894122 Optimizer problem
Hervé Baekeland 2090479 Code doesn’t compile since the update, with the message “cannot access protected member declared in class”
hh_ 1331482 __declspec(selectany) constexpr doesn’t work with /Za
Ian Maurin-Soucy 2075895 Wrong value of this parameter
Igor Sudarikov 2412084 C++: Compilation failure of static constexpr array of unknown bound in template class
Ike Starnes 1027650 Windows App Certification Kit Fails with error – All types referenced in metadata files must be discoverable.
ildjarn 1075443 C++: order of evaluation of expressions in a braced initializer list are wrong in the context of a constructor call
ilstas 1537090 VC++ 2015 lambda to the std::function implicit conversion
Inyral 1922357 Valid C++11 constexpr function inside template fails to compile
ISoft – Pub 2395390 windows share issue
Istvan Szakats 2234356 c++ std::is_convertible doesn’t detect deleted copy constructor or no implicit move constructor
Jan carlo 2008006 dynamic array can’t be created
Javier Blazquez 850674 Compiler fails to select correct partial template specialization when attempting SFINAE using class member function
jimbobmacdoodle 2241224 warning LNK4244: unable to write LTCG object
John N. Lehner 1693860 LTCG with SSE2 for x86 generates crashing code: output address not pushed onto stack
Johnny Roller 1976708 C++ (native): Internal Compiler Error (ICE) while using explicit copy constructor on a templated class
Johnny Willemsen 1307604 Problem using friend
Johnny Willemsen 1577211 Problem compiling TAO as CORBA implementations
Jonathan Adamczewski 2247478 Incorrect values are returned when accessing a global constexpr array of c strings
jonathanmcdougall 2311854 ICE with a shared_ptr using an undeclared type and a switch
jonathanmcdougall 2173340 ICE with decltype of a template member function
jonathanmcdougall 2173302 ICE involving decltype on non-existing member operators
jonathanmcdougall 1491794 Compiler hang or ICE with missing closing parenthesis
jonathanmcdougall 1463904 Internal compiler error wth angle bracket as parameter of function template
Joseph Stein 2313459 Output and input >> << arrow problem
jujjyl 2053175 Visual Studio 2015 generates faulty code for the _mm_ucomige_ss() intrinsic.
JulianB_ 1810776 Internal compiler error (C1001) when exporting a function which uses an imported __forceinline member function when /LTCG
Julianis 2418490 Incorrect value for an argument by reference in a c++ program
Kaba_ 2224620 ICE with SFINAE
Kalyd 613 1984684 Unexpected mov instruction in assembly
KBaztak 2084691 MSVC error C2121 when using an #if inside a macro argument
Keith Dorken 1985050 Compiler has stopped working parsing two line statement
Kenshi Takayama 2287853 Erroneous C2398 with constructor
Kiehne 1621045 Compiler Error on Managed C++ array references
Kohei Takahashi 1515821 ICE on aliasing template with explicitly specialized static member.
kreuzerkrieg_ 2263601 Linker warning
kreuzerkrieg_ 1972921 fatal error C1001: An internal error has occurred in the compiler.
L_Baker 2287451 Occasional “Fatal error LNK1105: cannot close file” when using /NATVIS flag with link.exe
L_Baker 2125723 Compiler generates incorrect code when vectorising loop under x64 optimised builds
L_Baker 2107171 Internal compiler error when using generic lambda inside method of template class specialisation
lerosQ 1930335 SBC from ZI compilation
Leslie N 2351122 STILL: c1xx : fatal error C1027: Inconsistent values for /Ym between creation and use of precompiled header
Lewis Pringle 1576915 numeric_limits term does not evaluate to a function taking 0 argument
Li Chen 2085593 Visual studio community 2015 with update 1 setup failed
Liam Herron 2117715 amd64_x86\cl.exe fails to start: The application was unable to start correctly (0xc000007b)
Loïc Joly 2105985 ICE with Update1 when compiling code that works without this update
LOSERSTRIKER101 2213521 Templated constructors don’t inherit with using Base::Base;
mael_storm 1359413 Dependent types used with typename keyword are rejected in template specializations
Makoto Kato 1611942 Constexpr does not perform array to pointer conversions
Marcel Raad 2437574 VC14.2 regression: ICE with LTCG
Marcel Raad 2350507 VS2015.2 CTP1: error messages on solution load
Marcel Raad 2159001 VC 14.1: ICE on constexpr variable template
Marcel Raad 2105673 VC 14.1: unhelpful C4702 during linking
Marcel Raad 2083001 VC 14.1: ICE with excess {} in constexpr array initializer
Marcel Raad 2082945 VC 14.1: regression with constexpr array of string literals
Marcel Raad 1975577 VC14.1 RC: fatal error LNK1000: Internal error during IMAGE::Pass2
MariusPirvu 1905485 Visual Studio 2015 C++ optimizer bug
mark.dunning 2099864 VC++ fatal error C1001 using [ComImport] with ‘ref class’
Mark1g 2092790 illegal indirection with static constexpr nested in class
marten_range 1869465 Constexpr does not correctly subtract two aray pointers
Martin Stangel 1900209 Native C++ try/catch block optimized away in Release version
Martyn G 2100669 Regression in Visual Studio 2015 Update 1
Master Programmer 2273127 Crash during project build
Mat Sutcliffe 2028721 initialize constexpr variable with result of constexpr function with user-defined auto return type
Matthias Biggel 1823129 Loop optimization bug with self assignments (/O2 or /Og)
Matthias Biggel 1823129 Loop optimization bug with self assignments (/O2 or /Og)
mattnewport 1935426 Internal compiler error compiling certain C++ code in Debug
Max Bulatoff 2183843 list-initialization overload resolution don’t respect user-defined conversion
Mdg8 1805962 Ambiguity while converting lambda to a pointer
Mdg8 1268890 bool b = false.operator int; compiles.. and b is true
melak47 2302642 C++11: Evaluation order in braced-init-list is wrong
melak47 2239581 C++14 aggregate type + NSDMI
melak47 2235102 ICE with unrecognized attribute on constructor
melak47 1921238 C++: aggregate initialization of struct of function pointers from lambdas -> syntax error
mharmer 1554175 Swapping queue in lambda capturing ‘this’ fails to compile
Michael Winterberg 1636326 C++ capturing “this” from a non-member function results in an internal compiler error
Michael Winterberg 1542839 C++ C4640 warning (construction of local static object is not thread-safe) is still emitted
microsoftconnect2016 2345577 namespace visibility
Mikel Negugogor 1885651 template using alias causes ICE in situation where template signatures do not match and a nested empty template is involved…
Miro Jakubovsky 2131746 VS2015 generates CMOVxx instructions even with /arch:IA32 switch
mkurdej 2271910 ICE when using variadic version of BOOST_FUSION_ADAPT_TPL_STRUCT (only when using amd64/cl.exe)
mkurdej 2102113 Error C3524 when sizeof(T) expanded only later
mloskot 1604854 swscanf_s should require unsigned size parameter
MMMMMMMMMMMM… 1812246 Compiler crash
msk_ 858898 Compiler bug related to complex template usage
Myria 1571340 new and “delete” allowed with inaccessible defaulted functions
Nathan Jeffords 2241708 compiler fails name lookup under specific circumstance
nbougalis 1820487 Constructors with parameters pack confuse compiler in the presence of a default constructor
nick_doing_work 1495318 error C2248 not showing code line
Nikita Konyuchenko 807617 Internal Compiler Error (vs2013 RTM)
Nikolay Gerasimov 2091255 Windows 10 ARM Release: Virtual functions mechanism does not work
NoMore 2165971 static constexpr member initialization
notmynamereal 1941836 Visual C++ 2015: Static variable defined within a function incorrectly initialised on Windows XP
NReedbeta 2104317 Internal compiler error using sizeof… on parameter pack in namespace
Oberon00 976911 Braced initializer list not evaluated left-to-right
OfekShilon 2158033 VC++: crash when freeing a DLL built with openMP
Oggysobe 2337518 std::experimental::generator write access violation
OokamiChan 2113677 Fatal error c1001 in file xtree at line 2061
PaloMisik2 2131519 LINK : fatal error LNK1000: Internal error during IMAGE::BuildImage
Pathompong 1843401 Enable Minimal Rebuild with LTCG causes build to fail when compiler detects that there are no relevant changes
Pawel Stopinski 2399877 ICE when parsing openssl
peroket 817620 Visual C++ decltype
Peter Esik 2131520 (VS 2015 Update 1 C++) C4702 (unreachable code) warnings emitted inconsistently
PetPil 1544105 C++ Optimization bug with /Og
Pierre2254 2085145 Issue with Language management
Pixelchemist 2238383 Internal Compiler Error with constructor noexcept specification
pmingkr 996942 compiler internal error / template class / casting operator
Potapov Anton 806184 VC++ 12 RC fails to choose between initializer_list enabled assignment operator and canonical one for std::pair list elements
powerchord 2135136 VS 2015 Update 1: OpenMP parallel for num_threads does not work anymore
Predelnik 1656577 Large number of seemingly innocent function calls causes huge optimization slowdown.
Radim Svoboda 2285385 Incorrect compilation C source to assembler – casting, security cookie
Rehcse 2391416 In-class member initialization causing breakpoints to hit in CPP
Riku 2131617 Visual C++ x64 compiler produces incorrect code in catch handler when run in “Release” mode
Ritesh Oedayrajsingh Varma 1717973 C++: const modifier on static member function definition does not result in a compile error
Rombust 862805 Using variadic templates with a function pointer as a parameter
Ron Ben-Yosef 2332293 VC++ ternary conditional operator optimization bug
rSergePR 1829909 GetSystemTimePreciseAsFileTime is not wrapped in macros which would give a compilation error for target platform less than Windows 8
Russell McClellan 1989669 Internal compiler error in Microsoft Visual C++ Build Tools
Ruud v A 1895253 Alias declaration interacting badly with declspec C2071
rwalters 2148128 C++ friend class can’t access friend’s protected destructor
rwong_002 1963756 C++ internal compiler error for user-defined conversion operator when the type is a const-qualified typedef of a template
Ryan Livingston 2290700 Compiled executable has access violation using the idiom x <<= 1; but not x *= 2; for x >= 0 at /O2
ryanpavlik 2154536 Internal compiler error (ICE) on some template metaprog in MSVC 2015.1
RYDB3RG 2046382 An internal error has occurred in the compiler.
sav_ 2286612 internal compiler error while building OpenSSL library
sbergen 2430244 std::atomic<T>::operator= returns previous value
Sergey Nenakhov 2183777 Debugging AVX code is broken
Sergey Tolstov 2059118 wcstombs_s either does not work correctly or help is wrong
Sergey2364597 2131476 internal compiler error with /O2 + /GL
Sergey2364597 2127244 std::ostream::write crash with O2 optimization
shadewind 1362980 Specializing template for STL container with varargs broken
Sichbo 2187627 VC++ compiler optimisation settings /O2 /Oy- with an INT64 bit shift can produce invalid byte code
Sichbo 2135855 _mm_loadu_si128 and _mm_storeu_si128 do not emit movdqu instruction as documented
simdoc 2054592 x64 C++ Runtime Merge Modules still have problems in Update 1 RC
Simon Sasburg 2433979 REGRESSION: New ICE in MSVC 2015 update 2:
Singijeon 2252839 VC++: failure to compile implementation of template method of template class with module system
sliser 2173053 too few template arguments bug
sliser 2100550 static constexpr const char _literal[] = “delta”; // not working inside templated struct
sliser 2087449 template parameter pack treated as single parameter
smile8u 1834348 ARM C++ code generation bug with “var++” operation
sqasl 1961831 C++11: Struct containing variadic template function doesn’t compile if destructor is present
Sqweez 1984067 Suspected compiler bug with float and /EHa + /fp:precise?
SRoeber 837165 SFINAE with VS2013
sschukat 2135519 Deadlock while using Visual Studio Update 1
Steve Cornett 2242313 Compiler crash with C2065 and /errorReport:prompt
Steve Cornett 2117724 Pragma warning suppress affects two lines
Steve_Clark 2208450 LINK : fatal error LNK1102: out of memory on a large C++/CLI DLL which compiled fine on VS2013
stheophil 1893491 <vector>: Warning C4297 generated in std::vector ctor although vector ctor is not declared noexcept
SvenJohannsen 2369662 access violation for calling std::mem_fn for virtual base class with vmg enabled
sw6ueyz 2325403 internal compiler error while constructor inheritance
T. Canens 2118677 std::is_constructible does not work with explicit conversion operator to class type
Tasiro 912507 Generic lambda cannot access namespace
Tautvydas Žilys 2394211 Visual C++ compiler optimizer optimizes out a loop variable index read, making loop infinite on x86
Telchar52 1581557 Missing items from the New Items dialog in WDExpress
th_neumann 1608159 C++/CLI generic function causes cast error in Visual Studio 2015
The-G 2038304 Value initialization of nested structs does not work properly
TheSpruceMoose 2216490 Compiler Crashes at String Stream Insertion Operator
Thiago Macieira 1902345 fread on a pipe drops some newlines
Tiger_lcf 2258249 Can’t use both #include <msclr\marshal.h> and using namespace std;
Tobias Reh 2109165 Inheriting ctors reject seemingly duplicate definition
Tobias Reh 2108534 constexpr with different values at run- and compile time
Tobias Reh 2102417 c++ program aborts even though exception handler is in place
TONGARI J 2360707 unable to match function definition to an existing declaration
tower120 2391488 c++11’s auto -> decltype return type problems
Trass3r 2113324 coroutines don’t fully support the no exceptions case yet
Trass3r 2099629 imprecise source location information due to optimizations
Trass3r 2098342 /GL accepts invalid code
Trass3r 2053283 no C4189 on nested struct with constructor
Trass3r 2006462 Use Link Time Code Generation uses incremental ltcg
Twan Koolen 1847159 ICE related to variadic templates and overloaded templated functions
Uffe Lauesen 1820472 C++ Nested exception handling in destructor is broken. Program crash.
Uli F 2361177 Merge Module Microsoft_VC140_CRT_x86.msm has wrong component condition
V i r 2229371 deleted function breaks SFINAE
VD42 2038827 C++ compiler optimization bug
Veena L 2104141 Error when a class derives from std::basic_istream/std::basic_ostream
Vidar Hasfjord 1457379 C++: Static member function template instantiation has crazy type
vogel53 1624809 Compiler Error – False positive
vpozdyayev 1572251 C++ ICE
Walter Blume 2293751 compiler bug
weibing 2094547 C++ bug for using namespace with openmp
Wenz Adrian 2000821 Visual Studio 2015 Redistributables (‘Microsoft_VC140_MFC_x64.msm’)
Xidorn Quan 2081008 Suppression of C4061 doesn’t work
Xidorn Quan 2080996 Regresssion: C2078 with any constexpr struct array
Yelmond 2141212 compiler crashes with templated constexpr default arguments
Yousuke Takada 2022260 Attempting to inherit an undefined recursive type makes the Visual C++ compiler crash
Zoppo 2029793 Calculation error with C++ compiler optimizations in VS 2015
zubrbubr 829298 VC++: failure to compile parameter pack expansion
zxop12 774121 Unexpected evaluation order within braced-init-list
I’ve selected English as the default language, but still are some Spanish text.
Unknown size for std::array with variadic sizeof size
ICE cl!InvokeCompilerPass()+0xd6d17
array indices get reversed with /O2
Cannot create C++ project, the wizard window “New Project” loops on itself
ICE during build on 32-bit with full optimization
R value reference failed to convert
Compiler error (assertion : SY_DEFLIST(symIV) != NULL): file s:\dd\feature\wcfb01\src\vctools\compiler\utc\src\p2\globlopt.c line 2633 during <Global Optimizer>(/O2)
After upgrading to Visual Studio 2015 Update 1, link.exe quite often hangs when building a large solution
With VC++ 2015 I’m getting a memory leak from functions declared const void when they are passed a parameter
ICE with static analysis when Analysing Trailing Return Type of decltype(this)
Simple console program fails to execute under windows 10. You need to look at the exe but I cannot u
it emits error C2248 when friend class invoke protected destructor
Installing Language Pack after Update1 will not install some VC Components.
C1XX mishandles UTF-8-without-BOM source files

IDE Fixes

Connect User Connect ID Title
Stav Yagev 1958103 When cross-compiling to Android using gcc the -fno-rtti is applied to C files and so generates a warning
Reisor1989 2087944 Bug in Post-build event
Gregory PAKOSZ 2130355 Dependency tracker bug
Debugini 1848283 Wrong file focus for build commands / Ctrl-F7 builds wrong file
mikhail.matrosov 1936234 “Compile” option is disabled
Jiayi Li 1987138 VS 2015 C++ Keyword font colors.
powerchord 2086611 “Enable New Database Engine” permanently kills features
Frank Heimes 873307 IntelliSense rejects legal index operator types.
DustPG 1412854 Incorrect evaluation of inline class functions in the context of another class definition
Sergey quixoticaxis Ivanov 1981591 C++ incorrect editor warning on class constructor defined as try-block
RustyX123 1999320 IntelliSense incorrectly calculates sizeof when #pragma pack is set
Keizo Imaizumi 1988014 Intellisense error in template class constructor specialization with direct initialization, compiles OK
edl_si 2362453 V140 Xp toolset broken by Update 2 CTP
VSPain 2480098 Blank C++ Universal App crashes if called CameraCalibratorTest
?? 1808964 REPORTED: __is_pod is incorrect for a class with an explicitly defaulted default constructor
Hao-Qun Yang 1957202 VS2015 Express for Windows Desktop, VC++ CLR Class Library, add new item problem
psalmsinger 1694829 No Class Views Available for C++ Projects on VS 2015 Community Edition
Miles Davies 958745 VS2013 – Source Control Difference window does no play well with task list
WKP_MH 1770642 VS2015 VCCustomBuildRule interface missing?
When invoking Rename, focus should be set on New Name
GTD cancelled operation still waits for lock held on the background/UI unresponsive
“Ignore Specific Default Libraries” have translation error under Russian
Incorrect evaluation of inline class functions in the context of another class definition
 Designer does not show controls for CPP winforms app
Support variable size of pointer to member
Intellisense still doesn’t account for #include continuations
Support anonymous structure in C
 VS consistently crashes when opening a solution.
“Create definition of a function” IDE action (pops up when you hover a mouse over a defined, but not implemented method)
The “Insert spaces around conditional operators” option mess the formatting up of switch statements
option to disable quick action squiggles
IntelliSense don’t know how to address member “VendorID” of the struct “PCI_COMMON_HEADER” without n

 

我们会定期更新Visual C++ Web Compiler,因此您可以用它来检测一个bug在我们最新的编译器上的状态。

使用Visual Studio Update 2中(或任何Visual Studio 版本),如果您遇到任何问题,请使用the Microsoft Connect webpage 提交您的反馈意见。