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

Reply via email to