Message140359
The __W macro is needed because the token-pasting operator binds to the macro's argument immediately; Having WCHAR(y) expand to __W(y) means that __W is passed WCHAR's argument after it's been macro-expanded. Without the intermediate step, WCHAR(VERSION) becomes LVERSION.
As for the name - I have no objection to reasonable name changes. I picked WCHAR because it converts its argument to a wchar_t *.
Finally - I am aware that the HP/UX C compiler is broken. Unfortunately, I am required to work with it, and can neither replace it nor ignore it. |
|
Date |
User |
Action |
Args |
2011-07-14 18:36:48 | jschneid | set | recipients:
+ jschneid, loewis |
2011-07-14 18:36:47 | jschneid | set | messageid: <1310668607.96.0.99144317007.issue12561@psf.upfronthosting.co.za> |
2011-07-14 18:36:47 | jschneid | link | issue12561 messages |
2011-07-14 18:36:47 | jschneid | create | |
|