thrift compiler will not auto update the files in the gen-cpp directory.
when we call t_generator::generate_program() and init_generator() in compiler\cpp\src\thrift\generate\t_generator.cc ,
'MKDIR' macro will ignore EEXIST, and throw on any other error, this will not give any reponse print on terminal. we used to update and generate the .h .cpp files in the whole directory.
1. delete the old folder and create new one, generate the file again.
2. throw errno directly and exit the terminal.
what`s your opinion about this?