#39 MIssing CRT functions _create_locale, _printf_l, ...

open
nobody
None
5
2010-06-03
2010-06-03
Tomas Cipr
No

Hi,

I tried to compile source code that contained Win CRT functions _create_locale and _printf_l. Although I found their definitions in locale.h and sec_api/stdio_s.h I got undefined references error by linker. Does the mingw-crt miss these functions or do I have to link against some specific library? I am using precompiled toolchain mingw-w32-bin_i686-mingw_20100527_sezero.

Thank you very much. Regards,
-Tomas

Discussion

  • Ozkan Sezer

    Ozkan Sezer - 2010-06-03

    They are indeed missing in the crt.

     
  • Tomas Cipr

    Tomas Cipr - 2010-06-04

    OK, thanks for quick response.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks