I'm trying to use callback functions declared as nested functions and looks like they are not working. As per GCC documentation it is possible to use nested functions ...