fix risk of function name conflicts

Because $ is included in the function name generated by the compiler,
the risk of function name conflicts is high.
improve annotations for compiling

Fix 7 warnings that occured in compilation.