Ahh... I see, that fixes fixed the build, thank you very much.
I'm curious as to why the error message that's displayed, it reported that
wWinMain() was the one undefined in a Unicode build. I just realized that a
non-Unicode compilation builds fine without even specifying the 'extern
"C"' part.
I forgot to tell what version of the compiler I was using, it is v4.8.2.
Anyway, thanks for the answer, regards,
James.
On Sun, May 18, 2014 at 3:46 AM, JonY <[email protected]> wrote:
> On 5/18/2014 08:16, James Russell Moore wrote:
> > Hello, I was just building a little application that tries to mimic
> "touch"
> > behaviour in Windows, its source is attached to this message.
> >
>
> Change
> int _tmain(int argc, LPTSTR argv[])
>
> to
> extern "C" int _tmain(int argc, LPTSTR argv[])
>
> wmain was C++ mangled.
>
>
>
>
> ------------------------------------------------------------------------------
> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> Instantly run your Selenium tests across 300+ browser/OS combos.
> Get unparalleled scalability from the best Selenium testing platform
> available
> Simple to use. Nothing to install. Get started now for free."
> http://p.sf.net/sfu/SauceLabs
> _______________________________________________
> Mingw-w64-public mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
>
>
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public