sapling/eden
Adam Simpkins 1add48d20b fix the build with gcc
Summary:
Unfortunately it looks like gcc won't support the [[nodiscard]] attribute until
the gcc-7.x release.  (The functionality is available in gcc-4.8 and later, but
using the name [[gnu::warn_unused_result]] instead.)

This changes the code to use the FOLLY_WARN_UNUSED_RESULT macro from
folly/Portability.h instead.  (This expands to older non-standard __attribute__
syntax for gcc and clang, and _Check_return_ on Windows.)

Reviewed By: bolinfest

Differential Revision: D4704184

fbshipit-source-id: d5c13630ea611a2f43080a501add42ce9fda6789
2017-03-14 14:31:54 -07:00
..
docs implement EdenMount::checkout() 2017-02-15 20:33:31 -08:00
fs fix the build with gcc 2017-03-14 14:31:54 -07:00
fuse get the open source build working 2017-03-06 20:28:48 -08:00
hooks fixup paths used in post-clone and LameThriftClient 2017-01-23 23:54:38 -08:00
integration remove getMaterializedEntries thrift API 2017-03-01 08:19:29 -08:00
utils fix warnings triggered with -Wshadow-compatible-local 2017-03-02 13:32:51 -08:00
DEFS fixup paths used in post-clone and LameThriftClient 2017-01-23 23:54:38 -08:00