• 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: Control initialised data layout?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Control initialised data layout?


  • Subject: Re: Control initialised data layout?
  • From: Alastair Houghton <email@hidden>
  • Date: Tue, 31 Jul 2007 16:46:54 +0100

On 31 Jul 2007, at 12:42, Fritz Anderson wrote:

On 31 Jul 2007, at 3:39 AM, Martin Crane wrote:

the C file which contains the two buffers are from a third party and cannot be changed - I can see the code, but can't change it... sort of an SDK. Does this mean there are no options left? If so, I'll need to raise it as an issue with the third party in the hope they will change the source code to cater for Xcode :-/

May I suggest you not specifically mention Xcode? There are people who take pride in punishing what they see as Apple weirdness. Better that than take trouble correcting their code, or worse, admit their code needs correcting.


Rather, ask them to change the source code:

- To "cater" to gcc, a common and standard compiler.
- To "cater" to standard, portable C.

You have a portability problem, not an Xcode problem. You need a bug fix, not a privilege.

It might also be worth mentioning that there is no reason for them to assume that their code will continue to work on *any other* C compiler as that compiler evolves in future, since they are making an invalid assumption about the layout of global variables. i.e. sooner or later, they may have to fix this anyway, even if they never use GCC or any other C compiler themselves.


Kind regards,

Alastair.

--
http://alastairs-place.net


_______________________________________________ Do not post admin requests to the list. They will be ignored. Xcode-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Control initialised data layout? (From: Greg Guerin <email@hidden>)
 >Re: Control initialised data layout? (From: Martin Crane <email@hidden>)
 >Re: Control initialised data layout? (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Control initialised data layout?
  • Next by Date: How do I include Python.framework?
  • Previous by thread: Re: Control initialised data layout?
  • Next by thread: Disable Localization?
  • Index(es):
    • Date
    • Thread