diff --git a/BUILD.gn b/BUILD.gn index 548af373c1a8598f7bca254e3f4ac9c131a89c4b..248f3584104e71d1e803e0c41da81dd4226017fe 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -11,7 +11,6 @@ # See the License for the specific language governing permissions and # limitations under the License. - import("//build/config/clang/clang.gni") import("//build/ohos.gni") import("jsvm.gni") diff --git a/src/jsvm_env.cpp b/src/jsvm_env.cpp index 7226973e3fd3b7d745bcc887cbb9848a97a9d053..dd0d81c94026e204cbabbc77c87ba91022371f0d 100644 --- a/src/jsvm_env.cpp +++ b/src/jsvm_env.cpp @@ -17,6 +17,7 @@ #include "libplatform/libplatform.h" +compile_error void JSVM_Env__::RunAndClearInterrupts() { while (messageQueue.size() > 0) {