On Tue, Jun 16, 2009 at 1:28 AM, Adrian Buehlmann<[email protected]> wrote: > On 15.06.2009 18:10, [email protected] wrote: >> http://www.bitbucket.org/tortoisehg/crew/changeset/70f7297adda2/ >> changeset: r2858:70f7297adda2 >> user: kuy >> date: 2009-06-15 16:45:37 >> summary: cmenu: support both encodings Unicode & Ansi in help text >> >> Just work around for ANSI applications using Windows shell. >> 'wcscpy_s' is good for preventing 'buffer overrun' problems. >> And add 'uFlags' value to debug trace. >> affected #: 1 file (154 bytes) > > This breaks compilation with mingW > > g++ -c -o ContextMenu.o ContextMenu.cpp > ContextMenu.cpp: In member function `virtual HRESULT > CShellExt::GetCommandString(UINT_PTR, UINT, UINT*, CHAR*, UINT)': > ContextMenu.cpp:432: error: `wcscpy_s' was not declared in this scope > ContextMenu.cpp:436: error: `strcpy_s' was not declared in this scope > make: *** [ContextMenu.o] Error 1 > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Tortoisehg-develop mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop >
Ah, forgot it. '_s' function series are VC++ extension. Thank you for pointing. I'll resubmit a bit later. regards, Yuki ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Tortoisehg-develop mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-develop
