From: magnus.blaudd Date: December 18 2012 7:09pm Subject: bzr push into mysql-5.5-cluster-7.2 branch (magnus.blaudd:4148 to 4149) List-Archive: http://lists.mysql.com/commits/145526 Message-Id: <20121218190955.2548.37952.4149@wholphin> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 4149 magnus.blaudd@stripped 2012-12-18 Remove the flag_supported variable from the cache before testing if compiler flag is supported(using output variable with same name) modified: storage/ndb/CMakeLists.txt 4148 magnus.blaudd@stripped 2012-12-18 [merge] Merge modified: sql/ha_ndbcluster.cc sql/ha_ndbcluster.h storage/ndb/CMakeLists.txt === modified file 'storage/ndb/CMakeLists.txt' --- a/storage/ndb/CMakeLists.txt revid:magnus.blaudd@stripped +++ b/storage/ndb/CMakeLists.txt revid:magnus.blaudd@stripped @@ -63,6 +63,7 @@ ENDIF() IF(CMAKE_COMPILER_IS_GNUCXX) INCLUDE(CheckCXXCompilerFlag) FOREACH(warning "unused-but-set-variable" "strict-aliasing") + UNSET(flag_supported CACHE) CHECK_CXX_COMPILER_FLAG("-Wno-${warning}" flag_supported) IF(flag_supported) MESSAGE(STATUS "Disabling -W${warning} warning") No bundle (reason: useless for push emails).