You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/07/29 03:08:25 UTC

[GitHub] ccollins476ad opened a new pull request #1302: sys/log/stub: Define one instance of log handlers

ccollins476ad opened a new pull request #1302: sys/log/stub: Define one instance of log handlers
URL: https://github.com/apache/mynewt-core/pull/1302
 
 
   Prior to this PR, it was the stub log header defined each log handler.  This caused each source file that included the stub header to have its own instance of each handler, causing newt to raise an error similar to the following:
   
       Global Symbol Conflict: log_fcb_handler from packages mgmt/newtmgr/transport/ble and nimble/host/store/config
   
   This PR moves the handler definitions to a C file, and makes the declarations in the header file `extern`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services