Warnings on deprecated api cannot be suppressed if the library is not initialized.
With this change it is possible to set KMP_WARNINGS=false to suppress the warnings.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D102676  
[OpenMP] libomp: move warnings to after library initialization ClosedPublic Authored by AndreyChurbanov on May 18 2021, 2:30 AM. 
Details Summary Warnings on deprecated api cannot be suppressed if the library is not initialized. 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.May 21 2021, 11:24 AM This revision was landed with ongoing or failed builds.May 21 2021, 1:47 PM Closed by commit rGaa6e7e8da8f5: [OpenMP] libomp: move warnings to after library initialization (authored by AndreyChurbanov).  ·  Explain Why This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 347116 openmp/runtime/src/kmp_ftn_entry.h
 openmp/runtime/test/api/omp_deprecated.c
 
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||