• 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: Markus Hitter <email@hidden>
  • Date: Thu, 21 Jul 2005 15:24:36 +0200


Am 21.07.2005 um 15:00 schrieb D.Walsh:

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

Yes, gcc-4.0 is pickier about type checking. strlen(3) wants a const char *, i.e. a pointer to signed characters.


Anyone knowledgeable know how to solve this?

Fix the types. Think about wether you need a signed pointer or an unsigned one and correct the/your code accordingly. If you indeed need different signedness, use a cast.



Markus

- - - - - - - - - - - - - - - - - - -
Dipl. Ing. Markus Hitter
http://www.jump-ing.de/




_______________________________________________ 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>)

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