krischeu
22nd October 2013 08:46 UTC
!verbose: Pop failed, stack is empty
Hi everybody,
can anyone give me a hand by solving this warnings? I changed my computer and want to have everything up and running again. I am using NSIS 3.0.1a, HM NIS Edit 2.0.3.
Everything compiles well unless I get some warnings.
Does anyone have a clue on this issue?
Thanks in advance
Heinz
MSG
22nd October 2013 10:38 UTC
It is impossible for us to help you if you don't tell us what the problem is. What compiler warnings do you get? Please show us a minimal (= short!) code example that generates the warnings.
krischeu
22nd October 2013 10:56 UTC
Thanks for fast response. Attached is a piece of code which makes some trouble.
!macro MUI_UNGETLANGUAGE
!verbose pop
!ifdef MUI_LANGDLL_REGISTRY_ROOT & MUI_LANGDLL_REGISTRY_KEY & MUI_LANGDLL_REGISTRY_VALUENAME
ReadRegStr $MUI_TEMP1 "${MUI_LANGDLL_REGISTRY_ROOT}" "${MUI_LANGDLL_REGISTRY_KEY}" "${MUI_LANGDLL_REGISTRY_VALUENAME}"
StrCmp $MUI_TEMP1 "" 0 mui.ungetlanguage_setlang
!endif
!insertmacro MUI_LANGDLL_DISPLAY
!ifdef MUI_LANGDLL_REGISTRY_ROOT & MUI_LANGDLL_REGISTRY_KEY & MUI_LANGDLL_REGISTRY_VALUENAME
Goto mui.ungetlanguage_done
mui.ungetlanguage_setlang:
StrCpy $LANGUAGE $MUI_TEMP1
mui.ungetlanguage_done:
!endif
!verbose pop
!macroend
Anders
22nd October 2013 21:39 UTC
The compiler is telling you what the error is! You must push before you pop...