This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: is --enable-threads supported on HP-UX 11.00?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]