- changed status to open
Error in Spring.Persistence.Core.ValueConverters for Delphi XE2
In (implementation) uses clause there is definition like below.
uses {$IF Defined(DELPHIXE2_UP) AND NOT Defined(NEXTGEN)} AnsiStrings, {$ELSE} SysUtils,
In jedi.inc DELPHIXE2_UP defined as: "Defined when compiling with Delphi XE2 for Win32 or higher"
DELPHI16_UP Defined when compiling with Delphi XE2 for Win32 or higher DELPHIXE2_UP Alias for DELPHI16_UP
In "FindGraphicClass" below line raises Undeclared identifier StrLComp because there is not a function in AnsiStrings as StrLComp in XE2, it is in sysutils (http://docwiki.embarcadero.com/Libraries/XE5/en/System.SysUtils.StrLComp)
else if {$IFDEF DELPHIXE2_UPx}AnsiStrings.{$ENDIF}StrLComp(PAnsiChar(@Buffer), 'GIF', 3) = 0 then
Comments (9)
-
repo owner -
repo owner - changed milestone to 1.2
- changed version to 1.2 (develop)
-
assigned issue to
-
reporter I'm using "release/1.2" version not develop version (to be able to use marshmallow orm)
Is there a better solution including Marshmallow and Spring?
And is there any startup document for Marshmallow?
-
repo owner "I'm using "release/1.2" version not develop version (to be able to use marshmallow orm)"
I know but that is how the 1.2 version is called in the issue tracker at the moment.
"Is there a better solution including Marshmallow and Spring?"
Marshmallow is already included in Spring4D with the currently developed version (release/1.2)
"And is there any startup document for Marshmallow?"
https://bitbucket.org/soundvibe/marshmallow/wiki/Home but it might be a bit out of date.
-
repo owner Changing the ifdefs to DELPHIXE5_UP should fix the issue by the way.
-
reporter Yes, I only wanted to inform for the problem.
Thanks
-
repo owner - changed status to resolved
XE4 moved StrLComp to AnsiStrings, not XE2 (fixes
#145)→ <<cset e37a423fdf62>>
-
repo owner XE4 moved StrLComp to AnsiStrings, not XE2 (fixes
#145)→ <<cset e37a423fdf62>>
-
repo owner - changed version to 1.2
- Log in to comment
1.2 has not been tested on XE2-XE5 so far but will be done before release