bahamut8348 / superobject

Automatically exported from code.google.com/p/superobject
0 stars 1 forks source link

Compile error in latest version - UUIDToString compiler define issue #19

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Build latest in Delphi 2006
2. [Pascal Error] superobject.pas(820): E2065 Unsatisfied forward or external 
declaration: 'UUIDToString'

Quickest solution:

move the definitions of 
  function UUIDToString(const g: TGUID): string;
  function StringToUUID(const str: string; var g: TGUID): Boolean;

Down underneath the next line
  {$IFDEF HAVE_RTTI}

Alternately, move the implementation of these two methods outside of this 
define scope.

Original issue reported on code.google.com by dar...@darianmiller.com on 14 Oct 2011 at 5:55

GoogleCodeExporter commented 9 years ago
Same on Delphi 2009 :)

Original comment by microAl...@gmail.com on 27 Oct 2011 at 4:23