I decided to switch from compiling my user codes with clang instead of gcc, 
and I can successfully get the build to use clang with either

cmake . -DDEAL_II_CXX_COMPILER=clang
or
cmake . -DCMAKE_CXX_COMPILER=clang

but I get a bunch of warnings with like "warning: unknown warning option 
'-Wno-placement-new' [-Wunknown-warning-option]"

I would like to get the default clang flags that deal.II would have set up 
on installation. If it is relevant, I am running deal.II on ubuntu 20.04 
through WSL1. I installed the back port of 9.4.0 with "sudo apt-get ..." I 
know that I could just edit the file, but I'm worried this would mess up 
something unrelated and I think I would benefit from using the flags the 
deal.ii devs think wise for clang.

Thank you for any insight you can offer.

Regards,
Kyle

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/c46c5fd3-e964-41dd-a17d-5851ee9c63c8n%40googlegroups.com.

Reply via email to