[Bug fortran/41102] Ease error checking of included files located in the SYSTEM_INCLUDE_DIR/ending in .h
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Wed Aug 19 07:14:00 GMT 2009
------- Comment #11 from burnus at gcc dot gnu dot org 2009-08-19 07:14 -------
The lib_omp.h problem is FIXED on the trunk (4.5) and in the 4.3 and 4.4
branches.
I changed the title to the remaining "issue": Having (similarity to C/C++) a
less strict checking for files coming from the system directory
(SYSTEM_INCLUDE_DIR). I fear it won't help with MPI as on many systems "mpif90"
will pass the directory for mpi*.h via "-I" as it is not in
/usr/{,local/}include but, e.g., in /usr/lib64/mpi/gcc/openmpi/include, which
is difficult to distinguish from "-I subdir" (or "-I
/full/path/to/cwd/subdir").
One solution would be to treat ".h" differently from other extensions (such as
.f/.f90/.inc).
--
burnus at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|openmp |
Summary|openMP include file causes |Ease error checking of
|errors when compiling with |included files located in
|standards checking |the
| |SYSTEM_INCLUDE_DIR/ending in
| |.h
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41102
More information about the Gcc-bugs
mailing list