OpenMP 2.5 in 2.1 has: #pragma omp directive-name [clause[ [,] clause]...] new-line and for Fortran sentinel directive-name [clause[[,] clause]...] While for Fortran the optional commas are accepted, the C/C++ parser rejects them.
Working on a patch. -- Summary: gcc disallows comma between C/C++ OpenMP clauses Product: gcc Version: 4.3.0 Status: UNCONFIRMED Keywords: openmp Severity: normal Priority: P3 Component: c AssignedTo: jakub at gcc dot gnu dot org ReportedBy: jakub at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34506