From 15980cee9713044fe702c687db6a81db96511cf3 Mon Sep 17 00:00:00 2001 From: Aurélien DESBRIÈRES Date: Thu, 5 Jun 2014 23:00:12 +0200 Subject: gringo --- pcr/gringo/uint_max.patch | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pcr/gringo/uint_max.patch (limited to 'pcr/gringo/uint_max.patch') diff --git a/pcr/gringo/uint_max.patch b/pcr/gringo/uint_max.patch new file mode 100644 index 000000000..b554b9361 --- /dev/null +++ b/pcr/gringo/uint_max.patch @@ -0,0 +1,20 @@ +diff -ur gringo-4.3.0-source/app/gringo/main.cc gringo-4.3.0-source-patched/app/gringo/main.cc +--- gringo-4.3.0-source/app/gringo/main.cc 2014-02-20 18:27:32.000000000 +0100 ++++ gringo-4.3.0-source-patched/app/gringo/main.cc 2014-02-25 15:36:41.432512611 +0100 +@@ -34,6 +34,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -263,7 +264,7 @@ + + virtual void run() { + using namespace Gringo; +- grOpts_.verbose = verbose() == UINT_MAX; ++ grOpts_.verbose = verbose() == std::numeric_limits::max(); + Output::OutputPredicates outPreds; + if (grOpts_.text) { + Output::OutputBase out(std::move(outPreds), std::cout, grOpts_.lpRewrite); -- cgit v1.2.3-54-g00ecf