Skip to content

Conversation

pespin
Copy link
Contributor

@pespin pespin commented Jan 19, 2022

Fixes following compiler warning appearing constantly while building
open5gs project, which uses libbson:

/usr/include/libbson-1.0/bson/bson-atomic.h:725:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
725 | bson_atomic_thread_fence ()
| ^~~~~~~~~~~~~~~~~~~~~~~~

Fixes following compiler warning appearing constantly while building
open5gs project, which uses libbson:

/usr/include/libbson-1.0/bson/bson-atomic.h:725:1: warning: function declaration isn’t a prototype [-Wstrict-prototypes]
  725 | bson_atomic_thread_fence ()
      | ^~~~~~~~~~~~~~~~~~~~~~~~
Copy link
Collaborator

@kevinAlbs kevinAlbs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for the contribution @pespin.

@eramongodb eramongodb merged commit 5065a9a into mongodb:master Jan 19, 2022
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.

3 participants