I'm using lwip 1.2.0 with FreeRTOS
My compiler is using IAR

When I building my project , there will occur many warning messages :

Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\api\api_lib.c 357 
Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\api\api_lib.c 363 
Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\api\api_lib.c 367 

Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\snmp\mib2.c 2929 
Warning[Pe223]: function "etharp_find_addr" declared implicitly 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\snmp\mib2.c 2932 
Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\snmp\mib2.c 3267 
Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\snmp\mib2.c 3605 
Warning[Pe223]: function "etharp_find_addr" declared implicitly 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\snmp\mib2.c 3608 
Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\snmp\mib2.c 4065 


Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\core\tcp.c 140 
Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\core\tcp.c 318 
Warning[Pa039]: use of address of unaligned structure member 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\core\tcp.c 318 
tcp_in.c 
Warning[Pe236]: controlling expression is constant 
D:\Project\1116\Demo\ARM9_STR91X_IAR\lwip\core\tcp_in.c 299 


Linking 
Warning[w35]: There is more than one definition for the struct/union type with 
tag 'raw_pcb'; class/struct/union types have different sizes 
Warning[w35]: There is more than one definition for the struct/union type with 
tag 'netconn'; class/struct/union field/base types do not match for field/base  
'pcb'; class/struct/union field/base types do not match for field/base 'raw'; 
class/struct/union types have different sizes 
Warning[w35]: There is more than one definition for the struct/union type with 
tag 'api_msg_msg'; class/struct/union field/base types do not match for  
field/base 'conn'; class/struct/union field/base types do not match for 
field/base 'pcb'; class/struct/union field/base types do not match for 
field/base 'raw';  
class/struct/union types have different sizes 
Warning[w35]: There is more than one definition for the struct/union type with 
tag 'api_msg'; class/struct/union field/base types do not match for field/base  
'msg'; class/struct/union field/base types do not match for field/base 'conn'; 
class/struct/union field/base types do not match for field/base 'pcb';  
class/struct/union field/base types do not match for field/base 'raw'; 
class/struct/union types have different sizes 
Warning[w35]: There is more than one definition for the struct/union type with 
tag 'mib_list_rootnode'; class/struct/union types have different sizes 


I don't know if these warning will cause my system unstable or not , 
how can I fix them ?

Paul


*************************************************************************************************************************
This email message, including any attachments, is for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
Any unauthorized review, use, disclosure or distribution is prohibited. If you 
are not the intended recipient, please contact the sender by reply e-mail and 
destroy all copies of the original message. [Delta Electronic, INC. Taiwan]
*************************************************************************************************************************
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to