Thank you, Alfredo!

On Sat, Jan 10, 2015 at 12:55 PM, Alfredo Cardigliano
<[email protected]> wrote:
> 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 <[email protected]> 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
>> [email protected]
>> http://listgateway.unipi.it/mailman/listinfo/ntop-misc
>
> _______________________________________________
> Ntop-misc mailing list
> [email protected]
> http://listgateway.unipi.it/mailman/listinfo/ntop-misc



-- 
Sincerely yours, Pavel Odintsov
_______________________________________________
Ntop-misc mailing list
[email protected]
http://listgateway.unipi.it/mailman/listinfo/ntop-misc

Reply via email to