Hello, I have a small utility which makes use of wide characters in Windows. It's written using _TCHAR though so it can be built with multibyte characters as well.
The main() function header is written as follows:
int _tmain(int argc, _TCHAR* argv)
Translates to "main" in a multibyte build and "wmain" in a Unicode build, but TCC seems to expect a main() function instead of a wmain() one so it can't produce Unicode builds (I tried with a mob build as well).
Is is expected or is there something wrong? Would it be possible to make a modification to enable wmain() to be an entry point as well as main()?
Attached to this email is a small test case.
Thanks for your time anyway.