From b1633116e99e2bfb5221af25fdf94a8ec4fe9182 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 10 Jun 2023 21:52:01 +0900 Subject: [PATCH] examples/app: -Wall -Werror --- examples/app/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/app/CMakeLists.txt b/examples/app/CMakeLists.txt index c811f336..4efaa4db 100644 --- a/examples/app/CMakeLists.txt +++ b/examples/app/CMakeLists.txt @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.16) project(app LANGUAGES C) +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wvla -Werror") + find_package(toywasm-lib-core REQUIRED) set(app_sources