This is an automated email from the ASF dual-hosted git repository.

janc pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git


The following commit(s) were added to refs/heads/master by this push:
     new 4973bfcc porting/npl/nuttx: Fix building with GCC 414
4973bfcc is described below

commit 4973bfcc797873152bfd579fbfedac4a2547ed8a
Author: Mateusz Szafoni <[email protected]>
AuthorDate: Mon Jun 17 10:35:56 2024 +0200

    porting/npl/nuttx: Fix building with GCC 414
    
    error: implicit declaration of function 'vprintf' 
[-Wimplicit-function-declaration]
       32 |             vprintf(fmt, args);
---
 porting/npl/nuttx/include/nimble/nimble_npl_os_log.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/porting/npl/nuttx/include/nimble/nimble_npl_os_log.h 
b/porting/npl/nuttx/include/nimble/nimble_npl_os_log.h
index 5fcce6ae..24315a21 100644
--- a/porting/npl/nuttx/include/nimble/nimble_npl_os_log.h
+++ b/porting/npl/nuttx/include/nimble/nimble_npl_os_log.h
@@ -21,6 +21,7 @@
 #define _NIMBLE_NPL_OS_LOG_H_
 
 #include <stdarg.h>
+#include <stdio.h>
 
 /* Example on how to use macro to generate module logging functions */
 #define BLE_NPL_LOG_IMPL(lvl) \

Reply via email to