Kaydet (Commit) 9a30cb21 authored tarafından Caolán McNamara's avatar Caolán McNamara

hack to silence -Wunused-function

Change-Id: I585839c05ca3b0336ffbe2c60a2f58c34b0aae78
üst 1f8ee857
...@@ -67,8 +67,6 @@ connectivity/source/parse/sqlflex \ ...@@ -67,8 +67,6 @@ connectivity/source/parse/sqlflex \
$(call gb_LexTarget_get_scanner_target,connectivity/source/parse/sqlflex) : T_LEXFLAGS := -i -8 -PSQLyy -L $(call gb_LexTarget_get_scanner_target,connectivity/source/parse/sqlflex) : T_LEXFLAGS := -i -8 -PSQLyy -L
$(eval $(call gb_Library_add_exception_objects,dbtools,\ $(eval $(call gb_Library_add_exception_objects,dbtools,\
connectivity/source/commontools/AutoRetrievingBase \ connectivity/source/commontools/AutoRetrievingBase \
connectivity/source/commontools/BlobHelper \ connectivity/source/commontools/BlobHelper \
......
...@@ -87,6 +87,8 @@ OSQLScanner* xxx_pGLOBAL_SQLSCAN = nullptr; ...@@ -87,6 +87,8 @@ OSQLScanner* xxx_pGLOBAL_SQLSCAN = nullptr;
#define YY_FATAL_ERROR(msg) \ #define YY_FATAL_ERROR(msg) \
{ \ { \
xxx_pGLOBAL_SQLSCAN->SQLyyerror(msg); \ xxx_pGLOBAL_SQLSCAN->SQLyyerror(msg); \
/*hack to silence -Wunused-function*/ \
if (0) yy_fatal_error(msg); \
} }
%} %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment