'wiced_ip_address_t' redefine

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
diverger
Level 1
Level 1
First question asked Welcome!

Hi,

I'm using Wiced 6.6.

The structure type 'wiced_ip_address_t' is defined in 'wiced_tcip.h', but this file include 'wiced_network.h', in which,  'wiced_ip_address_t' is defined again. 😅 This will trigger the type redifination under C99.

So, if you include 'wiced_network.h', and forward delclare 'wiced_ip_address_t' in it, why 'typedef' it again in 'wiced_tcpip.h‘????

0 Likes
1 Solution
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

I have checked the file "wiced_network.h" which is located at --> \43xxx_Wi Fi\WICED\network\NoNS\WWD\wiced_network.h. I cannot see any structure named as 'wiced_ip_address_t'. Correct me, if I am wrong, but can you check again in "wiced_network.h" file for the same structure and let us know? 

Thanks

Aditi

View solution in original post

0 Likes
1 Reply
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

I have checked the file "wiced_network.h" which is located at --> \43xxx_Wi Fi\WICED\network\NoNS\WWD\wiced_network.h. I cannot see any structure named as 'wiced_ip_address_t'. Correct me, if I am wrong, but can you check again in "wiced_network.h" file for the same structure and let us know? 

Thanks

Aditi

0 Likes