You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/11/16 22:40:30 UTC

[GitHub] [incubator-nuttx] kernelgurumeditation opened a new issue #2314: chip/stm32_otghost.c doesn't build , have C errors

kernelgurumeditation opened a new issue #2314:
URL: https://github.com/apache/incubator-nuttx/issues/2314


   tested with master version:
   
   In file included from chip/stm32_otghost.c:73:0:
   chip/stm32_otg.h:135:34: warning: 'struct usbdev_s' declared inside parameter list
    void stm32_usbsuspend(FAR struct usbdev_s *dev, bool resume);
                                     ^
   chip/stm32_otg.h:135:34: warning: its scope is only this definition or declaration, which is probably not what you want
   chip/stm32_otghost.c:78:2: warning: #warning OTG host not tested for STM32H7! [-Wcpp]
    #warning OTG host not tested for STM32H7!
     ^
   chip/stm32_otghost.c:1235:33: error: expected ';', ',' or ')' before 'uint8_t'
                                    uint8_t speed,
                                    ^
   chip/stm32_otghost.c: In function 'stm32_epfree':
   chip/stm32_otghost.c:4245:3: error: 'ret' undeclared (first use in this function)
      ret = stm32_takesem_noncancelable(&priv->exclsem);
      ^
   chip/stm32_otghost.c:4245:3: note: each undeclared identifier is reported only once for each function it appears in
   chip/stm32_otghost.c: At top level:
   chip/stm32_otghost.c:348:12: warning: 'stm32_ctrlchan_alloc' used but never defined
    static int stm32_ctrlchan_alloc(FAR struct stm32_usbhost_s *priv,
               ^
   chip/stm32_otghost.c: In function 'stm32_epfree':
   chip/stm32_otghost.c:4275:1: warning: control reaches end of non-void function [-Wreturn-type]
    }
   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] kernelgurumeditation commented on issue #2314: chip/stm32_otghost.c doesn't build , have C errors

Posted by GitBox <gi...@apache.org>.
kernelgurumeditation commented on issue #2314:
URL: https://github.com/apache/incubator-nuttx/issues/2314#issuecomment-728812416


   Have you noticed the:
   
   chip/stm32_otghost.c:1235:33: error: expected ';', ',' or ')' before 'uint8_t'
   
   
   Not sure if it was fixed in a previous commit


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] davids5 closed issue #2314: chip/stm32_otghost.c doesn't build , have C errors

Posted by GitBox <gi...@apache.org>.
davids5 closed issue #2314:
URL: https://github.com/apache/incubator-nuttx/issues/2314


   


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [incubator-nuttx] Ouss4 commented on issue #2314: chip/stm32_otghost.c doesn't build , have C errors

Posted by GitBox <gi...@apache.org>.
Ouss4 commented on issue #2314:
URL: https://github.com/apache/incubator-nuttx/issues/2314#issuecomment-728805098


   Thanks for reporting the error, #2322 should fix this.


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org