lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-devel] [bug #53952] ip4_addr_debug_print_val unaligned structu


From: Ray Ozzie
Subject: Re: [lwip-devel] [bug #53952] ip4_addr_debug_print_val unaligned structure reference compiler warning
Date: Thu, 24 May 2018 21:35:38 +0000
User-agent: Microsoft-MacOutlook/10.d.0.180513

Simon,
I'm not sure how you normally apply changes, but I found your change here:
http://git.savannah.nongnu.org/cgit/lwip.git

After applying it, I didn't get very far.  What had been warnings in one source 
file is now a hard error in another.  It may occur in other files also, but the 
build dies here.

Ray

sockets.c 
iccarm.exe C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c -D 
USE_HAL_DRIVER -D STM32L4S5xx -D USING_IAR -D __arm__ -D ENV_RTOS -D 
WOLFSSL_USER_SETTINGS -o 
C:\Users\ray\dev\notebox\cube\notebox\EWARM\notebox\Obj --debug --endian=little 
--cpu=Cortex-M4 -e --fpu=VFPv4_sp --dlib_config C:\Program Files (x86)\IAR 
Systems\Embedded Workbench 8.0\arm\INC\c\DLib_Config_Full.h -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Inc\ -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Drivers/STM32L4xx_HAL_Driver/Inc\
 -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Drivers/STM32L4xx_HAL_Driver/Inc/Legacy\
 -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Middlewares/Third_Party/FreeRTOS/Source/portable/IAR/ARM_CM4F\
 -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Middlewares/ST/STM32_USB_Device_Library/Core/Inc\
 -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Middlewares/ST/STM32_USB_Device_Library/Class/CDC/Inc\
 -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Drivers/CMSIS/Device/ST/STM32L4xx/Include\
 -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Middlewares/Third_Party/FreeRTOS/Source/include\
 -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Middlewares/Third_Party/FreeRTOS/Source/CMSIS_RTOS\
 -I C:\Users\ray\dev\notebox\cube\notebox\EWARM/../Drivers/CMSIS/Include\ -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../../../nbc\ -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../../../nbc/rtos/lwip/port\ -I 
C:\Users\ray\dev\notebox\cube\notebox\EWARM/../../../nbc/rtos/lwip/src/include\ 
-I C:\Users\ray\dev\notebox\cube\notebox\EWARM/../../../nbc/rtos/wolf\ -Ohz -I 
C:\Program Files (x86)\IAR Systems\Embedded Workbench 
8.0\arm\CMSIS\Core\Include\ -I C:\Program Files (x86)\IAR Systems\Embedded 
Workbench 8.0\arm\CMSIS\DSP\Include\

   IAR ANSI C/C++ Compiler V8.22.1.15669/W32 for ARM
   Copyright 1999-2018 IAR Systems AB.
   Standalone license - IAR Embedded Workbench for Arm, Cortex-M edition 8.22
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(546) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(546) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(546) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(546) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(583) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(583) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(583) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(583) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(675) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(675) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(675) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(675) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(1764) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(1764) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(1764) : Error[Pe154]: 
expression must have struct or union type
C:\Users\ray\dev\notebox\nbc\rtos\lwip\src\api\sockets.c(1764) : Error[Pe154]: 
expression must have struct or union type

´╗┐On 5/24/18, 5:14 PM, "Simon Goldschmidt" <address@hidden> wrote:

    Update of bug #53952 (project lwip):
    
                      Status:                    None => Fixed                  
                 Assigned to:                    None => goldsimon              
                 Open/Closed:                    Open => Closed                 
    
        _______________________________________________________
    
    Follow-up Comment #2:
    
    Should be fixed, could you test it? Me too lazy to set up IAR again... :-)
    
        _______________________________________________________
    
    Reply to this item at:
    
      <http://savannah.nongnu.org/bugs/?53952>
    
    _______________________________________________
      Message sent via Savannah
      https://savannah.nongnu.org/
    
    


reply via email to

[Prev in Thread] Current Thread [Next in Thread]