Merge pull request #781 from liyuray/development fix crash issue on mingw caused by variable argument list type promotion.