Invalid compiler directives
Issue #239
resolved
Invalid compiler directives in
Spring.Persistence.Core.Graphics
on FireMmonkey windows platform.
ex:
uses
{$IFDEF MSWINDOWS} //<- this directive work on vcl and fmx
Graphics
{$ELSE}
{$IFNDEF LINUX}
Fmx.Graphics
{$ELSE}
SysUtils,
Classes
{$ENDIF}
{$ENDIF}
Comments (6)
-
repo owner -
reporter Yes.
1
[dcc32 Fatal Error] Spring.Persistence.Core.Graphics.pas(33): F2613 Unit 'Graphics' not found.
i'm add to Unit Scope Names: 'FMX'. this step is fix. Next
2 (line 49)
[dcc32 Error] Spring.Persistence.Core.Graphics.pas(50): E2003 Undeclared identifier: 'TPicture'
[dcc32 Error] Spring.Persistence.Core.Graphics.pas(51): E2003 Undeclared identifier: 'TGraphic'
[dcc32 Error] Spring.Persistence.Core.Graphics.pas(52): E2003 Undeclared identifier: 'TGraphicClass'
this types referenced to VCL Framework, but i'm need FMX
-
repo owner Look into Spring.inc line 114
-
reporter I once did.
Still refers to the VCL framework
-
repo owner - changed status to open
-
repo owner fixed
#239→ <<cset 6e3ea1b11cf0>>
- Log in to comment
Does something not compile because of this?