fixed build with g++ 5+ and ASAN enabled
authorKosov Eugene <kevg@sphinxsearch.com>
Fri, 18 Dec 2015 18:17:19 +0000 (10:17 -0800)
committerfacebook-github-bot-0 <folly-bot@fb.com>
Fri, 18 Dec 2015 19:20:22 +0000 (11:20 -0800)
Summary:
Fixing by deleting unnecessary macro checks - folly already requires at least g++4.8
Closes https://github.com/facebook/folly/pull/338

Reviewed By: yfeldblum

Differential Revision: D2742024

Pulled By: fredemmott

fb-gh-sync-id: c0ecc7edceeebd1f972b0be4f4740214211f1c24

folly/FBString.h

index f7b58ccc24ab9aaf9c39700e48375fe1577cb90d..06b8b86e2236f5e7a3eef2d0f13d00fedcfcd7a8 100644 (file)
@@ -119,8 +119,6 @@ namespace folly {
 #  endif
 # endif
 #elif defined (__GNUC__) && \
-      (__GNUC__ == 4) && \
-      (__GNUC_MINOR__ >= 8) && \
       __SANITIZE_ADDRESS__
 # define FBSTRING_DISABLE_ADDRESS_SANITIZER \
     __attribute__((__no_address_safety_analysis__, __noinline__))