• 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: build warnings - stumped
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build warnings - stumped


  • Subject: Re: build warnings - stumped
  • From: "D. Walsh" <email@hidden>
  • Date: Thu, 21 Jul 2005 09:23:39 -0400
  • Mta-interface: amavisd-new-2.3.1-rc3-E (2005-05-06) at daleenterprise.com


On Jul 21, 2005, at 09:08 AM, j o a r wrote:


On 21 jul 2005, at 15.00, D.Walsh wrote:


I've moved a project over from 10.3.x to 10.4 that uses some GNU source and now when I build, I get tons of the following warnings and I'd like to either correct them or suppress this warning.

pointer targets in passing argument 1 of 'strlen' differ in signedness

Anyone knowledgeable know how to solve this?


The first thing you might try is to ensure that you use the same version of GCC.
Xcode 2.x on Mac OS X 10.4 defaults to GCC 4.x, while Xcode 1.x on Mac OS X 10.3 defaults to GCC 3.3. You can change the compiler in the build rules for your targets, or globally using gcc_select on the CLI.
Check the list archives for more information and discussion on this topic.


j o a r

I should have mentioned that I tried it with gcc 3.3 and 4.0, the difference in these warnings is reduced insignificantly using 3.3.


I grabbed a couple of source packages, MySQL and PHP, I built them and these seem to exhibit the same warnings for certain module source files.

-- Dale
_______________________________________________
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: 
 >build warnings - stumped (From: "D.Walsh" <email@hidden>)
 >Re: build warnings - stumped (From: j o a r <email@hidden>)

  • Prev by Date: Re: build warnings - stumped
  • Next by Date: Re: build warnings - stumped
  • Previous by thread: Re: build warnings - stumped
  • Next by thread: Re: build warnings - stumped
  • Index(es):
    • Date
    • Thread