Skip to content

Commit f4ba291

Browse files
maleadtstaticfloat
authored andcommitted
Fix suggestion to use expand_cxxstring_abis (#620)
Ref 491e6cc
1 parent 76badfe commit f4ba291

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/auditor/compiler_abi.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ function check_libstdcxx_version(oh::ObjectHandle, platform::Platform; verbose::
100100
# msg = strip(replace("""
101101
# $(path(oh)) links to libstdc++! This causes incompatibilities across
102102
# major versions of GCC. To remedy this, you must build a tarball for
103-
# each major version of GCC. To do this, immediately after your `products`
103+
# each major version of GCC. To do this, immediately after your `platforms`
104104
# definition in your `build_tarballs.jl` file, add the line:
105105
# """, '\n' => ' '))
106-
# msg *= "\n\n products = expand_cxx_versions(products)"
106+
# msg *= "\n\n platforms = expand_cxxstring_abis(platforms)"
107107
# warn(io, msg)
108108
# return false
109109
# end
@@ -182,10 +182,10 @@ function check_cxxstring_abi(oh::ObjectHandle, platform::Platform; io::IO = stdo
182182
msg = strip(replace("""
183183
$(path(oh)) contains std::string values! This causes incompatibilities across
184184
the GCC 4/5 version boundary. To remedy this, you must build a tarball for
185-
both GCC 4 and GCC 5. To do this, immediately after your `products`
185+
both GCC 4 and GCC 5. To do this, immediately after your `platforms`
186186
definition in your `build_tarballs.jl` file, add the line:
187187
""", '\n' => ' '))
188-
msg *= "\n\n products = expand_cxx_versions(products)"
188+
msg *= "\n\n platforms = expand_cxxstring_abis(platforms)"
189189
@warn(msg)
190190
return false
191191
end

0 commit comments

Comments
 (0)