xiaoqizhan opened a new pull request, #18724: URL: https://github.com/apache/nuttx/pull/18724
enabling CONFIG_FB_HWCURSOR and CONFIG_FB_HWCURSORIMAGE causes a compile error: missing semicolon after a structure variable. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Enabling CONFIG_FB_HWCURSOR and CONFIG_FB_HWCURSORIMAGE causes a compilation error due to a missing semicolon after the height variable in the struct fb_cursorimage_s structure. This change adds the missing semicolon to fix the syntax error and ensure successful compilation when the two configuration options are enabled. ## Impact 1. Fixes a build failure when both CONFIG_FB_HWCURSOR and CONFIG_FB_HWCURSORIMAGE are enabled. 2. No effect on users who disable these two configuration options. 3. No breakage to existing functionality, hardware compatibility, or system security. 4. No documentation updates required. ## Testing 1. Host Machine: Ubuntu 24.04 2. Tested Board: Framebuffer-supported board (with CONFIG_FB_HWCURSOR and CONFIG_FB_HWCURSORIMAGE enabled) 3. Test Procedure: Enabled CONFIG_FB_HWCURSOR and CONFIG_FB_HWCURSORIMAGE in the configuration Ran the standard build command: make 4. Result: Before the fix: Compilation failed with "missing semicolon" error After the fix: Build completes successfully with no errors 5. No regressions detected in existing framebuffer and hardware cursor functionality. -- 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]
