================
@@ -823,6 +823,15 @@ void Linux::AddClangSystemIncludeArgs(const ArgList 
&DriverArgs,
 
   if (!DriverArgs.hasArg(options::OPT_nobuiltininc) && getTriple().isMusl())
     addSystemInclude(DriverArgs, CC1Args, ResourceDirInclude);
+
+  // For GCC compatibility, add an implicit include for musl-based
----------------
MaskRay wrote:

Both glibc and musl should have this. GCC includes this header for all glibc 
systems.

https://github.com/llvm/llvm-project/pull/202919
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to