Log On
Embarcadero Home
Watch, Follow, &
Connect with Us
Share This
QualityCentral
Communities
Articles
Blogs
Resources
Downloads
Help
QualityCentral
Delphi-BCB
Compiler
Delphi
Anonymous Methods
BASM
Code Generation/Optimization
Error Recovery
Errors - Warnings
Exceptions
Execution
Finalization
Generics
Header Generation
Interaction with UI
Interfaces
Language
Linker
Make Logic
Memory Manager
OBJ Generation
OBJ Support
Other Compiler
Packages
RTTI
String Resources
TD Debug Info
Thread Local Storage
Version resilience
You are not logged in.
Help
Print
Public Report
Report From:
Delphi-BCB/Compiler/Delphi/Interaction with UI
[ Add a report in this area ]
Report #:
79227
Status:
Open
Version conditional does not work in package project for suffixing
Project:
Delphi
Build #:
1
Version:
14.0
Submitted By:
Jaroslav Benes
Report Type:
Crash / Data loss / Total failure
Date Reported:
11/4/2009 4:54:08 AM
Severity:
Commonly encountered problem
Last Updated:
3/20/2012 2:24:39 AM
Platform:
All versions
Internal Tracking #:
273543
Resolution:
None
(Resolution Comments)
Resolved in Build:
:
None
Duplicate of:
None
Voting and Rating
Overall Rating:
No Ratings Yet
0.00 out of 5
Total Votes:
None
Description
None
Steps to Reproduce:
1/ create new dpk file with default values
2/ insert follow code into directives (it is origin from file DelphiX.dpk)
{$DESCRIPTION 'DelphiX - DirectX components for Delphi'}
//---->
{$IFDEF VER200} { Borland Delphi 2009 12.x }
{$LIBSUFFIX '120'}
{$ENDIF}
{$IFDEF VER210} { Borland Delphi 2010 14.x }
{$LIBSUFFIX '140'}
{$ENDIF}
//<----
3/ compile under Delphi 2010 (and for check under Delphi 2009)
a) Result for Delphi 2009
package name is modify by suffix to DelphiX120.bpl
b) Result for Delphi 2010
package name is NOT modify by suffix to DelphiX.bpl - version is ignoring.
Workarounds
1/ For reapir this problem I have to create separate file withour suffixing like DelphiX120.dpk and DelphiX140.dpl
Attachment
None
Comments
None
View Your Reports
Search
Server Response from: ETNACODE01
Developer Tools
Blackfish SQL
C++Builder
Delphi
FireMonkey
Prism
InterBase
JBuilder
J Optimizer
HTML5 Builder
3rdRail & TurboRuby
Database Tools
Change Manager
DBArtisan
DB Optimizer
ER/Studio
Performance Center
Rapid SQL
Technical Articles
Tutorials
White Papers
Press Releases
Newsletters
Add Content (GetPublished)
Audio
Audio & Video
Video
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Tags
Technology Partners
Downloads
Free Trials
Registered User Downloads
Beta Programs
Add Content (GetPublished)
Articles
Blogs
Bugs & Suggestions (QualityCentral)
Discussion Forums
Examples (CodeCentral)
Member Services
About
Connect with Us