Skip to content

Conversation

homalozoa
Copy link
Contributor

Fix

CMake warning

CMake Deprecation Warning at tools/CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

and

-Wformat warning

 warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘size_t’ {aka ‘long unsigned int’} [-Wformat=]
  158 |         mvwprintw( win, i+5, 0, "%2d. %s", i+1, list[i].c_str() );
      |                                  ~~^       ~~~
      |                                    |        |
      |                                    int      size_t {aka long unsigned int}
      |                                  %2ld

Signed-off-by: Homalozoa xuhaiwang@xiaomi.com

Signed-off-by: Homalozoa <xuhaiwang@xiaomi.com>
@facontidavide facontidavide merged commit 5c3445d into BehaviorTree:master Jan 23, 2022
@facontidavide
Copy link
Collaborator

thanks

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