Re: gtest build error
Am 30.04.23 um 13:40 schrieb Matthias Seidel: Hi Peter, Am 30.04.23 um 12:19 schrieb Peter Kovacs: Hi All, As suspekted adding GTEST_ in front fixes my setup. What does that mean? Do we need to change something in our code or is it just a configuration issue? It depends... If Googletest is build with the option -DGTEST_DONT_DEFINE_FOO=1 our build will fail, because TEST Macro will change name to GTEST_TEST, in order to avoid overlap with other testsuites. If build without the option our build works. I guess that distributors likely will activate this option. In case we want to integrate we might run into issues, depending on distributor. Regards, Matthias All the best Am 29.04.23 um 09:26 schrieb Peter Kovacs: Hi all. Build fails with: main/sal/qa/rtl/crc32/rtl_crc32.cxx:72:1:error: expected constructor, destructor, or type conversion before '(' token 72 | TEST_F(test, rtl_crc32_002_1) I have installed gtest using official ubuntu package the readme says: ### Avoiding Macro Name Clashes In C++, macros don't obey namespaces. Therefore two libraries that both define a macro of the same name will clash if you `#include` both definitions. In case a GoogleTest macro clashes with another library, you can force GoogleTest to rename its macro to avoid the conflict. Specifically, if both GoogleTest and some other code define macro FOO, you can add -DGTEST_DONT_DEFINE_FOO=1 to the compiler flags to tell GoogleTest to change the macro's name from `FOO` to `GTEST_FOO`. Currently `FOO` can be `FAIL`, `SUCCEED`, or `TEST`. For example, with `-DGTEST_DONT_DEFINE_TEST=1`, you'll need to write GTEST_TEST(SomeTest, DoesThis) { ... } instead of TEST(SomeTest, DoesThis) { ... } in order to define a test. -- can this cause my issue? should we make a change if so? - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
[GitHub] [openoffice] ardovm merged pull request #177: Remove unused(?) code
ardovm merged PR #177: URL: https://github.com/apache/openoffice/pull/177 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: T-DOSE 2023
Dr. Michael Stehmann wrote: Hallo, die T-DOSE [0] hatte am 22. und 23.04.2023 in Geldrop (nahe Eindhoven).nach vier Jahren in neuer, sehr feiner Location einen echten Neuanfang. Sie fand in einer alten Webfabrik statt, die neben einen Webereimuseum nun ein Kulturzentrum beherbergt. Die Organisation war wieder hervorragend; die Atmosphäre höchst angenehm und familiär. Man freute sich echt über unsere Teilnahme. Es gab sogar Menschen, die vor allem zur T-DOSE kamen, weil sie Fragen zu Apache OpenOffice hatten. Im Rahmen eines Live-Podcast (Angry Nerds Podcast [1]) wurde der Chronist auch zu Apache OpenOffice und zur Apache Foundation interviewt, welche der Interviewerin wohlbekannt war, sodass sie diese auch in niederländischer Sprache den Zuhörern und -sehern vorstellen konnte (der Chronist verwandte im Interview Englisch). Leider waren unsere niederländischen Freunde von LibreOffice nicht gekommen. Für nächsten Jahr habe ich den Veranstaltern schon einmal eine Voranmeldung mitgeteilt. Gruß Michael [0] https://t-dose.org/2023/ [1] https://t-dose.org/2023/schedule/angry-nerds/ Translation from DeepL Hello, the T-DOSE [0] had on 22. and 23.04.2023 in Geldrop (near Eindhoven).after four years in new, very fine location a real new beginning. It took place in an old weaving factory, which now houses a cultural center in addition to a weaving museum. The organization was again excellent; the atmosphere most pleasant and familiar. People were really happy about our participation. There were even people who came to the T-DOSE mainly because they had questions about Apache OpenOffice. As part of a live podcast (Angry Nerds Podcast [1]), the Chronicler was also interviewed about Apache OpenOffice and the Apache Foundation, which was well known to the interviewer, so she was able to introduce it to the listeners and viewers in Dutch as well (the Chronicler used English in the interview). Unfortunately, our Dutch friends from LibreOffice did not come. For next year I have already sent a pre-registration to the organizers. Greetings Michael [0] https://t-dose.org/2023/ [1] https://t-dose.org/2023/schedule/angry-nerds/ Translated with www.DeepL.com/Translator (free version) - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org