configure script should check if C++ compiler works
Nobody has claimed this yet.
- Dominant language
- Macaulay2
- Stars
- 435
- Forks
- 297
- Avg merge
- 4d 20h
- Merged PRs (30d)
- 11
Description
... should check, first thing, whether the C++ compiler even works. Otherwise this error message occurs, and it's misleading.
```m2
$ ../configure CXX=foobar
configure: configuring Macaulay2 version 1.17.1.1
relevant environment variable values, if any:
CXX = foobar
...
checking whether exceptions are caught... no, use a different C++ compiler
```
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the configure script and reproduce the reported command, ../configure CXX=foobar. Trace the initial compiler checks and make configure detect an unusable C++ compiler before the exception check; done means the resulting diagnostic no longer misleadingly reports an exception failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100