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

Remove calls to deprecated serd_uri_to_path #243

Open
donpellegrino opened this issue Mar 13, 2022 · 2 comments
Open

Remove calls to deprecated serd_uri_to_path #243

donpellegrino opened this issue Mar 13, 2022 · 2 comments

Comments

@donpellegrino
Copy link
Contributor

RDFParserSerd.cpp is calling a deprecated serd_uri_to_path function.

src/rdf/RDFParserSerd.cpp:188:23: warning: 'serd_uri_to_path' is deprecated [-Wdeprecated-declarations]
        const uint8_t* input=serd_uri_to_path((const uint8_t *)fileName);
                             ^~~~~~~~~~~~~~~~
                             serd_file_uri_parse
/opt/serd/include/serd-0/serd/serd.h:267:1: note: 'serd_uri_to_path' has been explicitly marked deprecated
      here
SERD_DEPRECATED_BY("serd_file_uri_parse")
^
/opt/serd/include/serd-0/serd/serd.h:66:52: note: expanded from macro 'SERD_DEPRECATED_BY'
#    define SERD_DEPRECATED_BY(rep) __attribute__((deprecated("", rep)))
                                                   ^
@mielvds
Copy link
Member

mielvds commented Mar 14, 2022

There are some stale unmerged serd branches:

Maybe the last one is helpful? @drobilla ?

@drobilla
Copy link
Contributor

As the warning says, serd_file_uri_parse is the non-broken/deprecated version to use. It has been in releases for years, nothing to do with any pending branches.

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

3 participants