Re: build warnings - stumped
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