Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   !verbose: Pop failed, stack is empty (http://forums.winamp.com/showthread.php?t=373238)

krischeu 22nd October 2013 07:46

!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 09:38

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 09:56

Thanks for fast response. Attached is a piece of code which makes some trouble.


code:

!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 20:39

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


All times are GMT. The time now is 17:21.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.