On 11/2/2012 18:08, Ozkan Sezer wrote: > On Fri, Nov 2, 2012 at 11:54 AM, JonY <[email protected]> wrote: >> On 11/2/2012 16:55, Ozkan Sezer wrote: >>> On Thu, Nov 1, 2012 at 4:54 PM, Earnie Boyd >>> <[email protected]> wrote: >>>> Is it properly wrapped in the extern C { } when __cplusplus is >>>> defined? Is __cplusplus defined correctly? >>>> >>> >>> Yes, sec_api/string_s.h does that. >>> >> >> Tested in g++ 4.8.0 with trunk headers, seems to work fine there. > > To make things clear, does the stable/v2.x headers also work for you? > (sorry that I can't test things myself for now.) >
Sorry, I don't have a 2.x install, checking diffs between the 2 shows that the include to sec_api/string_s.h has been moved up in trunk. Likewise for MINGW_HAS_SECURE_API define in _mingw.h.in. string.h includes string_.h and crtdef.h which includes _mingw.h, not sure where the problem lies.
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
