[BACK]Return to patch-lib_symboldatabase.cpp CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / cppcheck / patches

File: [cvs.NetBSD.org] / pkgsrc / devel / cppcheck / patches / Attic / patch-lib_symboldatabase.cpp (download)

Revision 1.1, Fri Jul 9 10:50:37 2021 UTC (17 months ago) by markd
Branch: MAIN
CVS Tags: pkgsrc-2022Q2-base, pkgsrc-2022Q2, pkgsrc-2022Q1-base, pkgsrc-2022Q1, pkgsrc-2021Q4-base, pkgsrc-2021Q4, pkgsrc-2021Q3-base, pkgsrc-2021Q3

cppcheck: fix build with gcc-11

$NetBSD: patch-lib_symboldatabase.cpp,v 1.1 2021/07/09 10:50:37 markd Exp $

gcc11 build fix

--- lib/symboldatabase.cpp.orig	2020-06-13 16:08:37.000000000 +0000
+++ lib/symboldatabase.cpp
@@ -32,6 +32,7 @@
 #include <algorithm>
 #include <cassert>
 #include <climits>
+#include <limits>
 #include <iomanip>
 #include <iostream>
 //---------------------------------------------------------------------------