Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/share/mk



On Fri, Jun 22, 2018 at 12:37:34PM +1000, matthew green wrote:
> "Maya Rashish" writes:
> > Module Name:	src
> > Committed By:	maya
> > Date:		Wed Jun 20 02:15:13 UTC 2018
> > 
> > Modified Files:
> > 	src/share/mk: sys.mk
> > 
> > Log Message:
> > Strip -Wsystem-headers from CXXFLAGS.
> > 
> > GCC's C++ headers are not clean (yet). They are trying, but haven't got there
> > yet.
> > 
> > Necessary for including <atf-c++.hpp> which uses <sstream>.
> 
> can you add a comment about this?  the stripping is normally
> about stuff that c++ frontend does not support, vs stuff that
> breaks because of other issues.
> 
> ie, the rest of them should always stay, but this one will
> hopefully go away in the future.
> 
> thanks.

At least a few of them seem to be accepted by g++ and clang++:
  -ffreestanding  -Wno-format-zero-length


Home | Main Index | Thread Index | Old Index