Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Porting to non-gcc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Porting to non-gcc



I'm trying to get this installed on Solaris using Sun Studio 12 as my
compiler instead of gcc (I've just started and haven't gotten frustrated
enough to just use gcc yet) and I'm running into this issue:

"../mDNSCore/DNSCommon.c", line 1079: a cast does not yield an lvalue

Studio *really* doesn't like this line:

    (mDNSu8 *)opt = rr->rdata->u.data + nput;

Does the post about having issues on non-x86 platforms and this practice
still hold water?  If not, this is at least a stumbling block for getting
this all working without gcc.

Thoughts as to an acceptable solution?

-brian
--
"Perl can be fast and elegant as much as J2EE can be fast and elegant.
In the hands of a skilled artisan, it can and does happen; it's just
that most of the shit out there is built by people who'd be better
suited to making sure that my burger is cooked thoroughly."  -- Jonathan Patschke
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Bonjour-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.