|
From: | Callahan, Brian Robert |
Subject: | RE: [EXTERNAL]Building GNU APL with clang |
Date: | Tue, 3 Oct 2023 01:43:56 +0000 |
Hi Russ – On OpenBSD, clang has been the default compiler for many years. I routinely build APL trunk on OpenBSD, and never had any problems so long as I add -std=gnu++11 to CXXFLAGS. I just rebuilt APL from a clean SVN checkout and it built without
issues. I am using clang-16.0.6. Not sure what version Termux uses these days. ~Brian -- Brian Robert Callahan, Ph.D., CISSP, CCSP, SSCP, CC Graduate Program Director, ITWS@RPI Director, Rensselaer Cybersecurity Collaboratory Office: Lally 304 From: bug-apl-bounces+callab5=rpi.edu@gnu.org <bug-apl-bounces+callab5=rpi.edu@gnu.org>
On Behalf Of Russtopia CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and
know the content is safe. Hello, See topic. I would rather not, but in this case I am trying to re-build GNU APL in Termux on my newer Android phone, and Termux decided some time ago to remove gcc entirely from its packages, in preference to
clang. :( I am not up to date at all on modern C++, but this conversation on Stackoverflow suggests that auto_ptr is considered deprecated in newer C++ standards:
https://stackoverflow.com/questions/69116001/how-do-i-re-enable-c17-removed-features-in-clang
Adding -std=c++11 to src/emacs-mode/Makefile CXXFLAGS got me past the auto_ptr issues, but then I hit issues with 'typeof()' in LineInput.cc:
|
[Prev in Thread] | Current Thread | [Next in Thread] |