use stringstream instead of fixed sized buffer
not to use the original print_variable_declaration_line() function for compatibility mode
add doxygen style comment