W-M-R opened a new pull request, #14945:
URL: https://github.com/apache/nuttx/pull/14945

   ## Summary
   
       CC:  gcov.c gcov.c: In function 'gcov_stdout_dump':
       gcov.c:146:50: error: passing argument 3 of '__gcov_info_to_gcda' from 
incompatible pointer type [-Werror=incompatible-pointer-types]
         146 |       __gcov_info_to_gcda(info, stdout_filename, stdout_dump, 
NULL, &arg);
             |                                                  ^~~~~~~~~~~
             |                                                  |
             |                                                  void (*)(const 
void *, size_t,  void *) {aka void (*)(const void *, long unsigned int,  void 
*)}
       In file included from gcov.c:25:
       /mnt/vela/github/NX/nuttx/include/gcov.h:139:44: note: expected 'void 
(*)(const void *, unsigned int,  void *)' but argument is of type 'void 
(*)(const void *, size_t,  void *)' {aka 'void (*)(const void *, long unsigned 
int,  void *)'}
         139 |                                 FAR void (*dump)(FAR const void 
*,
             |                                     
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
         140 |                                                  unsigned int, 
FAR void *),
             |                                                  
~~~~~~~~~~~~~~~~~~~~~~~~~
       libgcc/gcov.c: In function 'gcov_process_path.constprop':
       libgcc/gcov.c:230:29: error: 'filename' may be used uninitialized 
[-Werror=maybe-uninitialized]
         230 |       tokens[token_count++] = filename;
             |       ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
       libgcc/gcov.c:188:13: note: 'filename' was declared here
         188 |   FAR char *filename;
   
   ## Impact
   
   *Update this section, where applicable, on how change affects users,
    build process, hardware, documentation, security, compatibility, etc.*
   
   ## Testing
   
   *Update this section with details on how did you verify the change,
    what Host was used for build (OS, CPU, compiler, ..), what Target was
    used for verification (arch, board:config, ..), etc. Providing build
    and runtime logs from before and after change is highly appreciated.*
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to