HedongGao opened a new pull request, #3326:
URL: https://github.com/apache/nuttx-apps/pull/3326

   
   ## Summary
   
   Using certain compilers for compilation, there is an alarm message: 
   `
   ctc E295: 
["/home/gaohd/Public/code/dev-system/apps/include/netutils/netlib.h" 1118/45] 
reference to incomplete enum type
   ctc E295: 
["/home/gaohd/Public/code/dev-system/apps/include/netutils/netlib.h" 1133/46] 
reference to incomplete enum type
   ctc E295: 
["/home/gaohd/Public/code/dev-system/apps/include/netutils/netlib.h" 1151/23] 
reference to incomplete enum type
   ctc E295: 
["/home/gaohd/Public/code/dev-system/apps/include/netutils/netlib.h" 1169/23] 
reference to incomplete enum type
   ctc E295: 
["/home/gaohd/Public/code/dev-system/apps/include/netutils/netlib.h" 1187/23] 
reference to incomplete enum type
   `
   To address these alarm messages, reference files have been added to the 
header file.
   
   ## Impact
   Include  header files in netlib.h
   
   `
   #ifdef CONFIG_NET_IPTABLES
   #  include <nuttx/net/netfilter/ip_tables.h>
   #  include <nuttx/net/netfilter/ip6_tables.h>
   #endif
   `
   
   ## Testing
   Compile alarm information cleared, compilation passed, Ethernet 
communication is normal
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to