Try to compile with -O0 and -ggdb3 options: ----- /usr/bin/g++ -o test3 -O0 -ggdb3 test3.cpp ----- it is possible compiler optimized out your constructor. --- Serge
Try to compile with -O0 and -ggdb3 options: ----- /usr/bin/g++ -o test3 -O0 -ggdb3 test3.cpp ----- it is possible compiler optimized out your constructor. --- Serge