Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fail on Windows - Microsoft (R) Build Engine version 16.6.0+5ff7b0c9e #13

Closed
thisisprateeksaxena opened this issue Aug 7, 2020 · 1 comment

Comments

@thisisprateeksaxena
Copy link

aixlog.hpp(847,1): error C2664: 'void OutputDebugStringA(LPCSTR)': cannot convert argument 1 from 'const _Elem *' to 'LPCSTR' 
...
aixlog.hpp(1008,1): error C2664: 'HANDLE RegisterEventSourceA(LPCSTR,LPCSTR)': cannot convert argument 2 from 'const _Elem *' to 'LPCSTR'
...
aixlog.hpp(1038,1): error C2664: 'BOOL ReportEventA(HANDLE,WORD,WORD,DWORD,PSID,WORD,DWORD,LPCSTR *,LPVOID)': cannot convert argument 8 from 'const wchar_t **' to 'LPCSTR *'

After Explicitly typecasting to LPCSTR * , the build goes through.

@badaix
Copy link
Owner

badaix commented Feb 23, 2021

Fixed

@badaix badaix closed this as completed Feb 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants