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: alloca and HP



  In message <19990125085440.A29660@keksy.mchp.siemens.de>you write:
  > My originary problem was not the existence/non-existence of alloca 
  > inside a HPUX liberary since that wouldn't be called anyway by gcc 
  > because it's a built in, but the missing header file alloca.h. 
  > So should gcc provide its own version on HPs?
No.  That's not gcc's job.


  > I personally don't like the 
  > #ifndef HPUX 
  > #include <alloca.h>
  > #endif
  > 
  > sequences at all.
Ugh.  I don't like it either.    I recommend creating autoconf tests then
using something like

#ifdef HAVE_ALLOCA_H
#include <alloca.h>
#endif


I used to feel autoconf wasn't all that useful, but after working with it
for the last 4 years I've come to really appreciate it.


jeff


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