Archive: !verbose: Pop failed, stack is empty


!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


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.


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

The compiler is telling you what the error is! You must push before you pop...