[Nagiosplug-devel] Fwd: fixed check_snmp.c:341: parse error before `char'

Tony den Haan tony at tuxick.net
Tue Oct 10 14:31:34 CEST 2006


hi,

i've been wondering why compiling nagios-plugins kept throwing
"check_snmp.c:341: parse error before `char'".

it took me a few minutes to realise this is not c++, simply moving the
declaration up to join the rest at beginning of the function  fixed this
rather confusing parse error.


tony





More information about the Devel mailing list