[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #2930: C++20 issues
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #2930: C++20 issues
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Wed, 21 Aug 2024 17:29:36 GMT
- To: tcallawa@xxxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.2930&from=L21haW4- Tom CALLAWAY reported a new bug. Summary ------- C++20 issues Type : Bug Priority : Medium Gambas version : 3.19 Product : Unknown Description ----------- With the newest version of poppler, we need to compile gambas3 with C++20 support. This fails currently because of how gambas.h undefines and redefines tolower/toupper. In C++20, std::tolower and std::toupper exist, and to the best of my understanding, those are reserved namespaces and cannot be overridden. In Fedora, we're hacking around this for now by wrapping that part in #if __cplusplus < 202002L, but I don't think thats the "proper" fix. System information ------------------ Fedora Rawhide, poppler 24.08.0 ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----