[libc-commits] [PATCH] D154044: [libc] Missing FEnvImpl.h dependency on math.h

Petr Hosek via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jun 28 23:49:58 PDT 2023


phosek created this revision.
phosek added reviewers: sivachandra, lntue.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
phosek requested review of this revision.

FEnvImpl.h includes math.h and so needs an explicit dependency.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D154044

Files:
  libc/src/__support/FPUtil/CMakeLists.txt


Index: libc/src/__support/FPUtil/CMakeLists.txt
===================================================================
--- libc/src/__support/FPUtil/CMakeLists.txt
+++ libc/src/__support/FPUtil/CMakeLists.txt
@@ -4,6 +4,7 @@
     FEnvImpl.h
   DEPENDS
     libc.include.fenv
+    libc.include.math
     libc.src.__support.macros.attributes
 )
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154044.535646.patch
Type: text/x-patch
Size: 342 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230629/e6f641c1/attachment.bin>


More information about the libc-commits mailing list