ccan.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Annoying warning, a.k.a. how to add to CFLAGS
@ 2017-09-01  3:23 Ian Zimmerman
  2017-09-01  5:11 ` David Gibson
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Ian Zimmerman @ 2017-09-01  3:23 UTC (permalink / raw)
  To: ccan

When I checkout current master, run ./tools/configurator/configurator >
config.h and then make, I get exactly 1 warning for the whole thing:

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)

I figured out that I can silence that by adding -fopenmp to my CFLAGS.
But how to do that permanently?  I don't want to specify that on the
command line every time, and I also don't want to set it in the
environment because sometimes I compile other things than ccan ;-)

Is there a reason why this is not in the master Makefile?

-- 
Please don't Cc: me privately on mailing lists and Usenet,
if you also post the followup to the list or newsgroup.
Do obvious transformation on domain to reply privately _only_ on Usenet.
_______________________________________________
ccan mailing list
ccan@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/ccan

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2017-09-05  1:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-01  3:23 Annoying warning, a.k.a. how to add to CFLAGS Ian Zimmerman
2017-09-01  5:11 ` David Gibson
2017-09-01 11:46 ` Rhys Ulerich
2017-09-04  0:57 ` Rusty Russell
2017-09-05  1:15   ` Andrew Jeffery

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).