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

auto_ptr のワーニング対応。 #3

Merged
merged 1 commit into from
Jan 26, 2019

Conversation

mikoto2000
Copy link
Contributor

#2 の対応です。

  • 基本的に unique_ptr に変更
  • cfg/cfg3.cpp の L233 だけは、 chk 関数が shared_ptr を要求するので shared_ptr へ変更

- 基本的に `unique_ptr` に変更
- `cfg/cfg3.cpp` の L233 だけは、 `chk` 関数が `shared_ptr` を要求するので `shared_ptr` へ変更
@mitsut mitsut merged commit 1462f08 into mitsut:master Jan 26, 2019
@mitsut
Copy link
Owner

mitsut commented Jan 26, 2019

g++のバージョンによりますが、CXXFLAGS := -std=c++11をつけることでワーニングが取れることを確認しました。
別チケットでGCCのバージョンを4系から5系に上げることを前提に進めたいと思います。

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.

None yet

2 participants