VC6 cannot handle class reference initialization in structs
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@7114 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
13fe58949c
commit
2bf0cf7025
4 changed files with 11 additions and 5 deletions
|
@ -2384,7 +2384,7 @@ int CEXEBuild::SetManifest()
|
|||
{
|
||||
try {
|
||||
init_res_editor();
|
||||
manifest::SPECIFICATION spec = { (manifest::flags) manifest_flags, manifest_dpiaware, manifest_dpiawareness.c_str(), manifest_lpaware, manifest_sosl, manifest_maxversiontested.c_str() };
|
||||
manifest::SPECIFICATION spec = { (manifest::flags) manifest_flags, manifest_dpiaware, manifest_dpiawareness.c_str(), manifest_lpaware, &manifest_sosl, manifest_maxversiontested.c_str() };
|
||||
string manifest = manifest::generate(manifest_comctl, manifest_exec_level, spec);
|
||||
|
||||
if (manifest == "")
|
||||
|
|
|
@ -97,7 +97,7 @@ string generate(comctl comctl_selection, exec_level exec_level_selection, const
|
|||
dpiaware dpia = spec.DPIA;
|
||||
const TCHAR *dpia2 = spec.DPIA2;
|
||||
longpathaware lpa = spec.lpaware;
|
||||
SupportedOSList& sosl = spec.SOSL;
|
||||
SupportedOSList& sosl = *spec.pSOSL;
|
||||
const TCHAR *mvt = spec.MaxVersionTested;
|
||||
|
||||
bool default_or_empty_sosl = sosl.isdefaultlist() || !sosl.getcount();
|
||||
|
|
|
@ -99,7 +99,7 @@ namespace manifest
|
|||
dpiaware DPIA;
|
||||
const TCHAR *DPIA2; // Win10FU1607+
|
||||
longpathaware lpaware;
|
||||
SupportedOSList& SOSL;
|
||||
SupportedOSList*pSOSL;
|
||||
const TCHAR *MaxVersionTested; // Win10FU1903+ github.com/microsoft/AppConsult-WinAppsModernizationWorkshop/tree/master/Exercise2
|
||||
} SPECIFICATION;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue