"parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
"parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
- Subject: "parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
- From: "Jeremy Higgs" <email@hidden>
- Date: Mon, 20 Mar 2006 21:05:10 +1100
Hi everyone,
I'm trying to compile a class (against the 10.4 Universal SDK) that
has the following #include line:
#include <openssl/evp.h>
It compiles on a PPC machine (running Xcode 2.2.1) fine (Debug and
Release), but on an Intel machine (a MacBook Pro), I get this:
In file included from
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/openssl/evp.h:149,
from
/Users/jhiggs/Documents/Projects/AFRegistration/AFAdditions.m:10:
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/openssl/rsa.h:311: error:
parse error before 'OBJC_STRING' token
/Developer/SDKs/MacOSX10.4u.sdk/usr/include/openssl/rsa.h:314: error:
parse error before 'OBJC_STRING' token
The line in particular from rsa.h is:
int RSA_padding_add_PKCS1_PSS(RSA *rsa, unsigned char *EM,
const unsigned char *mHash,
const EVP_MD *Hash, int sLen);
... which seems to be exactly the same as what's in the the 10.4u SDK
on a PPC machine.
Has anyone else experienced this? Apparently, copying the 10.4u SDK
from a PPC machine onto the Intel machine, and compiling against that
works, so it appears to be something wrong with the 10.4u SDK that was
included with the MBP.
Thanks!
Jeremy
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden