Hi Jakub, > I forgot about PR112652 and added a test that relies on iconv actually > failing when converting from UTF-8 with some emojis to a character set > without those characters. > Seems Solaris iconv just transcodes such characters as ? instead of > reporting an error. > > The following patch splits the test into two halves, so that the first one > is tested on Solaris, and uses dg-skip-if for Solaris like in r16-6209 > in the second half (rather than expecting no diagnostics for Solaris, > because one can use GNU libiconv on Solaris too).
I'm currently checking if GNU libiconv can be bundled with Solaris in the future. Right now I'm a bit vary of requiring it, also in light of PR other/124446. > Tested on x86_64-linux, ok for trunk? > > 2026-03-11 Jakub Jelinek <[email protected]> > > PR c++/124118 > * g++.dg/reflect/eh8.C (bar, c): Move second part of tests to ... > * g++.dg/reflect/eh10.C: ... here, new test. Add dg-skip-if for > solaris. I've just tested it successfully on i386-pc-solaris2.11, so from my PoV it's good to go. Thanks. Rainer -- ----------------------------------------------------------------------------- Rainer Orth, Center for Biotechnology, Bielefeld University
