buglwIP - A Lightweight TCP/IP stack - Bugs: bug #66017, ssize_t already defined - hightec...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #66017: ssize_t already defined - hightec tricore compiler

Submitter:  Balazs G <gorogbalazs>
Submitted:  Wed 24 Jul 2024 11:28:33 AM UTC
   
 
Category:  Platform ports Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Planned Release:  None
lwIP version:  2.1.2

Wed 24 Jul 2024 11:28:33 AM UTC, original submission:  

Using the hightec tricore v9.0.0 compiler (llvm-based, clang compiler) https://hightec-rt.com/products/development-platform

I get the following error:
...../lwip/src/include\lwip/arch.h:202:13: error: typedef redefinition with different types ('int' vs '_ssize_t' (aka 'long'))
  202 | typedef int ssize_t;
      |             ^
......\toolchains\tricore\v9.0.0\tricore\include\stdio.h:226:18: note: previous definition is here
  226 | typedef _ssize_t ssize_t;

I checked it, the compiler lib has no definition of SSIZE_MAX, but as you can see from the error message, ssize_t is defined in stdio.h.

Balazs G <gorogbalazs>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gorogbalazs (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.15-e6e5.
    Corresponding source code