https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108686
Bug ID: 108686 Summary: Spurious -Wc-binding-type diagnostics when including omp_lib.h Product: gcc Version: 13.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: fortran Assignee: unassigned at gcc dot gnu.org Reporter: rimvydas.jas at gmail dot com Target Milestone: --- $ cat test.f90 subroutine foo include 'omp_lib.h' end subroutine $ gfortran -Wall -c test.f90 omp_lib.h:389:47: Warning: Variable 'depobj_list' at (1) is a dummy argument of the BIND(C) procedure 'omp_target_memcpy_async' but may not be C interoperable [-Wc-binding-type] omp_lib.h:429:58: Warning: Variable 'depobj_list' at (1) is a dummy argument of the BIND(C) procedure 'omp_target_memcpy_rect_async' but may not be C interoperable [-Wc-binding-type]