Repository navigation
Drop Linux legacy ABI (_GLIBCXX_USE_CXX11_ABI=0) and standardize on C++17 #1999
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -32,7 +32,7 @@ class MergeLibrariesTest(absltest.TestCase): | |||||
| def setUp(self): | ||||||
| if not os.path.exists(_TEST_FILE): | ||||||
| logging.info("Compiling merge_libraries_test_file.cc") | ||||||
| subprocess.run(['g++', '-O2', '-std=c++11', '-c', 'scripts/merge_libraries_test_file.cc', '-o', 'test_file.o']) | ||||||
| subprocess.run(['g++', '-O2', '-std=c++17', '-c', 'scripts/merge_libraries_test_file.cc', '-o', 'test_file.o']) | ||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. When compiling the test file with
Suggested change
|
||||||
| subprocess.run([FLAGS.binutils_ar_cmd, 'rcs', _TEST_FILE, 'test_file.o']) | ||||||
| warnings.filterwarnings("ignore", category=ResourceWarning) | ||||||
|
|
||||||
|
|
||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To improve readability and prevent errors when passing a large number of arguments, consider using keyword arguments when calling
cmake_configure.