[Bug c++/19992] -fhosted/-ffreestanding for C++

2022-10-03 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19992
Bug 19992 depends on bug 103626, which changed state.

Bug 103626 Summary: _GLIBCXX_HOSTED should respect -ffreestanding
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=103626

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |FIXED

[Bug c++/19992] -fhosted/-ffreestanding for C++

2021-12-09 Thread jsm28 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19992

Joseph S. Myers  changed:

   What|Removed |Added

  Known to fail||4.2.0
   Target Milestone|--- |4.3.0
  Known to work||4.3.0
 Status|WAITING |RESOLVED
 Resolution|--- |FIXED

--- Comment #3 from Joseph S. Myers  ---
Fixed for GCC 4.3 by:

Author: Dirk Mueller 
Date:   Fri May 4 00:46:02 2007 +

c.opt (Wmain,ffreestanding): Enable for C++,ObjC++.

2007-05-04  Dirk Mueller  

* c.opt(Wmain,ffreestanding): Enable for C++,ObjC++.

* cp-tree.h (DECL_MAIN_P): only if -ffreestanding is
not in effect.

From-SVN: r124404

[Bug c++/19992] -fhosted/-ffreestanding for C++

2021-12-09 Thread redi at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=19992

Jonathan Wakely  changed:

   What|Removed |Added

 Status|NEW |WAITING

--- Comment #2 from Jonathan Wakely  ---
The flags are supported and __STDC_HOSTED__ is correctly defined by G++. Is
there more to do here?

I've created PR 103626 to make libstdc++ respect __STDC_HOSTED__ instead of
hosted vs freestanding being fixed during configure.

[Bug c++/19992] -fhosted/-ffreestanding for C++

2005-02-15 Thread pinskia at gcc dot gnu dot org

--- Additional Comments From pinskia at gcc dot gnu dot org  2005-02-15 
23:48 ---
Confirmed.

-- 
   What|Removed |Added

 Status|UNCONFIRMED |NEW
 Ever Confirmed||1
   Last reconfirmed|-00-00 00:00:00 |2005-02-15 23:48:12
   date||


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19992