acbarbosa1964 / rawflickr

Automatically exported from code.google.com/p/rawflickr
Other
0 stars 0 forks source link

Compilation errors in Turbo Delphi #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Adding the served rawflick.pas to your uses clause and trying to compile
gives these errors:

* In unit DateTimeExt.pas:
  - Can't find function VarToDateTime
* In unit StringsExt.pas:
  -  Unrecognized symbols: SLinstIndexError,  SAssignError

This same errors happen, probably, in other versions of Delphi newer than
Delphi 5.

Original issue reported on code.google.com by sillyl...@gmail.com on 10 Mar 2009 at 2:30

GoogleCodeExporter commented 9 years ago
Both errors arise from changes of symbols placement in the Borland libraries.
* The first one can be corrected by adding the unit Variants to the uses clause 
of
DateTimeExt.pas; however, that would break compatibility with Delphi 5 unless 
made
inside an {$IFNDEF VER130}.

* The second one is still under investigation, but in the meantime you can 
simply add
the constansts:

const
  SListIndexError = 'List index out of bounds (%d)';
  SAssignError = 'Cannot assign a %s to a %s';

to the implemantion section of the unit StringsExt.pas.

Original comment by sillyl...@gmail.com on 10 Mar 2009 at 2:37

GoogleCodeExporter commented 9 years ago
Changed the meaning of the tag "Compatibility", so it no longer applies to this 
issue. The correct tag for this type of problem is  "Compatibility-X".

Original comment by sillyl...@gmail.com on 22 Mar 2009 at 3:14

GoogleCodeExporter commented 9 years ago
I won't work in this issue until after release 1.3 is up. This means that that 
release will show the same drawbacks but since there's a workaround, I feel 
that 
incorporating the changes and additions Flickr has made has a higher priority.

Original comment by sillyl...@gmail.com on 1 Apr 2009 at 12:40