[Bro-Dev] #335: Small warning about "main"

Gregor Maier gregor at icir.org
Mon Dec 6 14:41:42 PST 2010


On 12/6/10 12:55 , Bro Tracker wrote:
> #335: Small warning about "main"
> ---------------------+--------------------
>  Reporter:  seth     |      Owner:
>      Type:  Problem  |     Status:  new
>  Priority:  Normal   |  Milestone:  Bro1.6
> Component:  Bro      |    Version:
>  Keywords:           |
> ---------------------+--------------------
>  Small warning during compile about the main function::
> 
>  {{{
>  main.cc: In function ‘int main(int, char**)’:
>  main.cc:415: warning: deprecated conversion from string constant to
>  ‘char*’
>  }}}

There are a ton of compiler warnings with current gcc. So it might make
sense to make a generic: "track down and remove all compiler warnings"
ticket.....

cu
gregor
-- 
Gregor Maier                                             gregor at icir.org
Int. Computer Science Institute (ICSI)          gregor at icsi.berkeley.edu
1947 Center St., Ste. 600                    http://www.icir.org/gregor/
Berkeley, CA 94704
USA



More information about the bro-dev mailing list