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

deprecated declarations in bindings #1032

Closed
jcpunk opened this issue Nov 2, 2022 · 0 comments · Fixed by #1159
Closed

deprecated declarations in bindings #1032

jcpunk opened this issue Nov 2, 2022 · 0 comments · Fixed by #1159

Comments

@jcpunk
Copy link
Contributor

jcpunk commented Nov 2, 2022

Just making sure someone saw this warning

/builddir/build/BUILD/jsonnet-0.19.1/core/vm.cpp: In member function 'const c4::yml::Tree {anonymous}::Interpreter::treeFromString(const std::string&)':
/builddir/build/BUILD/jsonnet-0.19.1/core/vm.cpp:1638:27: warning: 'c4::yml::Tree c4::yml::parse(c4::csubstr)' is deprecated: use parse_in_arena() instead [-Wdeprecated-declarations]
 1638 |         return ryml::parse(c4::to_csubstr(s));
      |                ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c4/yml/yml.hpp:7,
                 from /usr/include/ryml.hpp:4,
                 from /builddir/build/BUILD/jsonnet-0.19.1/core/vm.cpp:30:
/usr/include/c4/yml/parse.hpp:648:61: note: declared here
  648 | RYML_DEPRECATED("use parse_in_arena() instead") inline Tree parse(                  csubstr yaml                         ) { Parser np; return np.parse_in_arena({}      , yaml); } //!< parse a read-only YAML source buffer, copying it first to the tree's source arena.
python/_jsonnet.c: In function ‘cpython_native_callback’:
python/_jsonnet.c:189:5: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  189 |     result = PyEval_CallObject(ctx->callback, arglist);
      |     ^~~~~~
In file included from /usr/include/python3.11/Python.h:95,
                 from python/_jsonnet.c:20:
/usr/include/python3.11/ceval.h:27:43: note: declared here
   27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
python/_jsonnet.c: In function ‘cpython_import_callback’:
python/_jsonnet.c:229:5: warning: ‘PyEval_CallObjectWithKeywords’ is deprecated [-Wdeprecated-declarations]
  229 |     result = PyEval_CallObject(ctx->callback, arglist);
      |     ^~~~~~
/usr/include/python3.11/ceval.h:27:43: note: declared here
   27 | Py_DEPRECATED(3.9) PyAPI_FUNC(PyObject *) PyEval_CallObjectWithKeywords(
      |                                           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
creating build/lib.linux-x86_64-cpython-311
@jcpunk jcpunk changed the title deprecated declarations in 0.19.1 deprecated declarations in bindings Jun 12, 2024
brian-lou pushed a commit to getsentry/sentry-forked-jsonnet that referenced this issue Oct 24, 2024
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 a pull request may close this issue.

2 participants
@jcpunk and others