lwIP - A Lightweight TCP/IP stack - Bugs: bug #19052, ppp.h version 1.2 has broken...
You are not allowed to post comments on this tracker with your current authentication level.
bug #19052: ppp.h version 1.2 has broken Macros GETSORT/LONG
Submitter: | None | ||
Submitted: | Tue 13 Feb 2007 04:39:22 PM UTC | ||
Category: | Contrib | Severity: | 3 - Normal |
Item Group: | Faulty Behaviour | Status: | Fixed |
Privacy: | Public | Assigned to: | None |
Open/Closed: | Closed | Planned Release: | None |
lwIP version: | None |
Thu 24 May 2007 05:32:39 AM UTC, comment #3: |
Tom Evans <tom_evans> |
Wed 14 Feb 2007 08:18:36 AM UTC, comment #2: Fixed this in CVS HEAD, previous fix for #9191 was indeed broken.
|
Christiaan Simons <christiaans> |
Wed 14 Feb 2007 07:57:14 AM UTC, comment #1: I expect the second line of the macro should contain (s)<<=8;
|
Len Chisholm <kiwirail> |
Tue 13 Feb 2007 04:39:22 PM UTC, original submission:
#define GETSHORT(s, cp) { \
|
Anonymous |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
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.
Follow 2 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2007-02-28 | kieranm | Open/Closed | Open | Closed | |
2007-02-26 | kieranm | Status | None | Fixed |
Powered by Savane 3.13-02a9.
Corresponding source code
Len writes below:
If that's the Renesas/Mitsubishi NC308 compiler for the M16C and M32C CPU chips, then add te command line option "-fETI" (Extend (bytes) To Integer) so as to be (sligtly more) ANSI compliant.
The original reporter of #9191 (bjorn sundman?) was using this compiler.
Those with these problems using OTHER compilers should check their compiler manuals for options to force correct (ANSI) operation.