buglwIP - A Lightweight TCP/IP stack - Bugs: bug #34582, missing limits.h for unix arch

 
 

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

bug #34582: missing limits.h for unix arch

Submitted by:  Amir Shalem <amirshalem>
Submitted on:  Tue 18 Oct 2011 12:00:56 AM UTC  
 
Category: ContribSeverity: 3 - Normal
Item Group: Change RequestStatus: Fixed
Privacy: PublicAssigned to: Simon Goldschmidt <goldsimon>
Open/Closed: ClosedPlanned Release: None
lwIP version: CVS Head

Tue 18 Oct 2011 08:45:19 AM UTC, comment #1:

Added "#include <limits.h>" to unix port cc.h.

Fixed, thanks for reporting.

Simon Goldschmidt <goldsimon>
Project AdministratorIn charge of this item.
Tue 18 Oct 2011 12:00:56 AM UTC, original submission:

missing include for limits.h / INT_MAX
on Ubuntu 10.04.3 gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) fails on

lwip/src/api/api_msg.c: In function ‘netconn_alloc’:
lwip/src/api/api_msg.c:636: error: ‘INT_MAX’ undeclared (first use in this function)
lwip/src/api/api_msg.c:636: error: (Each undeclared identifier is reported only once
lwip/src/api/api_msg.c:636: error: for each function it appears in.)
error: command 'gcc' failed with exit status 1

Amir Shalem <amirshalem>

 

Attached Files
file #24166:  missing-limits.patch added by amirshalem (931B - application/octet-stream - patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by goldsimon (Posted a comment)
  • -unavailable- added by amirshalem (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Oct 2011 08:45:19 AM UTCgoldsimonStatusNone=>Fixed
      Assigned toNone=>goldsimon
      Open/ClosedOpen=>Closed
    Tue 18 Oct 2011 12:00:56 AM UTCamirshalemAttached File-=>Added missing-limits.patch, #24166

    Back to the top


    Powered by Savane 3.1-cleanup1