You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/11/13 12:08:23 UTC

[GitHub] [incubator-nuttx-apps] crafcat7 commented on pull request #1413: testing/fstest:Remove duplicate macro references in source code

crafcat7 commented on PR #1413:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1413#issuecomment-1312715148

   > ```
   > 
   > fstest_main.c: In function 'fstest_wrfile':
   > 
   > Error: fstest_main.c:449:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   449 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > fstest_main.c: In function 'fstest_fillfs':
   > 
   > Error: fstest_main.c:494:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   494 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > Error: fstest_main.c:500:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   500 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > fstest_main.c: In function 'fstest_verifyfs':
   > 
   > Error: fstest_main.c:713:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   713 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > Error: fstest_main.c:732:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   732 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > Error: fstest_main.c:744:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   744 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > fstest_main.c: In function 'fstest_delfiles':
   > 
   > Error: fstest_main.c:826:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   826 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > fstest_main.c: In function 'fstest_delallfiles':
   > 
   > Error: fstest_main.c:865:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >   865 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > fstest_main.c: In function 'fstest_main':
   > 
   > Error: fstest_main.c:1051:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >  1051 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > Error: fstest_main.c:1099:5: error: "CONFIG_TESTING_FSTEST_VERBOSE" is not defined, evaluates to 0 [-Werror=undef]
   > 
   >  1099 | #if CONFIG_TESTING_FSTEST_VERBOSE != 0
   > 
   >       |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   > 
   > cc1: all warnings being treated as errors
   > 
   > make[3]: *** [/github/workspace/sources/apps/Application.mk:205: fstest_main.c.github.workspace.sources.apps.testing.fstest.o] Error 1
   > 
   > make[3]: Target 'all' not remade because of errors.
   > 
   > make[2]: *** [Makefile:42: /github/workspace/sources/apps/testing/fstest_all] Error 2
   > 
   > make[2]: Target '/github/workspace/sources/apps/libapps.a' not remade because of errors.
   > 
   > make[1]: *** [Makefile:36: all] Error 2
   > 
   > make: *** [tools/LibTargets.mk:216: /github/workspace/sources/apps/libapps.a] Error 2
   > 
   > ```
   
   I can't reproduce your bug on my local device. How can I reproduce this?


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org