This is the mail archive of the
mailing list for the GCC project.
Re: cleanup query: _ALL_SOURCE
On Thu, May 16, 2002 at 01:30:00PM -0400, Daniel Jacobowitz wrote:
> On Thu, May 16, 2002 at 11:04:20AM -0400, Nathanael Nerode wrote:
> > I was looking for things to clean up, and I found that
> > _ALL_SOURCE is defined in several places (host or target specific), but
> > not tested anywhere.
> > I'm guessing it's obselete and can be removed. (But it might be a
> > 'secret flag' for some system compilers, in which case I'd be wrong.)
> > I'd like verification from someone who understands its original purpose
> > before I start sumbitting patches.
> It is a "secret flag". For HP/UX, I think. Generally true of most
> things starting with an underscore, which belong to the implementation
This is really, really stretching my memory, but as I remember it is
used in the internal AIX headers to guard definitions of functions
that exist on almost all unixes, but strictly shouldn't be defined
according to the appropriate standards.