xiaoqizhan opened a new pull request, #18726: URL: https://github.com/apache/nuttx/pull/18726
Enabling CONFIG_NX_HWCURSORIMAGE or CONFIG_NX_SWCURSOR causes a compile error due to a missing semicolon after a structure variable. *Note: Please adhere to [Contributing Guidelines](https://github.com/apache/nuttx/blob/master/CONTRIBUTING.md).* ## Summary Enabling CONFIG_NX_HWCURSORIMAGE or CONFIG_NX_SWCURSOR leads to a compilation error due to a missing semicolon after the struct nx_cursorimage_s image member in the struct nxsvrmsg_curimage_s structure definition. This change adds the missing semicolon to fix the syntax error and ensure successful compilation when the related cursor configuration options are enabled. ## Impact 1. Fixes a build failure when CONFIG_NX_HWCURSORIMAGE or CONFIG_NX_SWCURSOR is enabled. 2. No functional impact on system behavior, hardware operations, or user applications. 3. No effect on users who disable the cursor configuration options. 4. No impact on security, compatibility, or documentation. 5. No breakage to existing NX server and cursor-related functionality. ## Testing 1. Host Machine: Ubuntu 20.04 LTS 2. Test Configuration: Enabled CONFIG_NX_HWCURSORIMAGE or CONFIG_NX_SWCURSOR in the NuttX configuration 3. Test Procedure: Executed the standard build command make to verify compilation 4. Test Result: Before the fix: Compilation failed with a "missing semicolon" error After the fix: Build completes successfully without any errors 5. No regressions observed in existing NX server and cursor modules. -- 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]
