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

0.5.0: copile time warnings #115

Closed
kloczek opened this issue Mar 12, 2020 · 3 comments · Fixed by #117
Closed

0.5.0: copile time warnings #115

kloczek opened this issue Mar 12, 2020 · 3 comments · Fixed by #117

Comments

@kloczek
Copy link

kloczek commented Mar 12, 2020

gcc 10.0.1

[tkloczko@barrel libcbor-0.5.0]$ make -C doc man
make: Entering directory '/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc'
sphinx-build -b man -d build/doctrees   source build/man
Running Sphinx v2.2.2
WARNING: Support for evaluating Python 2 syntax is deprecated and will be removed in Sphinx 4.0. Convert /home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/conf.py to Python 3 syntax.
/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source
/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/../build/doxygen/xml
/usr/lib/python3.8/site-packages/sphinx/util/docutils.py:283: RemovedInSphinx30Warning: function based directive support is now deprecated. Use class based directive instead.
  warnings.warn('function based directive support is now deprecated. '
WARNING: html_static_path entry '_static' does not exist
loading pickled environment... done
building [mo]: targets for 0 po files that are out of date
building [man]: all manpages
updating environment: 0 added, 0 changed, 0 removed
looking for now-outdated files... none found
writing... libcbor.1 { getting_started using api api/item_types api/item_reference_counting api/decoding api/encoding api/type_0_1 api/type_2 api/type_3 api/type_4 api/type_5 api/type_6 api/type_7 streaming streaming/decoding streaming/encoding tests rfc_conformance internal changelog development } /home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/api/item_reference_counting.rst:13: WARNING: unknown document: getting_started
/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/api/type_0_1.rst:33: WARNING: undefined label: item-types (if the link has no caption the label must precede a section header)
/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/api/type_7.rst:67: WARNING: Unparseable C++ cross-reference: 'float'
Error in cross-reference.
If shorthand ref:
  Invalid definition: Expected identifier in nested name, got keyword: float [error at 5]
    float
    -----^
If full function ref:
  Error when parsing function declaration.
  If the function has no return type:
    Error in declarator or parameters and qualifiers
    Invalid definition: Expected identifier in nested name, got keyword: float [error at 5]
      float
      -----^
  If the function has a return type:
    Error in declarator or parameters and qualifiers
    If pointer to member declarator:
      Invalid definition: Expected identifier in nested name. [error at 5]
        float
        -----^
    If declarator-id:
      Invalid definition: Expected identifier in nested name. [error at 5]
        float
        -----^

/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/rfc_conformance.rst:14: WARNING: Unparseable C++ cross-reference: 'float'
Error in cross-reference.
If shorthand ref:
  Invalid definition: Expected identifier in nested name, got keyword: float [error at 5]
    float
    -----^
If full function ref:
  Error when parsing function declaration.
  If the function has no return type:
    Error in declarator or parameters and qualifiers
    Invalid definition: Expected identifier in nested name, got keyword: float [error at 5]
      float
      -----^
  If the function has a return type:
    Error in declarator or parameters and qualifiers
    If pointer to member declarator:
      Invalid definition: Expected identifier in nested name. [error at 5]
        float
        -----^
    If declarator-id:
      Invalid definition: Expected identifier in nested name. [error at 5]
        float
        -----^

/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/internal.rst:65: WARNING: Unparseable C++ cross-reference: 'cbor_item_t.data'
Error in cross-reference.
If shorthand ref:
  Invalid definition: Expected end of definition. [error at 11]
    cbor_item_t.data
    -----------^
If full function ref:
  Error when parsing function declaration.
  If the function has no return type:
    Error in declarator or parameters and qualifiers
    Invalid definition: Expecting "(" in parameters_and_qualifiers. [error at 11]
      cbor_item_t.data
      -----------^
  If the function has a return type:
    Error in declarator or parameters and qualifiers
    If pointer to member declarator:
      Invalid definition: Expected identifier in nested name. [error at 11]
        cbor_item_t.data
        -----------^
    If declarator-id:
      Invalid definition: Expected identifier in nested name. [error at 11]
        cbor_item_t.data
        -----------^

/home/tkloczko/rpmbuild/BUILD/libcbor-0.5.0/doc/source/internal.rst:81: WARNING: Unparseable C++ cross-reference: 'cbor_item_t.type'
Error in cross-reference.
If shorthand ref:
  Invalid definition: Expected end of definition. [error at 11]
    cbor_item_t.type
    -----------^
If full function ref:
  Error when parsing function declaration.
  If the function has no return type:
    Error in declarator or parameters and qualifiers
    Invalid definition: Expecting "(" in parameters_and_qualifiers. [error at 11]
      cbor_item_t.type
      -----------^
  If the function has a return type:
    Error in declarator or parameters and qualifiers
    If pointer to member declarator:
      Invalid definition: Expected identifier in nested name. [error at 11]
        cbor_item_t.type
        -----------^
    If declarator-id:
      Invalid definition: Expected identifier in nested name. [error at 11]
        cbor_item_t.type
        -----------^

done
build succeeded, 8 warnings.

The manual pages are in build/man.

Build finished. The manual pages are in build/man.
@PJK PJK self-assigned this Mar 15, 2020
This was referenced Mar 15, 2020
@PJK PJK closed this as completed in #117 Mar 15, 2020
@kloczek
Copy link
Author

kloczek commented Sep 20, 2020

Do you have any plans to make new release soon? :)

@PJK
Copy link
Owner

PJK commented Sep 20, 2020

@kloczek Yes! Thanks for following up :) But specifically for the documentation issues, there are some new issues resulting from #148...

@PJK
Copy link
Owner

PJK commented Sep 20, 2020

Should be fixed in #159, PTAL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants