------- 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

Reply via email to