Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build error of deprecated api #697

Merged
merged 2 commits into from
Aug 21, 2023
Merged

Fix build error of deprecated api #697

merged 2 commits into from
Aug 21, 2023

Conversation

Bambooin
Copy link
Contributor

Pull request

Issue tracker

Fixes will automatically close the related issue

Build failed on Trime procject with boost 1.83.0

/trime/app/src/main/jni/librime/src/rime/lever/customizer.cc:91:11: error: 'copy_file' is deprecated: Use copy_options instead of copy_option [-Werror,-Wdeprecated-declarations]

Feature

Describe feature of pull request

Unit test

  • Done

Manual test

  • Done

Code Review

  1. Unit and manual test pass
  2. GitHub Action CI pass
  3. At least one contributor reviews and votes
  4. Can be merged clean without conflicts
  5. PR will be merged by rebase upstream base

Additional Info

Bambooin and others added 2 commits August 21, 2023 18:24
Build failed on Trime procject with boost 1.83.0

This error begins on upstream librime(0d12d90) and boost 1.83.0

/trime/app/src/main/jni/librime/src/rime/lever/customizer.cc:91:11: error: 'copy_file' is deprecated: Use copy_options instead of copy_option [-Werror,-Wdeprecated-declarations]
Copy link
Member

@eagleoflqj eagleoflqj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

According to https://www.boost.org/users/history/version_1_74_0.html the fs::copy_options::overwrite_existing is available starting from 1.74 so I updated the requirement.

@eagleoflqj eagleoflqj merged commit 402137c into rime:master Aug 21, 2023
5 checks passed
groverlynn pushed a commit to groverlynn/librime that referenced this pull request Sep 27, 2023
* fix: fix build error of deprecated api

Build failed on Trime procject with boost 1.83.0

This error begins on upstream librime(0d12d90) and boost 1.83.0

/trime/app/src/main/jni/librime/src/rime/lever/customizer.cc:91:11: error: 'copy_file' is deprecated: Use copy_options instead of copy_option [-Werror,-Wdeprecated-declarations]

* require boost minimum 1.74

---------

Co-authored-by: Qijia Liu <liumeo@pku.edu.cn>
graphemecluster pushed a commit to TypeDuck-HK/librime that referenced this pull request Nov 2, 2023
* fix: fix build error of deprecated api

Build failed on Trime procject with boost 1.83.0

This error begins on upstream librime(0d12d90) and boost 1.83.0

/trime/app/src/main/jni/librime/src/rime/lever/customizer.cc:91:11: error: 'copy_file' is deprecated: Use copy_options instead of copy_option [-Werror,-Wdeprecated-declarations]

* require boost minimum 1.74

---------

Co-authored-by: Qijia Liu <liumeo@pku.edu.cn>
graphemecluster pushed a commit to TypeDuck-HK/librime that referenced this pull request Nov 8, 2023
* fix: fix build error of deprecated api

Build failed on Trime procject with boost 1.83.0

This error begins on upstream librime(0d12d90) and boost 1.83.0

/trime/app/src/main/jni/librime/src/rime/lever/customizer.cc:91:11: error: 'copy_file' is deprecated: Use copy_options instead of copy_option [-Werror,-Wdeprecated-declarations]

* require boost minimum 1.74

---------

Co-authored-by: Qijia Liu <liumeo@pku.edu.cn>
graphemecluster pushed a commit to TypeDuck-HK/librime that referenced this pull request Mar 18, 2024
* fix: fix build error of deprecated api

Build failed on Trime procject with boost 1.83.0

This error begins on upstream librime(0d12d90) and boost 1.83.0

/trime/app/src/main/jni/librime/src/rime/lever/customizer.cc:91:11: error: 'copy_file' is deprecated: Use copy_options instead of copy_option [-Werror,-Wdeprecated-declarations]

* require boost minimum 1.74

---------

Co-authored-by: Qijia Liu <liumeo@pku.edu.cn>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants