X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=compileoptions.cmake;h=9c352e8bab358608d7bf7359c94a2b9637cf9101;hb=b8f0c4b81c85b75f4a1241a289f179f400453664;hp=6f9d55fa334695575c6f72c97a2cb998f1f07522;hpb=698db4ccd3c367fd162404e97ace9251182c3bbc;p=platform%2Fupstream%2Fcoreclr.git diff --git a/compileoptions.cmake b/compileoptions.cmake index 6f9d55f..9c352e8 100644 --- a/compileoptions.cmake +++ b/compileoptions.cmake @@ -38,6 +38,10 @@ if (CLR_CMAKE_PLATFORM_UNIX) # There are constants of type BOOL used in a condition. But BOOL is defined as int # and so the compiler thinks that there is a mistake. add_compile_options(-Wno-constant-logical-operand) + # We use pshpack1/2/4/8.h and poppack.h headers to set and restore packing. However + # clang 6.0 complains when the packing change lifetime is not contained within + # a header file. + add_compile_options(-Wno-pragma-pack) add_compile_options(-Wno-unknown-warning-option)