On Mon, Mar 3, 2014 at 4:13 AM, Mario *LigH* Rohkrämer <[email protected]> wrote: > Am 03.03.2014, 08:29 Uhr, schrieb Nikos Barkas <[email protected]>: > > >> Building tip revision 288a83d fails with this message on MinGW x64: >> >> c:/x265/source/common/param.cpp: In function 'int x265::parseCpuName(const >> char*, bool&)': >> c:/DriveD/x265Project/x265/source/common/param.cpp:738:59: error: >> 'strtok_s' was not declared in this scope >> make[2]: *** [common/CMakeFiles/common.dir/param.cpp.obj] Error 1 >> make[1]: *** [common/CMakeFiles/common.dir/all] Error 2 >> make: *** [all] Error 2 >> >> Best regards >> Nikos > > > Same for GCC 4.8.2 Win32 and cross Win64. May require another include, > possibly excluded by a wrong compiler-dependent condition?
Apparently strtok_s support in MinGW is a very recent development, and not every Windows release is guaranteed to have it, so I've just sent a patch to the ML that looks for strtok_r. if found it uses it directly, else it uses an internal version. Can the two of you test this on your build setups? -- Steve Borho _______________________________________________ x265-devel mailing list [email protected] https://mailman.videolan.org/listinfo/x265-devel
