[haiku-commits] Re: haiku: hrev46669 - in src: add-ons/kernel/partitioning_systems/intel add-ons/kernel/file_systems/udf add-ons/kernel/network/datalink_protocols/ipv6_datagram system/runtime_loader/arch/arm system/runtime_loader

  • From: Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 13 Jan 2014 21:51:37 +0100

Am 13/01/2014 19:48, schrieb korli@xxxxxxxxxxxxxxxx:
+#include <cstddef>

Since our headers are generally C++ compliant, we do not use those headers, we'd use stddef.h in this case.

udf: Move constant to header.

This way, it is a compile time constant and Clang does no longer
complain about dynamic arrays of non-POD types.

Could anyone explain to me the difference? There should not be one.
Whether something is in a header or a source file is completely irrelevant in C and C++ -- it's the same thing.

Bye,
   Axel.


Other related posts: