buglwIP - A Lightweight TCP/IP stack - Bugs: bug #49811, Compile error in PPP with mingw...

 
 

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

bug #49811: Compile error in PPP with mingw GCC 5.2

Submitter:  Dirk Ziegelmeier <dziegel>
Submitted:  Fri 09 Dec 2016 12:34:13 PM UTC
   
 
Category:  PPP Severity:  3 - Normal
Item Group:  Compiler Warning Status:  Fixed
Privacy:  Public Assigned to:  gradator
Open/Closed:  Closed Planned Release:  2.0.1
lwIP version:  2.0.0

Fri 09 Dec 2016 01:32:20 PM UTC, comment #1: 

Indeed, thank you for reporting it.

Fixed in commit a83c4e0897 by removing the unused %p format from build.

Sylvain Rochet <gradator>
Group Member
Fri 09 Dec 2016 12:34:13 PM UTC, original submission:  

gcc -g -Wall -DLWIP_DEBUG -pedantic -Werror -Wparentheses -Wsequence-point -Wswitch-default -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wc++-compat -W
write-strings -Wold-style-definition -Wcast-align -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Wno-address -Wunreachable-code -Wuninitialized -Wlogi
cal-op -Wno-format -I. -I.. -I../../.. -Iw:\pnpb2\externals\WinPcap\WpdPack/Include -I../../../../lwip/src/include -I../../../ports/win32/include -c w:\lwip\lwip\src\netif\ppp\utils.c

w:\lwip\lwip\src\netif\ppp\utils.c: In function 'ppp_vslprintf':
w:\lwip\lwip\src\netif\ppp\utils.c:251:12: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
      val = (unsigned long) va_arg(args, void *);
            ^

Dirk Ziegelmeier <dziegel>
Group administrator

 

(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 gradator (Posted a comment)
  • -email is unavailable- added by dziegel (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.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-09 gradator StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code