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]

Including a file from include/ in gcc/*.h (was: [gomp4] Use include/gomp-constants.h more actively)


Hi!

On Wed, 17 Dec 2014 23:26:53 +0100, I wrote:
> Committed to gomp-4_0-branch in r218840:
> 
> commit febcd8dfdb10fa80edff0880973d1915ca2fef74
> Author: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4>
> Date:   Wed Dec 17 22:26:24 2014 +0000
> 
>     Use include/gomp-constants.h more actively.

> diff --git gcc/tree-core.h gcc/tree-core.h
> index 743bc0d..fc61b88 100644
> --- gcc/tree-core.h
> +++ gcc/tree-core.h
> @@ -32,6 +32,7 @@ along with GCC; see the file COPYING3.  If not see
>  #include "alias.h"
>  #include "flags.h"
>  #include "symtab.h"
> +#include "gomp-constants.h"
>  
>  /* This file contains all the data structures that define the 'tree' type.
>     There are no accessor macros nor functions in this file. Only the

Is it actually "OK" to #include "gomp-constants.h" (living in
[GCC]/include/) from gcc/tree-core.h?  Isn't the tree-core.h file getting
installed, for later use by plugins -- which then need to be able to find
gomp-constants, too, but that is not being installed?

> --- include/gomp-constants.h
> +++ include/gomp-constants.h


GrÃÃe,
 Thomas

Attachment: pgp6AxC8kcCSw.pgp
Description: PGP signature


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