View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005660 | JEDI Code Library | IDE Experts | public | 2011-09-21 21:54 | 2011-09-23 14:37 |
| Reporter | gskoczylas | Assigned To | outchy | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Platform | Delphi XE Professional | OS | Windows Vista Professional | OS Version | 15.0.3953.35171 |
| Product Version | Version 2.3 | ||||
| Target Version | Fixed in Version | Version 2.4 | |||
| Summary | 0005660: Error in source code | ||||
| Description | Source file: JclOtaUtils.pas Lines: 1305-1315 Oryginal code: ReadEnvVariables(EnvVariables); {$IFDEF BDS8_UP} // add the config environment variable if Supports(Project.ProjectOptions, IOTAProjectOptionsConfigurations, Configurations) then begin EnvVariables.Values['Config'] := Configurations.ActiveConfigurationName; EnvVariables.Values['Platform'] := Configurations.ActivePlatformName; end; {$ENDIF BDS8_UP} Compilation error: unknown identifier: ActivePlatformName Perhaps it should be: ReadEnvVariables(EnvVariables); {$IFDEF BDS8_UP} // add the config environment variable if Supports(Project.ProjectOptions, IOTAProjectOptionsConfigurations, Configurations) then begin EnvVariables.Values['Config'] := Configurations.ActiveConfigurationName; {$IFDEF BDS9_UP} // <------ EnvVariables.Values['Platform'] := Configurations.ActivePlatformName; {$ENDIF BDS9_UP} // <------ end; {$ENDIF BDS8_UP} | ||||
| Steps To Reproduce | Compile in Delphi XE. | ||||
| Additional Information | Perhaps the Configurations.ActivePlatformName identifier is available in Delphi XE2 and up. | ||||
| Tags | No tags attached. | ||||
| Fixed in GIT commit | |||||
| Fixed in SVN revision | 3600 | ||||
| IDE version | Delphi/C++Builder XE | ||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-09-21 21:54 | gskoczylas | New Issue | |
| 2011-09-21 21:54 | gskoczylas | IDE version | => Delphi/C++Builder XE |
| 2011-09-23 14:33 | outchy | Category | Installation => IDE Experts |
| 2011-09-23 14:33 | outchy | Product Version | => Version 2.3 (Subversion repository/Daily zips) |
| 2011-09-23 14:33 | outchy | Relationship added | duplicate of 0005649 |
| 2011-09-23 14:37 | outchy | Fixed in revision | => 3600 |
| 2011-09-23 14:37 | outchy | Note Added: 0018976 | |
| 2011-09-23 14:37 | outchy | Status | new => resolved |
| 2011-09-23 14:37 | outchy | Fixed in Version | => Version 2.4 (Subversion repository/Daily zips) |
| 2011-09-23 14:37 | outchy | Resolution | open => fixed |
| 2011-09-23 14:37 | outchy | Assigned To | => outchy |