[fpc-pascal]Allegro

Matt Emson memsom at interalpha.co.uk
Mon Feb 12 16:17:23 CET 2001


Sebastian,

>This works in FPC as well. For example, the OpenGL unit uses such
>constructs successfully:
>
>var
>  glClearIndex: procedure(c: Single); cdecl;

The problem then is that Delphi will accept either:

glClearIndex: procedure(c: Single); cdecl;
                                  ^^
or

glClearIndex: procedure(c: Single) cdecl;
                                 ^^
but FPC insists on the first version. I'll have another go tonight (I've loads
of other stuff to look at, so don't hold your collective breaths ;)

Matt




More information about the fpc-pascal mailing list