xiaoxiang781216 commented on PR #19422:
URL: https://github.com/apache/nuttx/pull/19422#issuecomment-4956071056

   @ldube please create a new patch in this pr fix the following compiler error:
   ```
   
====================================================================================
   Configuration/Tool: ci20/nsh,CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
   2026-07-13 06:56:52
   
------------------------------------------------------------------------------------
     Cleaning...
     Configuring...
     Disabling CONFIG_MIPS32_TOOLCHAIN_GNU_ELF
     Enabling CONFIG_MIPS32_TOOLCHAIN_PINGUINOL
     Building NuttX...
   serial/uart_16550.c: In function 'u16550_sendbuf':
   Error: serial/uart_16550.c:1586:3: error: 'for' loop initial declarations 
are only allowed in C99 or C11 mode
      for (size_t i = 0; i < size; i++)
      ^
   serial/uart_16550.c:1586:3: note: use option -std=c99, -std=gnu99, -std=c11 
or -std=gnu11 to compile your code
   make[1]: *** [Makefile:108: uart_16550.o] Error 1
   make[1]: Target 'libdrivers.a' not remade because of errors.
   make: *** [tools/LibTargets.mk:107: drivers/libdrivers.a] Error 2
   mm_gran/mm_grantable.c: In function 'gran_search':
   Error: mm_gran/mm_grantable.c:270:3: error: 'for' loop initial declarations 
are only allowed in C99 or C11 mode
   ```


-- 
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