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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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