search for: __stdc_mb_might_neq_wc__

Displaying 3 results from an estimated 3 matches for "__stdc_mb_might_neq_wc__".

2015 Jan 10
2
[LLVMdev] [cfe-dev] Reminder: 3.6 branch is coming
On 10 Jan 2015, at 17:35, Dimitry Andric <dimitry at andric.com> wrote: > > It looks like the interpretation of what "__STDC_MB_MIGHT_NEQ_WC__" means differs between the llvm developers and the FreeBSD developers. I'm not sure what a good solution is. I've just read the relevant parts of the C11 spec, and it's not really clear to me what the 'basic character set' is. There are two possible interpretations: - T...
2015 Jan 12
3
[LLVMdev] [cfe-dev] Reminder: 3.6 branch is coming
...; That makes no sense. These value are compile-time constants and cannot possibly depend on the locale. I believe Richard is wrong here. There are a number of similar compile-time constant macros in the C spec. I believe the clue as to the correct reading of the spec is in the name of the macro: __STDC_MB_MIGHT_NEQ_WC__ Note the word *might*. It means that it is not safe for code to assume that a cast will give the corresponding char value if one exists. i.e. that assumption is not true for all locales. As dim says, the test is wrong. It would be a valid test for it to fail if __STDC_MB_MIGHT_NEQ_WC__ is *not...
2015 Jan 09
7
[LLVMdev] Reminder: 3.6 branch is coming
Reminder: The plan is to create the 3.6 branch next week, on 14 January. Please help get the release notes and other documents updated. For example, both the LLVM [1] and Clang [2] release notes look pretty empty. Also, if you'd like to volunteer to be a release tester, please let me know. Cheers, Hans 1. http://llvm.org/docs/ReleaseNotes.html 2.