In my previous question (Why value captured by reference in lambda is broken?) answer is "because you access memory of variable that is out of scope".
In most common compilers (I mean Visual C++, gcc and clang) is there compiler warnings about this incorrect memory access?