[ccan] Annoying warning, a.k.a. how to add to CFLAGS

Rhys Ulerich rhys.ulerich at gmail.com
Fri Sep 1 21:46:08 AEST 2017


ccan/strgrp/strgrp.c: In function ‘grp_for’:
ccan/strgrp/strgrp.c:296:0: warning: ignoring #pragma omp parallel
[-Wunknown-pragmas]
     #pragma omp parallel for schedule(dynamic)


An ifdef might be added to the code:
https://stackoverflow.com/questions/1300180/ignore-openmp-on-machine-that-doesnt-have-it

- Rhys
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20170901/861b751e/attachment.html>


More information about the ccan mailing list