Commit 16834f6
Fix clang 17 build: add <fstream> include to RcppExports.cpp
XPtr<std::ifstream> requires the full definition of std::ifstream to
instantiate its destructor. clang 17 (macOS) no longer provides it
transitively through Rcpp.h, causing compilation failure.
Note: if compileAttributes() is re-run, this include must be re-added.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 645efc2 commit 16834f6
2 files changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
0 commit comments