Merge pull request #4125 from fxcoudert/gcc8

Support GCC 8
This commit is contained in:
ilovezfs 2018-04-30 10:16:31 -07:00 committed by GitHub
commit bf5e4ca09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
# @private # @private
module CompilerConstants module CompilerConstants
GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7].freeze GNU_GCC_VERSIONS = %w[4.3 4.4 4.5 4.6 4.7 4.8 4.9 5 6 7 8].freeze
GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-7])$/ GNU_GCC_REGEXP = /^gcc-(4\.[3-9]|[5-8])$/
COMPILER_SYMBOL_MAP = { COMPILER_SYMBOL_MAP = {
"gcc-4.0" => :gcc_4_0, "gcc-4.0" => :gcc_4_0,
"gcc-4.2" => :gcc_4_2, "gcc-4.2" => :gcc_4_2,