Suppressing warnings for multi-character character constants
Suppressing warnings for multi-character character constants
- Subject: Suppressing warnings for multi-character character constants
- From: David Palmer <email@hidden>
- Date: Wed, 26 Nov 2003 10:01:50 +0000
In the process of converting a Codewarrior project to Xcode, I am
getting hundreds of warning messages wherever I use two-byte character
constants, e.g.,
UInt16 elementSymbol = 'Si';
(which at compile time results in the warning: "Multi-character
character constant").
Is there a straightforward way of suppressing these warnings please?
(without turning off other, more serious warnings?).
I see that there is a setting for allowing four-character constants (as
used for OSTypes). I've checked the implementation notes, and my
two-byte usage, whilst "implementation-defined", is allowed by the
GCC3.3 compiler.
Many thanks in advance,
David Palmer
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.