[cfe-dev] _warning: '__cdecl' only applies to function types; type here is 'int' [-Wignored-attributes]

Roberto Della Pasqua via cfe-dev cfe-dev at lists.llvm.org
Thu Jul 6 15:58:23 PDT 2017


Hello, I'm a newbie of clang and c++, 
I have a library that compiles fine with clang 64bit (llvm4), but with clang
32 bit I get many errors all related with _cdecl exports (_warning:
'__cdecl' only applies to  function types; type here is 'int'
[-Wignored-attributes] ), 
how to solve it and build static objects with all the cdecl exports? 
Thank you 
R. 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20170707/ac8217a9/attachment.html>


More information about the cfe-dev mailing list