Title: Fix compilation under clang-19 aarch64 by andrjohns · Pull Request #235 · RcppCore/RcppParallel · GitHub
Open Graph Title: Fix compilation under clang-19 aarch64 by andrjohns · Pull Request #235 · RcppCore/RcppParallel
X Title: Fix compilation under clang-19 aarch64 by andrjohns · Pull Request #235 · RcppCore/RcppParallel
Description: The development version is failing to compile under the rtools45 pre-release for Windows Arm because one of the methods in the tbb-compat stub is missing an attribute from one the declarations: Installing package into 'C:/Users/andrew/AppData/Local/R/aarch64-library/4.6' (as 'lib' is unspecified) * installing *source* package 'RcppParallel' ... ** this is package 'RcppParallel' version '5.1.10.9000' ** using staged installation ** preparing to configure package 'RcppParallel' ... *** configured file: 'R/tbb-autodetected.R.in' => 'R/tbb-autodetected.R' *** configured file: 'src/Makevars.in' => 'src/Makevars' ** finished configure for package 'RcppParallel' ** libs using C++ compiler: 'clang version 19.1.7' installing via 'install.libs.R' to C:/Users/andrew/AppData/Local/R/aarch64-library/4.6/00LOCK-RcppParallel/00new/RcppParallel ** creating tbb stub library using C++ compiler: 'clang version 19.1.7' clang++ -std=gnu++17 -I"C:/PROGRA~1/R-AARC~1/R-devel/include" -DNDEBUG -I../inst/include -I"C:/rtools45-aarch64/aarch64-w64-mingw32.static.posix/include" -I"/aarch64-w64-mingw32.static.posix/include" -DRCPP_PARALLEL_USE_TBB=1 -O2 -Wall -c tbb-compat/tbb-compat.cpp -o tbb-compat/tbb-compat.o tbb-compat/tbb-compat.cpp:137:54: error: redeclaration of 'tbb::internal::task_scheduler_observer_v3::observe' cannot add 'dllexport' attribute 137 | void __TBB_EXPORTED_FUNC task_scheduler_observer_v3::observe( bool enable ) { | ^ tbb-compat/tbb-compat.cpp:43:31: note: previous declaration is here 43 | void __TBB_EXPORTED_METHOD observe( bool state=true ); | ^ 1 error generated. make: *** [C:/PROGRA~1/R-AARC~1/R-devel/etc/Makeconf:296: tbb-compat/tbb-compat.o] Error 1 Error in .install.libs(tbbLib) : error building tbb stub library * removing 'C:/Users/andrew/AppData/Local/R/aarch64-library/4.6/RcppParallel' * restoring previous 'C:/Users/andrew/AppData/Local/R/aarch64-library/4.6/RcppParallel' Warning message: In install.packages(getwd(), type = "source", repos = NULL) : This errors since clang has different handling of attributes in this case, and attribute needs to be present in both declarations
Open Graph Description: The development version is failing to compile under the rtools45 pre-release for Windows Arm because one of the methods in the tbb-compat stub is missing an attribute from one the declarations: Ins...
X Description: The development version is failing to compile under the rtools45 pre-release for Windows Arm because one of the methods in the tbb-compat stub is missing an attribute from one the declarations: Ins...
Opengraph URL: https://github.com/RcppCore/RcppParallel/pull/235
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:726657a3-68f7-cde1-b262-6efa4d97d52c |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | D2B4:157A61:2AC7EDA:3C28E29:69710D4A |
| html-safe-nonce | efc0f81bc193abc6af7e934d6837c66018023200199d139e0f45218e2f7f041b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMkI0OjE1N0E2MToyQUM3RURBOjNDMjhFMjk6Njk3MTBENEEiLCJ2aXNpdG9yX2lkIjoiNDM5NjI1ODkyMDQ1NTg5ODM0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e807b4fefbecc5a63cbfe64ebd678963108aad0db3a34dcaacae3f528ea66e19 |
| hovercard-subject-tag | pull_request:2402454109 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/RcppCore/RcppParallel/pull/235/checks |
| twitter:image | https://avatars.githubusercontent.com/u/27717896?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/27717896?s=400&v=4 |
| og:image:alt | The development version is failing to compile under the rtools45 pre-release for Windows Arm because one of the methods in the tbb-compat stub is missing an attribute from one the declarations: Ins... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6d0e7b0d5e294a53c55f49e80755e785182080c6e6a48c9ed353bedddaee69f4 |
| turbo-cache-control | no-cache |
| go-import | github.com/RcppCore/RcppParallel git https://github.com/RcppCore/RcppParallel.git |
| octolytics-dimension-user_id | 5811336 |
| octolytics-dimension-user_login | RcppCore |
| octolytics-dimension-repository_id | 21576989 |
| octolytics-dimension-repository_nwo | RcppCore/RcppParallel |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21576989 |
| octolytics-dimension-repository_network_root_nwo | RcppCore/RcppParallel |
| turbo-body-classes | logged-out env-production page-responsive full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 6d5a3a396bc74e65fd3ef897b0a99a6e489debaa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width