[fpc-pascal] Strange error message
    Darius Blaszyk 
    dhkblaszyk at zeelandnet.nl
       
    Wed May  8 11:20:42 CEST 2013
    
    
  
I'm working on a glut app but I keep on getting the message: Error:
Can't assign local procedure/function to procedure variable 
The error is at this line: glutDisplayFunc(@redrawfunc); 
And the callback (which is declared in the same .inc file) is declared
as: procedure redrawfunc; cdecl; 
I must be overlooking something obvious but I just don't see what. Any
ideas? 
Regards, Darius 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130508/5222042b/attachment.html>
    
    
More information about the fpc-pascal
mailing list