Re: [PATCH] remove max/min macros from libbtrfs API

2016-03-04 Thread David Sterba
On Fri, Mar 04, 2016 at 02:46:10PM +0100, Ondrej Kozina wrote: > Hello btrfs-progs, > > can we move the min/max macros away from libbtrfs public API? This may cause > conflict > while compiling i.e. snapper with gcc 6.0 (aka with -std=gnu++14). The thing > is I don't see a point why those macros

[PATCH] remove max/min macros from libbtrfs API

2016-03-04 Thread Ondrej Kozina
Hello btrfs-progs, can we move the min/max macros away from libbtrfs public API? This may cause conflict while compiling i.e. snapper with gcc 6.0 (aka with -std=gnu++14). The thing is I don't see a point why those macros should be kept in kerncompat.h at all. Such macros are used solely in btrf