public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/88623] gcc build uses CXX_FOR_BUILD but files have .c extension
       [not found] <bug-88623-4@http.gcc.gnu.org/bugzilla/>
@ 2021-08-25 19:29 ` pinskia at gcc dot gnu.org
  2023-07-10  5:29 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-25 19:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
So GCC is written in C++ but has the .c extension because the files were not
moved to a new extension.  There is nothing to fix here.  Yes some compilers
have to use an extra option to be able to compile GCC that is ok. 

Ok, it looks like GCC and clang might be the one of the few C++ compiler which
defines __STDC__ and the code just works.

Can you attach the exact patch as there are two places where __STDC__ is used
even?
Also was there any other error messages?

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

* [Bug bootstrap/88623] gcc build uses CXX_FOR_BUILD but files have .c extension
       [not found] <bug-88623-4@http.gcc.gnu.org/bugzilla/>
  2021-08-25 19:29 ` [Bug bootstrap/88623] gcc build uses CXX_FOR_BUILD but files have .c extension pinskia at gcc dot gnu.org
@ 2023-07-10  5:29 ` pinskia at gcc dot gnu.org
  1 sibling, 0 replies; 2+ messages in thread
From: pinskia at gcc dot gnu.org @ 2023-07-10  5:29 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|UNCONFIRMED                 |RESOLVED
   Target Milestone|---                         |12.0

--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
All c++ files were renamed at r12-6650-5c69acb32329d49e58c26f .

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

end of thread, other threads:[~2023-07-10  5:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-88623-4@http.gcc.gnu.org/bugzilla/>
2021-08-25 19:29 ` [Bug bootstrap/88623] gcc build uses CXX_FOR_BUILD but files have .c extension pinskia at gcc dot gnu.org
2023-07-10  5:29 ` pinskia at gcc dot gnu.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).