Add non MSC info into debug info

This commit is contained in:
Don Ho 2021-08-31 18:41:22 +02:00
parent f6488cdc7a
commit dab02db976
1 changed files with 8 additions and 0 deletions

View File

@ -155,6 +155,14 @@ INT_PTR CALLBACK DebugInfoDlg::run_dlgProc(UINT message, WPARAM wParam, LPARAM /
_debugInfoStr += buildTime;
_debugInfoStr += TEXT("\r\n");
#if defined(__GNUC__)
_debugInfoStr += TEXT("Built with : GCC ");
_debugInfoStr += wmc.char2wchar(__VERSION__, CP_ACP);
_debugInfoStr += TEXT("\r\n");
#elif !defined(_MSC_VER)
_debugInfoStr += TEXT("Built with : (unknown)\r\n");
#endif
// Binary path
_debugInfoStr += TEXT("Path : ");
TCHAR nppFullPath[MAX_PATH];