Fix-Point commented on PR #17644:
URL: https://github.com/apache/nuttx/pull/17644#issuecomment-3691405772

   After disabling the `nxsig_unmask_pendingsignal` API, there seems to be a 
compilation error.
   
   ```bash
   signal/sig_ppoll.c:102:7: warning: implicit declaration of function 
'nxsig_unmask_pendingsignal'; did you mean 'nxsig_remove_pendingsignal'? 
[-Wimplicit-function-declaration]
     102 |   if (nxsig_unmask_pendingsignal())
         |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
         |       nxsig_remove_pendingsignal
   CC:  net/lib_addrconfig.c signal/sig_pselect.c: In function 'pselect':
   signal/sig_pselect.c:99:7: warning: implicit declaration of function 
'nxsig_unmask_pendingsignal'; did you mean 'nxsig_remove_pendingsignal'? 
[-Wimplicit-function-declaration]
      99 |   if (nxsig_unmask_pendingsignal())
         |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
         |       nxsig_remove_pendingsignal
   CC:  net/lib_base64.c signal/sig_suspend.c: In function 'sigsuspend':
   signal/sig_suspend.c:111:7: warning: implicit declaration of function 
'nxsig_unmask_pendingsignal'; did you mean 'nxsig_remove_pendingsignal'? 
[-Wimplicit-function-declaration]
     111 |   if (nxsig_unmask_pendingsignal())
         |       ^~~~~~~~~~~~~~~~~~~~~~~~~~
         |       nxsig_remove_pendingsignal
   ```
   
   Some files also call `nxsig_unmask_pendingsignal`. Please be aware of 
whether this may cause a compilation error.
   - arch/arm/src/armv6-m/arm_svcall.c: line 207
   - arch/arm/src/armv7-a/arm_syscall.c: line 263
   - arch/arm/src/armv7-m/arm_svcall.c: line 215
   - arch/arm/src/armv7-r/arm_syscall.c: line 260
   - arch/arm/src/armv8-m/arm_svcall.c: line 215
   - arch/arm/src/armv8-r/arm_syscall.c: line 260
   - arch/arm64/src/common/arm64_syscall.c: line 143
   - arch/mips/src/mips32/mips_swint0.c: line 224
   - arch/misoc/src/lm32/lm32_swint.c: line 222
   - arch/misoc/src/minerva/minerva_swint.c: line 193
   - arch/risc-v/src/common/riscv_swint.c: line 134
   - arch/xtensa/src/common/xtensa_swint.c: line 159
   


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