• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: "parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine


  • Subject: Re: "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, 3 Apr 2006 20:25:26 +1000

So has anyone seen this? I'm stumped as to why this error would be cropping up!

On 3/20/06, Jeremy Higgs <email@hidden> wrote:
> 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

  • Follow-Ups:
    • Re: "parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
      • From: Mike Blaguszewski <email@hidden>
  • Prev by Date: confused about bindings
  • Next by Date: Re: Path names in executable
  • Previous by thread: Re: confused about bindings - SOLVED
  • Next by thread: Re: "parse error before 'OBJC_STRING' token" when including evp.h from 10.4u SDK on an Intel machine
  • Index(es):
    • Date
    • Thread