Summary: | '#include <csetjmp>' is broken: error: "If libc++ starts defining <setjmp.h>, the __has_include check should move to libc++'s <setjmp.h>" | ||
---|---|---|---|
Product: | Base System | Reporter: | Yuri Victorovich <yuri> |
Component: | misc | Assignee: | freebsd-toolchain (Nobody) <toolchain> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | CC: | dim, salvadore |
Priority: | --- | ||
Version: | 14.0-STABLE | ||
Hardware: | Any | ||
OS: | Any |
Description
Yuri Victorovich
2024-06-12 08:46:16 UTC
I can't reproduce this on freshly installed 14.1-RELEASE. The program compiles just fine. How have you installed your system? I had a similar issue recently on CURRENT. In my case the cause was that I had built base from sources forgetting to run "make delete-old". After running it everything was fixed. (In reply to Lorenzo Salvadore from comment #2) Ah yes, this is because the old copy of /usr/include/c++/v1/setjmp.h must be deleted upon an upgrade. A fresh install will never have this issue. |