Fix -fallow-argument-mismatch in clEnqueue(Read|Write)BufferImpl
Description
Since GCC10 mismatches between actual and dummy argument lists in a single file are now rejected with an error.
- Mismatches between actual and dummy argument lists in a single file are now rejected with an error. Use the new option
-fallow-argument-mismatch
to turn these errors into warnings; this option is implied with-std=legacy
.-Wargument-mismatch
has been removed.
https://gcc.gnu.org/gcc-10/changes.html#fortran
This concerns the fortrancl library. These changes have also been proposed upstream: https://github.com/xavierandrade/fortrancl/pull/14
News snippet
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.