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

Windows版のMroongaが新しいcmakeでビルドするときに警告を出している #126

Open
cosmo0920 opened this issue Feb 19, 2018 · 0 comments

Comments

@cosmo0920
Copy link
Contributor

cosmo0920 commented Feb 19, 2018

以下のような情報があると、issueを見た人がスムーズに作業できるはず。

💭 時間がないときは書かなくても 🆗

  • issue tracker や repository の URL
    • GitHub 上のプロジェクトは見つけやすいけど、それ以外のプロジェクトは知らないと探すのに時間がかかってしまうため

https://github.com/mroonga/mroonga

MariaDB の問題と分かった場合はJIRA

https://jira.mariadb.org/secure/Dashboard.jspa

  • 発見した問題についての情報
    • 実際に発生したこと(スタックトレースやログがあればなるべく省略しない)
    • 再現手順
PS> git clone https://github.com/cosmo0920/PowerShell-for-Mroonga-building mrnwork
PS> cd mrnwork
PS> cd powershell
PS> .\build-vs2017.ps1

ビルド中に以下の警告が現れます。ビルドは正常に終了します。

...
cd build-vc2017-zip-32

C:\mrnwork\powershell\work\build-vc2017-zip-32>cmake ..\source -G "Visual Studio 15 2017"   -DMRN_GROONGA_EMBED=OFF   -DMRN_GROONGA_NORMALIZER_MYSQL_EMBED=OFF   -DGRN_WITH_BUNDLED_LZ4=ON   -DGRN_WITH_BUNDLED_MECAB=ON    1>config.log
CMake Deprecation Warning at CMakeLists.txt:26 (CMAKE_POLICY):
  The OLD behavior for policy CMP0022 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at CMakeLists.txt:34 (CMAKE_POLICY):
  The OLD behavior for policy CMP0026 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


CMake Deprecation Warning at cmake/for_clients.cmake:15 (CMAKE_POLICY):
  The OLD behavior for policy CMP0007 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
  CMakeLists.txt:422 (INCLUDE)
  • 発生した環境(OSや使用したライブラリーやアプリケーションのバージョンなど)

    • WIndows 10 Home Fall Creators Update(1709)
    • Visual Studio 2017 Community
    • cmake 3.10.2
  • 期待する結果

警告が発生しないこと。

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

No branches or pull requests

1 participant