[Bro-Dev] fixing compiler warnings

Seth Hall seth at icir.org
Thu Jan 20 12:12:25 PST 2011


There are a couple of issues left that I'm not sure what to do with them....

[ 36%] Building CXX object src/CMakeFiles/bro.dir/main.cc.o
/Users/seth/bro/bro.git/src/main.cc: In function ‘int main(int, char**)’:
/Users/seth/bro/bro.git/src/main.cc:415: warning: deprecated conversion from string constant to ‘char*’

[ 70%] Building CXX object src/CMakeFiles/bro.dir/Sessions.cc.o
/Users/seth/bro/bro.git/src/Sessions.cc: In member function ‘void NetSessions::Internal(const char*, const pcap_pkthdr*, const u_char*)’:
/Users/seth/bro/bro.git/src/Sessions.cc:1357: warning: format not a string literal and no format arguments

If anyone would like to offer suggestions, I'm listening. :)

  .Seth


More information about the bro-dev mailing list