tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] Win: string parts of sec_api not declared


From: YX Hao
Subject: [Tinycc-devel] Win: string parts of sec_api not declared
Date: Wed, 15 Mar 2017 19:43:52 +0800

Hi grischka and there,

I found this while using ' wcscpy_s '.

tcc+\include>findstr /s /n wcscpy_s *
got:
sec_api\stralign_s.h:19:  static __inline PUWSTR ua_wcscpy_s(PUWSTR 
Destination,size_t DestinationSize,PCUWSTR Source) {
sec_api\stralign_s.h:20:    if(WSTR_ALIGNED(Source) && 
WSTR_ALIGNED(Destination)) return 
(wcscpy_s((PWSTR)Destination,DestinationSize,(PCWSTR)Source)==0 ? Destination : 
NULL);
sec_api\tchar_s.h:61:#define _tcscpy_s wcscpy_s

‘_WSTRING_S_DEFINED’ quoted parts missed, in 'sec_api\string_s.h' AND 
'sec_api\wchar_s.h'. Please update with mingw(-w64)

http://repo.or.cz/tinycc.git/history/refs/heads/mob:/win32/include/sec_api

As you did the headers porting work and experienced. It's kind that if you can 
make an total update.

Extra:
'shlguid.h' from mingw(-w64) is useful.


Best Regards,
YX Hao






reply via email to

[Prev in Thread] Current Thread [Next in Thread]