LDC2 compiling executable requiring elevated privileges?
spikespaz
spikespaz at outlook.com
Sun Oct 14 12:16:28 UTC 2018
I'm compiling an executable that does not need administrator
privileges. For some reason though, LDC thinks it does and marks
it as elevated.
=============================
ldc2 source\setup.d -i -I source -J build\vars -of
build\bin\setup.exe -m32 -g
=============================
No clue why, but what can I do about that?
I'm thinking maybe it's because I'm importing
"std.windows.registry". But even then, I'm only writing to
"HKEY_CURRENT_USER", so no elevation should be required.
This is the source.
https://github.com/spikespaz/search-deflector/blob/master/source/setup.d
More information about the Digitalmars-d
mailing list