From asheplyakov at yandex.ru Tue Dec 10 10:00:59 2019 From: asheplyakov at yandex.ru (Alexey Sheplyakov) Date: Tue, 10 Dec 2019 13:00:59 +0400 Subject: [GiNaC-devel] MinGW64 compilation fix Message-ID: <33793971575968459@vla1-78135a9f092e.qloud-c.yandex.net> Hi! The attached patch makes GiNaC compile for 64-bit Windows (with GCC compiler). The problem was constructing expressions from std::size_t. On 64-bit Windows std::size_t is unsigned long long (same as uint64_t) and there were no constructors taking long long. Best regards, Alexey -------------- next part -------------- A non-text attachment was scrubbed... Name: 0001-numeric-ex-added-constructors-taking-long-long-.-Fix.patch Type: text/x-diff Size: 5768 bytes Desc: not available URL: From git at ginac.de Thu Dec 12 08:44:55 2019 From: git at ginac.de (Richard B. Kreckel) Date: Thu, 12 Dec 2019 08:44:55 +0100 (CET) Subject: [GiNaC-devel] [SCM] GiNaC -- a C++ library for symbolic computations branch, master, updated. release_1-4-0-645-gbb2866ed Message-ID: <20191212074455.9E7D6D80287@cebix.net> This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "GiNaC -- a C++ library for symbolic computations". The branch, master has been updated via bb2866ed001b2dd297fa83573ffc10dd95a12c97 (commit) from f2051c351d8f9791a4afcc8d03465bf100a8088d (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit bb2866ed001b2dd297fa83573ffc10dd95a12c97 Author: Alexey Sheplyakov Date: Thu Dec 12 08:38:18 2019 +0100 [PATCH] numeric, ex: added constructors taking `long long`. Fixes MinGW64 build. On 64-bit windows std::size_t is `unsigned long long` (64 bit). However there is no ex constructor taking (unsigned) long long. This patch adds ex and numeric constructors taking `long long` and `unsigned long long`. ----------------------------------------------------------------------- Summary of changes: ginac/ex.cpp | 20 +++++++++++++++++++- ginac/ex.h | 16 ++++++++++++++++ ginac/numeric.cpp | 11 +++++++++++ ginac/numeric.h | 2 ++ 4 files changed, 48 insertions(+), 1 deletion(-) hooks/post-receive -- GiNaC -- a C++ library for symbolic computations From kisilv at maths.leeds.ac.uk Thu Dec 12 09:11:13 2019 From: kisilv at maths.leeds.ac.uk (Vladimir V. Kisil) Date: Thu, 12 Dec 2019 08:11:13 +0000 Subject: [GiNaC-devel] MinGW64 compilation fix In-Reply-To: <33793971575968459@vla1-78135a9f092e.qloud-c.yandex.net> References: <33793971575968459@vla1-78135a9f092e.qloud-c.yandex.net> Message-ID: <922007.1576138273@math-pc2069.leeds.ac.uk> >>>>> On Tue, 10 Dec 2019 13:00:59 +0400, Alexey Sheplyakov said: ASh> Hi! The attached patch makes GiNaC compile for 64-bit Windows ASh> (with GCC compiler). The problem was constructing expressions ASh> from std::size_t. On 64-bit Windows std::size_t is unsigned ASh> long long (same as uint64_t) and there were no constructors ASh> taking long long. ASh> Best regards, Alexey Great to see that GiNaC is keeping pace! -- Vladimir V. Kisil http://www.maths.leeds.ac.uk/~kisilv/ Book: Geometry of Mobius Transformations http://goo.gl/EaG2Vu Software: Geometry of cycles http://moebinv.sourceforge.net/ Jupyter (Colab): https://github.com/vvkisil/MoebInv-notebooks Jupyter (CodeOcean): https://codeocean.com/capsule/7952650/tree