Browse Source

Remove stubs and ignore warning instead
dc14ba869ddf82bf8f20415189292ba0d3d32635

thegeorg 9 months ago
parent
commit
9d3d6bc09c
1 changed files with 4 additions and 1 deletions
  1. 4 1
      build/ymake.core.conf

+ 4 - 1
build/ymake.core.conf

@@ -3384,6 +3384,7 @@ when ($CLANG == "yes") {
         ${pre=-Wno-implicit-fallthrough -fno-profile-instr-generate -fno-coverage-mapping SKIP ;ext=.pyx:SRC}
     _LANG_CFLAGS_RL=-Wno-implicit-fallthrough -fno-profile-instr-generate -fno-coverage-mapping
     _LANG_CFLAGS_SWG=-Wno-deprecated-declarations -fno-profile-instr-generate -fno-coverage-mapping
+    _LANG_CFLAGS_LEX=-Wno-unused-variable -fno-profile-instr-generate -fno-coverage-mapping
 }
 otherwise {
     _LANG_CFLAGS_FILTER=\
@@ -3392,6 +3393,7 @@ otherwise {
         ${pre=-Wno-implicit-fallthrough SKIP ;ext=.pyx:SRC}
     _LANG_CFLAGS_RL=-Wno-implicit-fallthrough
     _LANG_CFLAGS_SWG=-Wno-deprecated-declarations
+    _LANG_CFLAGS_LEX=-Wno-unused-variable
 }
 
 # tag:src-processing
@@ -3416,7 +3418,8 @@ when ($CLANG == "yes" || $CLANG_CL == "yes" || $GCC == "yes") {
         ${pre=$_LANG_CFLAGS_RL;clear;ext=.rl5;noext;input:SRC} \
         ${pre=$_LANG_CFLAGS_RL;clear;ext=.rl6;noext;input:SRC} \
         ${pre=$_LANG_CFLAGS_RL;clear;ext=.pyx;noext;input:SRC} \
-        ${pre=$_LANG_CFLAGS_SWG;clear;ext=.swg;noext;input:SRC}
+        ${pre=$_LANG_CFLAGS_SWG;clear;ext=.swg;noext;input:SRC} \
+        ${pre=$_LANG_CFLAGS_LEX;clear;ext=.l;noext;input:SRC}
 }
 
 # Allows to add single compilation unit name to the node's 'kv' section.