On Dec 28, 2020, François Dumont <frs.dum...@gmail.com> wrote:

> On 22/12/20 10:27 pm, Alexandre Oliva wrote:

>> While updating Corentin's patch for mainline, I brought over to the
>> split-out test even the preprocessor conditional that is present in the
>> current version of the test, but required/implied by dg-requires-wchars.
>> Maybe that's excessive.


>> +#if _GLIBCXX_USE_WCHAR_T
>> +  wchar_t wc;
>> +#else
>> +  enum W { } wc;
>> +#endif

> Maybe you could simplify this as _GLIBCXX_USE_WCHAR_T is != 0.

Yup, just as mentioned in the patch submission, in the paragraph quoted
above.

-- 
Alexandre Oliva, happy hacker  https://FSFLA.org/blogs/lxo/
   Free Software Activist         GNU Toolchain Engineer
        Vim, Vi, Voltei pro Emacs -- GNUlius Caesar

Reply via email to