3 ms·
With Visual Studio 2015 update 3, and /W4, I get "warning C4706: assignment within conditional expression" for stuff like "if(a=5)", both in C and C++. (C4706:
by to3m 10y ago
With Visual Studio 2015 update 3, and /W4, I get "warning C4706: assignment within conditional expression" for stuff like "if(a=5)", both in C and C++.
(C4706: https://msdn.microsoft.com/en-us/library/7hw7c1he.aspx https://msdn.microsoft.com/en-us/library/7hw7c1he.aspx)
- MaulingMonkey 10y agoI cannot generate the warning via command line flags only (including getting very insistent with /wall /w14706 /we4706 ) on VS2015 update 1, presumably a bug.