From a85fd12989b6afb92a74990e3ed954c2d987dcc0 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Fri, 14 Jun 2024 14:14:08 +0200 Subject: [PATCH] Add arrow/util/cancel.h to PCH builds Qt has special treatment of the word 'signals', and the function RegisterCancellingSignalHandler(const std::vector& signals) causes compiler issues using PCH --- ApplicationLibCode/pch.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ApplicationLibCode/pch.h b/ApplicationLibCode/pch.h index e1f0453cd5..0d49a38975 100644 --- a/ApplicationLibCode/pch.h +++ b/ApplicationLibCode/pch.h @@ -16,6 +16,11 @@ // ///////////////////////////////////////////////////////////////////////////////// +// NOTE: This file must be included before any other Qt header files, as the keyword 'signals' is used as a parameter name in +// RegisterCancellingSignalHandler(const std::vector& signals); +// Qt has special treatment of 'signals', and causes compiler issues using PCH +#include + #include "cvfObject.h" #include "cvfVector3.h"