Add function convertion for g++