This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Revision 176335 (removal of #include <unistd.h> in thr-posix.h) cause numerous compile failures
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Markus Trippelsdorf <markus at trippelsdorf dot de>
- Cc: gcc at gcc dot gnu dot org, Paolo Carlini <paolo dot carlini at oracle dot com>, Jonathan Wakely <jwakely dot gcc at gmail dot com>
- Date: Tue, 2 Aug 2011 15:13:41 +0200
- Subject: Re: Revision 176335 (removal of #include <unistd.h> in thr-posix.h) cause numerous compile failures
- References: <20110802130803.GA11627@x4.trippels.de>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Tue, Aug 02, 2011 at 03:08:03PM +0200, Markus Trippelsdorf wrote:
> Revisions 176335 removed the traditional "#include <unistd.h>" from
> gthr-posix.h. This breaks the build of many programs (Firefox, Chromium,
> etc.) that implicitly rely on it.
This isn't the first time the libstdc++ headers were cleaned up, and
each time there are dozens of programs that need to be fixed up.
Each time they just were fixed.
> I'm not sure that the gain is worth the pain in this case.
It certainly is.
Jakub