We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e192f61 commit 8564a9fCopy full SHA for 8564a9f
configure
@@ -495,7 +495,10 @@ def configure_node(o):
495
o['variables']['clang'] = 1 if is_clang else 0
496
497
if not is_clang and cc_version != 0:
498
- o['variables']['gcc_version'] = 10 * cc_version[0] + cc_version[1]
+ try:
499
+ o['variables']['gcc_version'] = 10 * cc_version[0] + cc_version[1]
500
+ except IndexError:
501
+ o['variables']['gcc_version'] = 10 * cc_version[0]
502
503
# clang has always supported -fvisibility=hidden, right?
504
if not is_clang and cc_version < (4,0,0):
0 commit comments