[Interest] Compile Function Pinter On Linux

Thiago Macieira thiago.macieira at intel.com
Tue Jun 19 09:37:40 CEST 2012


On terça-feira, 19 de junho de 2012 00.30.10, Arun Kumar wrote:
>  Hi,
>  I  created one dll file using Qt tool and c programming language its
> working fine on my windows application but when  I compile it on Linux it
> show me one error on function pointer
> like this
> 
> expected ‘)’ before ‘*’
> 
> 
> and my working code is
> 
>  void *(  CALLBACK *managedStopCallback)();
> 
> Any one experianced in this please help me

What is CALLBACK? Since it's not a C keyword, it must be defined to something.

What did you define it to?

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120619/7298d27c/attachment.sig>


More information about the Interest mailing list