bahamut8348 / superobject

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

FPC not dealing with {$if true}...{$ifend} #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi there,

I'm developing a Twitter lib(Dweetta) and while trying to compile under
Lazarus, it complains about the switches.

superobject.pas:601
{$if true}
    FO: record
      case TSuperType of
        stBoolean: (c_boolean: boolean);
        stDouble: (c_double: double);
        stCurrency: (c_currency: Currency);
        stInt: (c_int: SuperInt);
        stObject: (c_object: TSuperTableString);
        stArray: (c_array: TSuperArray);
{$IFDEF SUPER_METHOD}
        stMethod: (c_method: TSuperMethod);
{$ENDIF}
      end;
{$ifend}
-------------------------8<--------------------

I'm sorry not to give a patch, but I still need some more study of your source.

Cheers,
Gus

Original issue reported on code.google.com by guscarreno on 14 Dec 2009 at 11:32

GoogleCodeExporter commented 9 years ago
Forgot to tell you that I'm using the SVN version from trunk.

Original comment by guscarreno on 14 Dec 2009 at 11:49

GoogleCodeExporter commented 9 years ago

Original comment by hgourv...@gmail.com on 14 Dec 2009 at 3:02