[haiku-commits] Re: r40355 - haiku/trunk/src/tests/kits/net/preflet/InterfacesAddOn

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 04 Feb 2011 20:52:11 +0100

kallisti5@xxxxxxxxxxx wrote:
> +/* GCC 3.4 and onward have a built-in "population count"
> + * feature that takes advantage of a cpu instruction
> + */
> +// TODO : remove when access to BNetworkAddress is complete
> +#if __GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)

You can just simplify this one to __GNUC__ > 4, as we don't support any 
other compiler, anyway.
Oh, and if you find the time, please apply that optimization to 
BNetworkAddress as well.

Bye,
   Axel.


Other related posts: