https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112652

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jason at gcc dot gnu.org

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Given that C++ says e.g. in https://eel.is/c++draft/lex.ccon#3.1
that program is ill-formed if some character lacks encoding in the execution
character set, I'm afraid the Solaris iconv behavior results in violation of
the C++ standard requirements, it is hard to argue that in the Solaris case
e.g. ISO-8859-1 execution charset would be some special character set where ?
character represents all Unicode characters which don't have a representation
in the character set in addition to ?.
I'm afraid we don't want to maintain iconv replacement inside of libcpp though.

Reply via email to