Archive: Warnings with 2.24 version


Warnings with 2.24 version
Ive download and isntalled version 2.24
My scripts with 2.23 version are ok
With this new one shows to me 2 warnings after compiled

2 warnings:
uninstall function "un.GetParent" not referenced - zeroing code (0-21) out

install function "GetParent" not referenced - zeroing code (0-21) out

Why?
Thanks in Advance


You must have removed some code that uses the GetParent function as these are NSIS functions and are not related to makensis itself.

-Stu


Hi Afrow
Remove some code from where??
My installer doesnt use GetParent
I insist my scripts with 2.23 version are ok, and compiled ok without warnings, but with the version shows to me the warnings after compiled.

Kindly


These warnings are being generated by Library.nsh.
It includes the GetParent and un.GetParent functions but does not always use them.


Thanks Iceman
Do you know why this warnings only happend in this new version of nsis?


Because GetParent was only added in the latest version of NSIS to Library.nsh.


Thanks for the answer kichik
It means that the only solution for this warning is ingnoring or remove from Library.nsh???

Bye


Yes.


LOL
Yes what? ignore o remove?
Kindly


Yes, this is the only solution. Removing or ignoring. The best one is up to you. If you remove it, you lost the functionality it's there to fulfill. If you ignore it, well, you ignore it.


Ok
Thnks again