Mailing List Archive
tlug.jp Mailing List tlug archive tlug Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: [tlug] compilation warnings for unsigned char
- Date: Sun, 09 Jul 2006 16:48:22 +1000 (EST)
- From: Jim Breen <Jim.Breen@example.com>
- Subject: Re: [tlug] compilation warnings for unsigned char
"Stephen J. Turnbull" <stephen@example.com> wrote; >> Jim> What a stupid mess. Why for Bog's sake does the signed-ness >> Jim> of char matter for things like strcat and strcpy anyway? >> Jim> Mutter, mutter. >> >> Because C doesn't have a concept of unordered bytes, only tiny ints, >> for which comparisons matter in general, even if they don't for your >> application. You have to choose .... Well, I have bitten the bullet and made them char with -funsigned-char set. If other compilers don't like that - tough tittie. >> It ought to be possible to just turn those warnings off; maybe you >> should ask on the gcc list (or it might even be a FAQ). Maybe. I'd rather get warnings when rules are being infringed, but be able to add rules of my own, e.g. with -funsigned-char. Cheers Jim -- Jim Breen http://www.csse.monash.edu.au/~jwb/ Clayton School of Information Technology, Tel: +61 3 9905 9554 Monash University, VIC 3800, Australia Fax: +61 3 9905 5146 (Monash Provider No. 00008C) ジム・ブリーン@モナシュ大蛙触Â
- Follow-Ups:
- Re: [tlug] compilation warnings for unsigned char
- From: Stephen J. Turnbull
Home | Main Index | Thread Index
- Prev by Date: Re: [tlug] Sony: Proprietary Jailkeeper . . . . . . . . . . . . . . . . . . . . . . . . . . Re: Baby Steps for Command Line Backups
- Next by Date: Re: [tlug] Sony: Proprietary Jailkeeper . . . . . . . . . . . . . . . . . . . . . . . . . . Re: Baby Steps for Command Line Backups
- Previous by thread: Re: [tlug] compilation warnings for unsigned char
- Next by thread: Re: [tlug] compilation warnings for unsigned char
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links