This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: is --enable-threads supported on HP-UX 11.00?
- To: Mark Mitchell <mark at codesourcery dot com>
- Subject: Re: is --enable-threads supported on HP-UX 11.00?
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 29 Jul 2001 01:27:09 -0300
- Cc: Loren James Rittle <rittle at latour dot rsch dot comm dot mot dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, "harri dot pasanen at trema dot com" <harri dot pasanen at trema dot com>
- Organization: GCC Team, Red Hat
- References: <122570000.996246550@warlock.codesourcery.com>
On Jul 27, 2001, Mark Mitchell <mark@codesourcery.com> wrote:
> extern "C" { auto int i; }
> You could say "well, `auto' doesn't make any sense there, so I bet
> you didn't mean that, so let's just ignore it, but not issue an
> error." I'd rather you said "hey, bozo, extern variables can't
> be auto." If I'm dumb enough to configure with --enable-threads
> on a platform with no threads, I'd like to know about it; I might
> be planning on trying to *use* the non-existant threads!
I see. I agree with you.
I believe we should enable threads by default if threads are
available, which seems like a very reasonable thing to do, but if the
user explicitly asks for --enable-threads and no thread library is
available, we issue an error message and terminate configure.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me