This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Include statistics.h in vec.h


Steven Bosscher <stevenb@suse.de> writes:

> Hi,
>
> For vec.h you need statistics.h.  Is it OK to include
> it in vec.h itself, like so? 

Don't forget to add the dependencies to the Makefile,

Andreas

> Gr.
> Steven
>
> 	* vec.h: Include statistics.h
>
> Index: vec.h
> ===================================================================
> RCS file: /cvs/gcc/gcc/gcc/vec.h,v
> retrieving revision 2.23
> diff -c -3 -p -r2.23 vec.h
> *** vec.h	22 Oct 2004 17:05:11 -0000	2.23
> --- vec.h	12 Dec 2004 12:55:00 -0000
> *************** Software Foundation, 59 Temple Place - S
> *** 22,27 ****
> --- 22,29 ----
>   #ifndef GCC_VEC_H
>   #define GCC_VEC_H
>   
> + #include "statistics.h"
> + 
>   /* The macros here implement a set of templated vector types and
>      associated interfaces.  These templates are implemented with
>      macros, as we're not in C++ land.  The interface functions are
>
>

Andreas
-- 
 Andreas Jaeger, aj@suse.de, http://www.suse.de/~aj
  SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 NÃrnberg, Germany
   GPG fingerprint = 93A3 365E CE47 B889 DF7F  FED1 389A 563C C272 A126

Attachment: pgp00000.pgp
Description: PGP signature


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