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

linguini pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git


The following commit(s) were added to refs/heads/master by this push:
     new 847f862fd examples/elf: Fix invalid preprocessor directive syntax
847f862fd is described below

commit 847f862fd4a293e2c91877df24b0b490e2c84641
Author: Huang Qi <[email protected]>
AuthorDate: Sat Oct 18 10:26:38 2025 +0800

    examples/elf: Fix invalid preprocessor directive syntax
    
    Fix invalid preprocessor directive in elf_main.c by changing
    `#  Warning "No file system selected"` to `#  warning "No file system 
selected"`.
    
    The incorrect uppercase "Warning" directive would cause compilation
    errors, while the proper lowercase "warning" directive generates
    the intended compiler warning when no file system is selected.
    
    Signed-off-by: Huang Qi <[email protected]>
---
 examples/elf/elf_main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/elf/elf_main.c b/examples/elf/elf_main.c
index befa256e3..d6950c1c8 100644
--- a/examples/elf/elf_main.c
+++ b/examples/elf/elf_main.c
@@ -313,7 +313,7 @@ int main(int argc, FAR char *argv[])
     }
 #endif
 #else
-#  Warning "No file system selected"
+#  warning "No file system selected"
 #endif
 
   mm_update(&g_mmstep, "after mount");

Reply via email to