From a53b6ee4519a7657164610ac14a82c57b1273bf6 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Mon, 23 Nov 2015 06:54:36 -0500 Subject: [PATCH] Use STL. Software that uses the shared library, such as Kodi, assume that TinyXML was compiled with STL activated. --- tinyxml.h | 2 ++ xmltest.cpp | 1 + 2 files changed, 3 insertions(+) diff --git a/tinyxml.h b/tinyxml.h index a3589e5..6cbfc7d 100644 --- a/tinyxml.h +++ b/tinyxml.h @@ -43,6 +43,8 @@ distribution. #define DEBUG #endif +#define TIXML_USE_STL 1 + #ifdef TIXML_USE_STL #include #include diff --git a/xmltest.cpp b/xmltest.cpp index 663c157..057dbfe 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -2,6 +2,7 @@ Test program for TinyXML. */ +#define TIXML_USE_STL 1 #ifdef TIXML_USE_STL #include -- 2.5.0 ype='submit' value='switch'/> Wojtek's customized Guix
aboutsummaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2020-03-25tests: Adjust to 'show-manifest-transaction' changes....This is a followup to 3e5ab0a7a9399bb098b9ced46bf3cbf4085c6bab. * tests/ui.scm ("show-manifest-transaction"): Update regexp. * tests/guix-package.sh: Adjust Emacs regexp in --with-source test. Ludovic Courtès
2020-02-23ui: (size->number "1.M") is correctly parsed....Reported by Pierre Neidhardt <mail@ambrevar.xyz>. * guix/ui.scm (size->number)[unit-pos]: Add #\. to CHAR-SET:DIGIT. * tests/ui.scm ("size->number, 1.M"): New test. Ludovic Courtès
2019-09-19ui: 'relevance' connects regexps with a logical and....Fixes <https://bugs.gnu.org/36763>. Previously, the logical and connecting the regexps did not output the expected results (introduced in 8874faaaac665100a095ef25e39c9a389f5a397f). * guix/ui.scm (relevance) [score]: Change its arguments. [regexp->score]: New procedure. * tests/ui.scm ("package-relevance"): Add test. Signed-off-by: Ludovic Courtès <ludo@gnu.org> zimoun
2019-06-27ui: 'relevance' considers regexps connected with a logical and....* guix/ui.scm (relevance)[score]: Change to return 0 when one of REGEXPS doesn't match. * tests/ui.scm ("package-relevance"): New test. Ludovic Courtès
2017-05-10ui: 'string->duration' correctly handles hours....* guix/ui.scm (string->duration): Add missing '=>' for hours. * tests/ui.scm ("duration, 2 hours"): New test. Ludovic Courtès
2017-03-08ui: Don't use '%default-port-encoding' to set the encoding of string ports....* guix/ui.scm (right-arrow): Call 'set-port-encoding!' to set PORT's encoding; remove use of 'with-fluids'. This is for compatibility with Guile 2.2 where the encoding of string ports is not influenced by %DEFAULT-PORT-ENCODING. * tests/ui.scm ("show-manifest-transaction"): Likewise. Ludovic Courtès