public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/103902] New: Only the addition space between string-literal and identifier in a literal-operator-id will be accepted by GCC where the identifier is not in a basic character set
@ 2022-01-04  9:24 xmh970252187 at gmail dot com
  2022-01-04 23:07 ` [Bug preprocessor/103902] GCC requires a space between string-literal and identifier in a literal-operator-id where the identifier is not in " pinskia at gcc dot gnu.org
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: xmh970252187 at gmail dot com @ 2022-01-04  9:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 103902
           Summary: Only the addition space between string-literal and
                    identifier in a literal-operator-id will be accepted
                    by GCC where the identifier is not in a basic
                    character set
           Product: gcc
           Version: 11.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: xmh970252187 at gmail dot com
  Target Milestone: ---

bool operator ""_Ã(unsigned long long){
   return true;
}

The above code is not accepted by GCC. It should be passed around by adding a
space between "" and _Ã. However, it is accepted by Clang, and it is not
necessary to add that space.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-20 16:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-04  9:24 [Bug c++/103902] New: Only the addition space between string-literal and identifier in a literal-operator-id will be accepted by GCC where the identifier is not in a basic character set xmh970252187 at gmail dot com
2022-01-04 23:07 ` [Bug preprocessor/103902] GCC requires a space between string-literal and identifier in a literal-operator-id where the identifier is not in " pinskia at gcc dot gnu.org
2022-06-10 19:13 ` lhyatt at gcc dot gnu.org
2022-06-10 19:14 ` lhyatt at gcc dot gnu.org
2022-06-28 15:22 ` lhyatt at gcc dot gnu.org
2023-02-08 17:42 ` pinskia at gcc dot gnu.org
2023-07-19  3:59 ` cvs-commit at gcc dot gnu.org
2023-07-19  4:02 ` lhyatt at gcc dot gnu.org
2023-07-20  0:23 ` thiago.bauermann at linaro dot org
2023-07-20  1:11 ` lhyatt at gcc dot gnu.org
2023-07-20  1:14 ` thiago.bauermann at linaro dot org
2023-07-20  3:21 ` cvs-commit at gcc dot gnu.org
2023-07-20 16:24 ` thiago.bauermann at linaro dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).