cdew / ccr-exif

Automatically exported from code.google.com/p/ccr-exif
0 stars 0 forks source link

Compiler error: [dcc32 Error] CCR.Exif.pas(3872): E2441 Inline function declared in interface section must not use local symbol 'IsGraphicEmpty' #7

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When using this great lib in Delphi XE5 I get this error:

[dcc32 Error] CCR.Exif.pas(3872): E2441 Inline function declared in interface 
section must not use local symbol 'IsGraphicEmpty'
What is the expected output? What do you see instead?

I was able to solve this by adding this part to the interface section:

{$IF Declared(TGraphic)}
function IsGraphicEmpty(AGraphic: TGraphic): Boolean; inline;
{$ENDIF}

I do not know if this is the right way but it worked for me.

Original issue reported on code.google.com by martijn....@gmail.com on 9 Jan 2014 at 10:09

GoogleCodeExporter commented 9 years ago
I had the same problem but I just made the function public ie. I put it in the 
interface section.

Original comment by SeanPalm...@gmail.com on 16 Apr 2014 at 7:43