diff options
author | Peter Dillinger <peterd@fb.com> | 2020-05-23 06:48:40 -0700 |
---|---|---|
committer | Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> | 2020-05-23 06:53:37 -0700 |
commit | 803a517b48ddd01689cc9c6feb0f4b7b19c317e6 (patch) | |
tree | 76a25f68889b707a3e76421548ec950a79ed83ea /third-party | |
parent | bcd32560dd5898956b9d24553c2bb3c1b1d2319f (diff) |
Misc things for ASSERT_STATUS_CHECKED, also gcc 4.8.5 (#6871)
Summary:
* Print stack trace on status checked failure
* Make folly_synchronization_distributed_mutex_test a parallel test
* Disable ldb_test.py and rocksdb_dump_test.sh with
ASSERT_STATUS_CHECKED (broken)
* Fix shadow warning in random_access_file_reader.h reported by gcc
4.8.5 (ROCKSDB_NO_FBCODE), also https://github.com/facebook/rocksdb/issues/6866
* Work around compiler bug on max_align_t for gcc < 4.9
* Remove an apparently wrong comment in status.h
* Use check_some in Travis config (for proper diagnostic output)
* Fix ignored Status in loop in options_helper.cc
Pull Request resolved: https://github.com/facebook/rocksdb/pull/6871
Test Plan: manual, CI
Reviewed By: ajkr
Differential Revision: D21706619
Pulled By: pdillinger
fbshipit-source-id: daf6364173d6689904eb394461a69a11f5bee2cb
Diffstat (limited to 'third-party')
-rw-r--r-- | third-party/folly/folly/lang/Align.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third-party/folly/folly/lang/Align.h b/third-party/folly/folly/lang/Align.h index fd00b14ff..2a404b91d 100644 --- a/third-party/folly/folly/lang/Align.h +++ b/third-party/folly/folly/lang/Align.h @@ -22,6 +22,15 @@ #include <folly/Portability.h> #include <folly/ConstexprMath.h> +// Work around bug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56019 +#ifdef __GNUC__ +#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9) +namespace std { +using ::max_align_t; +} +#endif +#endif + namespace folly { // has_extended_alignment |