Compilation errors for a c api
- by sam
What would be the reason for the following errors though the syntax was right and I have included the coreservices framework in which some data type and constants are declared.
" c.c:22: error: syntax error before ‘CFFileDescriptorRef’
c.c:22: warning: no semicolon at end of struct or union
c.c:24: error: syntax error before ‘}’ token
c.c:24: warning: data definition has no type or storage class
lipo: can't figure out the architecture type of: /var/folders/fF/fFgga6+-E48RL+iXKLFmAE+++TI/-Tmp-//ccFzQIAj.out "