On 11 Apr 2013, at 21:20, Milian Wolff wrote: > Hey there, > > a friend of mine is starting C++ and asked me this apparently simple question: > > Why does the following program not show me an error?
Hi memcheck is a heap checker, not a stack checker. Try --tool=exp-sgcheck (where sg is stack and global) A+ Paul ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users