[Bro] gcc 3.4.2 and Bro compilation error

Igor Shabaltas shaber at oit.ucsb.edu
Sat Oct 9 01:36:44 PDT 2004


bro-pub-0.9a4a$ make
g++ -I. -I.. -Ilibedit  -O  -c main.cc
In file included from PacketFilter.h:9,
                 from Sessions.h:29,
                 from RuleMatcher.h:12,
                 from main.cc:54:
PrefixTable.h:48: error: struct PrefixTable::iterator redeclared with different
main.cc: In function `int main(int, char**)':
main.cc:319: error: array bound forbidden after parenthesized type-id
main.cc:319: note: try removing the parentheses around the type-id
*** Error code 1

bro-pub-0.9a4a$ gcc --version
gcc (GCC) 3.4.2 [FreeBSD] 20040728

bro-pub-0.9a4a$ uname -v
FreeBSD 5.3-BETA7 #0: Sat Oct  2 21:01:00 UTC 2004

Igor Shabaltas

More information about the Bro mailing list