[haiku-commits] Re: haiku: hrev49324 - headers/build/os

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 25 Jun 2015 18:47:46 +0200

On 25.06.2015 18:34, Alexander von Gluck IV wrote:

On , Adrien Destugues wrote:
On Thu, Jun 25, 2015 at 06:06:19AM +0200, kallisti5@xxxxxxxxxxx wrote:
#if __GNUC__ == 2
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_2_HAIKU
-#elif __GNUC__ == 3 || __GNUC__ == 4
+#elif __GNUC__ == 3 || __GNUC__ == 4 || __GNUC__ == 5
# define B_HAIKU_ABI B_HAIKU_ABI_GCC_4
#else
# error Unsupported gcc version!

There are ABI changes to the C++ runtime in GCC5. Do we want a new
constant here? Apparently there is some backward compatibility suport
this time:
https://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dual_abi.html

Yeah.. this raises some questions about usage of this header for the
buildhost
target (local machine running the build) vs the haiku target (haiku abi)

Which questions? The header is used only for the build host.

CU, Ingo


Other related posts: