|
From: | Erik Ekman |
Subject: | [lwip-devel] [task #13732] Correctly split SNMP agent, MIB2 change triggers and MIB2 implementation |
Date: | Sun, 04 Oct 2015 17:34:29 +0000 |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36 |
Follow-up Comment #5, task #13732 (project lwip): The 'minimal' unix app does not build: gcc -g -Wall -DLWIP_UNIX_LINUX -DLWIP_DEBUG -pedantic -Werror -Wparentheses -Wsequence-point -Wswitch-default -Wextra -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wc++-compat -Wwrite-strings -Wold-style-definition -Wcast-align -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Wno-address -Wunreachable-code -Wuninitialized -Wlogical-op -I. -I../../../../apps/httpserver_raw -I../../../../apps/shell -I../../../../apps/tcpecho -I../../../../apps/udpecho -I../../../../apps/snmp_private_mib -I../../../../apps/tcpecho_raw -I../../../../../lwip/src/include -I../../../../ports/unix/include -I../../../../../lwip/src -c ../../../../apps/snmp_private_mib/lwip_prvmib.c ../../../../apps/snmp_private_mib/lwip_prvmib.c:115:7: error: missing braces around initializer [-Werror=missing-braces] ../../../../apps/snmp_private_mib/lwip_prvmib.c:115:7: error: (near initialization for ‘sensor_addr_inf.sensor_list_rn.scalar.node’) [-Werror=missing-braces] ../../../../apps/snmp_private_mib/lwip_prvmib.c:115:7: error: initialization makes integer from pointer without a cast [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:115:7: error: (near initialization for ‘sensor_addr_inf.sensor_list_rn.scalar.node.node_type’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:119:7: error: initialization makes pointer from integer without a cast [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:119:7: error: (near initialization for ‘sensor_addr_inf.sensor_list_rn.scalar.set_value’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:121:5: error: excess elements in struct initializer [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:121:5: error: (near initialization for ‘sensor_addr_inf.sensor_list_rn.scalar’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:150:5: error: initialization makes integer from pointer without a cast [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:150:5: error: (near initialization for ‘sensorentry.node.node_type’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:150:5: error: initializer element is not computable at load time ../../../../apps/snmp_private_mib/lwip_prvmib.c:150:5: error: (near initialization for ‘sensorentry.node.node_type’) ../../../../apps/snmp_private_mib/lwip_prvmib.c:151:5: error: excess elements in struct initializer [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:151:5: error: (near initialization for ‘sensorentry.node’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:152:5: error: excess elements in struct initializer [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:152:5: error: (near initialization for ‘sensorentry.node’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:153:5: error: excess elements in struct initializer [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:153:5: error: (near initialization for ‘sensorentry.node’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:154:5: error: excess elements in struct initializer [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:154:5: error: (near initialization for ‘sensorentry.node’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:156:3: error: excess elements in struct initializer [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:156:3: error: (near initialization for ‘sensorentry.node’) [-Werror] ../../../../apps/snmp_private_mib/lwip_prvmib.c:156:3: error: missing initializer [-Werror=missing-field-initializers] and lots more errors _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/task/?13732> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |