Message140355
Why is the __W macro needed?
Please don't call it WCHAR:
- it conflicts with a same-named macro on Windows
- you are applying it to strings, not characters
FWIW, the compiler doesn't conform to standard C if it rejects this code. 6.4.5p4 says
[#4] In translation phase 6, the multibyte character
sequences specified by any sequence of adjacent character
and wide string literal tokens are concatenated into a
single multibyte character sequence. If any of the tokens
are wide string literal tokens, the resulting multibyte
character sequence is treated as a wide string literal;
otherwise, it is treated as a character string literal. |
|
Date |
User |
Action |
Args |
2011-07-14 18:29:22 | loewis | set | recipients:
+ loewis, jschneid |
2011-07-14 18:29:22 | loewis | set | messageid: <1310668162.37.0.350611613951.issue12561@psf.upfronthosting.co.za> |
2011-07-14 18:29:21 | loewis | link | issue12561 messages |
2011-07-14 18:29:21 | loewis | create | |
|