public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108313] New: smth strange with libcpp/system.h: abort() redefinition
@ 2023-01-06  9:36 i.nixman at autistici dot org
  2023-01-06  9:41 ` [Bug c++/108313] " i.nixman at autistici dot org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: i.nixman at autistici dot org @ 2023-01-06  9:36 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 108313
           Summary: smth strange with libcpp/system.h: abort()
                    redefinition
           Product: gcc
           Version: 13.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: i.nixman at autistici dot org
  Target Milestone: ---

hello,

I'm just trying to build master branch as I done before many times, but now I
faced with strange error:

```
../../../../src/gcc-trunk/libcpp/system.h:404:29: error: expected identifier
before string constant
  404 | #define abort() fancy_abort(__FILE__, __LINE__, __FUNCTION__)
      |                             ^~~~~~~~
../../../../src/gcc-trunk/libcpp/system.h:404:29: error: expected ',' or '...'
before string constant

```

but I can't see there smth wrong and I have no ideas, why it occurs...

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

* [Bug c++/108313] smth strange with libcpp/system.h: abort() redefinition
  2023-01-06  9:36 [Bug c++/108313] New: smth strange with libcpp/system.h: abort() redefinition i.nixman at autistici dot org
@ 2023-01-06  9:41 ` i.nixman at autistici dot org
  2023-01-06  9:42 ` pinskia at gcc dot gnu.org
  2023-01-06  9:43 ` i.nixman at autistici dot org
  2 siblings, 0 replies; 4+ messages in thread
From: i.nixman at autistici dot org @ 2023-01-06  9:41 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from niXman <i.nixman at autistici dot org> ---
file/line to the buggy line:
https://gcc.gnu.org/git/?p=gcc.git;a=blob;f=libcpp/system.h;h=e80cf029d88fcb74db5515b4b2915d72df0974dc;hb=refs/heads/master#l404

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

* [Bug c++/108313] smth strange with libcpp/system.h: abort() redefinition
  2023-01-06  9:36 [Bug c++/108313] New: smth strange with libcpp/system.h: abort() redefinition i.nixman at autistici dot org
  2023-01-06  9:41 ` [Bug c++/108313] " i.nixman at autistici dot org
@ 2023-01-06  9:42 ` pinskia at gcc dot gnu.org
  2023-01-06  9:43 ` i.nixman at autistici dot org
  2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-01-06  9:42 UTC (permalink / raw)
  To: gcc-bugs

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

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |DUPLICATE

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 108300

*** This bug has been marked as a duplicate of bug 108300 ***

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

* [Bug c++/108313] smth strange with libcpp/system.h: abort() redefinition
  2023-01-06  9:36 [Bug c++/108313] New: smth strange with libcpp/system.h: abort() redefinition i.nixman at autistici dot org
  2023-01-06  9:41 ` [Bug c++/108313] " i.nixman at autistici dot org
  2023-01-06  9:42 ` pinskia at gcc dot gnu.org
@ 2023-01-06  9:43 ` i.nixman at autistici dot org
  2 siblings, 0 replies; 4+ messages in thread
From: i.nixman at autistici dot org @ 2023-01-06  9:43 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from niXman <i.nixman at autistici dot org> ---
(In reply to Andrew Pinski from comment #2)
> Dup of bug 108300
> 
> *** This bug has been marked as a duplicate of bug 108300 ***

ah, got it. thanks!

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

end of thread, other threads:[~2023-01-06  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-06  9:36 [Bug c++/108313] New: smth strange with libcpp/system.h: abort() redefinition i.nixman at autistici dot org
2023-01-06  9:41 ` [Bug c++/108313] " i.nixman at autistici dot org
2023-01-06  9:42 ` pinskia at gcc dot gnu.org
2023-01-06  9:43 ` i.nixman at autistici 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).