[haiku-bugs] Re: [Haiku] #16236: Build error on MacOS Catalina (gcc/clang detection)

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Wed, 10 Jun 2020 14:36:32 -0000

#16236: Build error on MacOS Catalina (gcc/clang detection)
---------------------------+-------------------------
  Reporter:  eml           |      Owner:  bonefish
      Type:  bug           |     Status:  new
  Priority:  normal        |  Milestone:  Unscheduled
 Component:  Build System  |    Version:
Resolution:                |   Keywords:
Blocked By:                |   Blocking:
  Platform:  All           |
---------------------------+-------------------------
Comment (by waddlesplash):

 {{{
 HOST_CC                     ?= gcc ;
 HOST_GCC_RAW_VERSION        ?= 11.0.3 ;
 }}}

 I am willing to bet that Jam somewhere is doing a string comparison of the
 HOST_GCC_RAW_VERSION instead of an integer conversion, and then this "11"
 is actually treated as "< 2".
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16236#comment:3>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: