4 Replies Latest reply on Mar 9, 2016 1:55 PM by userc_19497

    INLINE method compilation error

      Hi,

      I've been getting several errors and all of them are inline methods. I think that FreeRTOS compilation, does not support inline methods and the gcc compiler might need a flag for inline method compilation.

      111:8: error: unknown type name 'INLINE'

      static INLINE TW_SSL * TW_NEW_SERVER(SSL_CTX *ssl_ctx, twSocket * client_fd) {

       

      error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token

      static INLINE TW_SSL * TW_NEW_SERVER(SSL_CTX *ssl_ctx, twSocket * client_fd) {

       

      I've checked online suggestions, I'm definitely not missing any semicolon or bracket.

      This is the build command:

      sudo ./make demo.tw-BCM943364WCD1-FreeRTOS-LwIP-SDIO download run

       

      Best,

      NV