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

  • From: Adrien Destugues <pulkomandy@xxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 25 Jun 2015 06:41:30 +0200

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

--
Adrien.

Other related posts: