fix(build): add missing include path

This commit is contained in:
Alex Fabijanic 2023-11-01 16:29:49 +01:00
parent 3d9bcd9553
commit 757fc32199
8 changed files with 28 additions and 4 deletions

View File

@ -28,7 +28,7 @@
#include "Poco/SharedPtr.h"
#include <cstddef>
#if defined(POCO_COMPILER_GCC)
#if defined(POCO_COMPILER_GCC) && (__GNUC__ >= 12)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wuse-after-free"
#endif
@ -5754,7 +5754,7 @@ private:
} } // namespace Poco::Data
#if defined(POCO_COMPILER_GCC)
#if defined(POCO_COMPILER_GCC) && (__GNUC__ >= 12)
#pragma GCC diagnostic pop
#endif

View File

@ -8,6 +8,10 @@ include $(POCO_BASE)/build/rules/global
objects = Binding
ifndef POCO_DATA_NO_SQL_PARSER
target_includes = $(POCO_BASE)/Data/src
endif
target = Binding
target_version = 1
target_libs = PocoDataSQLite PocoData PocoFoundation

View File

@ -8,6 +8,10 @@ include $(POCO_BASE)/build/rules/global
objects = RecordSet
ifndef POCO_DATA_NO_SQL_PARSER
target_includes = $(POCO_BASE)/Data/src
endif
target = RecordSet
target_version = 1
target_libs = PocoDataSQLite PocoData PocoFoundation

View File

@ -8,6 +8,10 @@ include $(POCO_BASE)/build/rules/global
objects = RowFormatter
ifndef POCO_DATA_NO_SQL_PARSER
target_includes = $(POCO_BASE)/Data/src
endif
target = RowFormatter
target_version = 1
target_libs = PocoDataSQLite PocoData PocoFoundation

View File

@ -8,6 +8,10 @@ include $(POCO_BASE)/build/rules/global
objects = Tuple
ifndef POCO_DATA_NO_SQL_PARSER
target_includes = $(POCO_BASE)/Data/src
endif
target = Tuple
target_version = 1
target_libs = PocoDataSQLite PocoData PocoFoundation

View File

@ -8,6 +8,10 @@ include $(POCO_BASE)/build/rules/global
objects = TypeHandler
ifndef POCO_DATA_NO_SQL_PARSER
target_includes = $(POCO_BASE)/Data/src
endif
target = TypeHandler
target_version = 1
target_libs = PocoDataSQLite PocoData PocoFoundation

View File

@ -8,6 +8,10 @@ include $(POCO_BASE)/build/rules/global
objects = WebNotifier
ifndef POCO_DATA_NO_SQL_PARSER
target_includes = $(POCO_BASE)/Data/src
endif
target = WebNotifier
target_version = 1
target_libs = PocoDataSQLite PocoData PocoNet PocoFoundation

View File

@ -302,7 +302,7 @@ public:
protected:
P activateObject(P pObject)
{
#if defined(POCO_COMPILER_GCC)
#if defined(POCO_COMPILER_GCC) && (__GNUC__ >= 12)
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wuse-after-free"
#endif
@ -316,7 +316,7 @@ protected:
throw;
}
return pObject;
#if defined(POCO_COMPILER_GCC)
#if defined(POCO_COMPILER_GCC) && (__GNUC__ >= 12)
#pragma GCC diagnostic pop
#endif
}