From 474c7d2d31993ec3b88b35e16604aba32ae29e39 Mon Sep 17 00:00:00 2001 From: andrei Date: Sat, 2 Mar 2024 13:13:07 +0200 Subject: [PATCH] pch: remove pragma once --- pch/main-pch.hpp | 2 -- update-pch.sh | 19 ------------------- 2 files changed, 21 deletions(-) delete mode 100755 update-pch.sh diff --git a/pch/main-pch.hpp b/pch/main-pch.hpp index 070c69df315f0..8fd1b50e4c490 100644 --- a/pch/main-pch.hpp +++ b/pch/main-pch.hpp @@ -1,5 +1,3 @@ -#pragma once - // Workaround to a bug in libstdc++ prior to GCC 11 causing // Error: attempt to self move assign. // when compiling with _GLIBCXX_DEBUG diff --git a/update-pch.sh b/update-pch.sh deleted file mode 100755 index 91e4613109de2..0000000000000 --- a/update-pch.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/bin/sh - -suffix=`date|md5sum|awk '{print $1}'` -tpchr=/tmp/_pchr_$suffix.hpp -tpch=/tmp/_pch_$suffix.hpp -pch=pch/main-pch.hpp - -grep '#include <' -R src|grep -v 'NOPCH'|awk -F '[: ]' '{print $2 " " $3}' > $tpchr -grep -v '\.h' $tpchr|sort|uniq >> $tpch - -if [[ `diff $tpch $pch` != '' ]]; then - diff $pch $tpch - cp $tpch $pch - echo pch **updated** -else - echo pch up to date -fi - -rm $tpch $tpchr