Old 22nd October 2013, 08:46   #1
krischeu
Junior Member
 
Join Date: Mar 2013
Posts: 13
!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
krischeu is offline   Reply With Quote
Old 22nd October 2013, 10:38   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
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.
MSG is offline   Reply With Quote
Old 22nd October 2013, 10:56   #3
krischeu
Junior Member
 
Join Date: Mar 2013
Posts: 13
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

krischeu is offline   Reply With Quote
Old 22nd October 2013, 21:39   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,172
The compiler is telling you what the error is! You must push before you pop...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump