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

Submitted by:  Dirk Ziegelmeier <dziegel>
Submitted on:  Fri 09 Dec 2016 12:34:13 PM UTC  
 
Category: PPPSeverity: 3 - Normal
Item Group: Compiler WarningStatus: Fixed
Privacy: PublicAssigned to: Sylvain Rochet <gradator>
Open/Closed: ClosedPlanned 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>
Project MemberIn charge of this item.
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>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by gradator (Posted a comment)
  • -unavailable- added by dziegel (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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 09 Dec 2016 01:32:20 PM UTCgradatorStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1