MaskRay added a comment.

Is this an upstream GCC behavior or a behavior from some gcc-none-eabi 
distributions?
GCC's C++ mode defines `_GNU_SOURCE` historically due to a libstdc++ limitation 
https://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.predefined and nowadays 
"the ship has sailed" and many targets do the same for compatibility.
For C, most targets don't force defining `_GNU_SOURCE`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D136712/new/

https://reviews.llvm.org/D136712

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to