Hi Pavel
the max() definition has been removed in SVN because it seems to be not needed 
anymore.

Alfredo

> On 09 Jan 2015, at 23:28, Pavel Odintsov <pavel.odint...@gmail.com> wrote:
> 
> Hello, folks!
> 
> I found very interesting bug with max definition. I'm using "using
> namespace std" in my toolkit and hit very interesting error message
> when include pf_ring.h.
> 
> It's related with conflict of names std::max and max from pf_ring.h:
> 
> #ifndef max
> #define max(a, b) (a > b ? a : b)
> #endif
> 
> Maybe you can rename your internal max for compatibility?
> 
> -- 
> Sincerely yours, Pavel Odintsov
> _______________________________________________
> Ntop-misc mailing list
> Ntop-misc@listgateway.unipi.it
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc

_______________________________________________
Ntop-misc mailing list
Ntop-misc@listgateway.unipi.it
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to