• 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
"'char' type is unsigned" seems to be broken
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"'char' type is unsigned" seems to be broken


  • Subject: "'char' type is unsigned" seems to be broken
  • From: Brian Barnes <email@hidden>
  • Date: Mon, 9 May 2005 22:38:50 -0400

Turning on "'char' type is unsigned" and running this code:

    char            txt[256];
    unsigned char    txt2[256];

    strcpy(txt,"abc");
    strcpy(txt2,"abc");

gets you:

warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness

For the first line.

"-funsigned-char" is in the compile arguments. Once again, I'm using -fast, this might be breaking it.

[>] Brian
_______________________________________________
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


  • Follow-Ups:
    • Re: "'char' type is unsigned" seems to be broken
      • From: Clark Cox <email@hidden>
  • Prev by Date: CFSTR throws warning in Tiger
  • Next by Date: Suggestion to eliminate confusion in style overrides
  • Previous by thread: CFSTR throws warning in Tiger
  • Next by thread: Re: "'char' type is unsigned" seems to be broken
  • Index(es):
    • Date
    • Thread