Skip to content
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

Ajanicijamd/build errors fix #1

Merged

Conversation

ajanicijamd
Copy link
Contributor

No description provided.

@ajanicijamd
Copy link
Contributor Author

Added #include in source/timemory/utility/filepath.cpp is due to a compile-time error in GCC 14 on SLES 15:

In file included from /home/master/tmp/aleks/build-rs/external/timemory/source/timemory/CMakeFiles/timemory-core-static.dir/Unity/unity_1_cxx.cxx:4:
/home/master/tmp/aleks/rocprofiler-systems/external/timemory/source/timemory/utility/filepath.cpp: In function ‘std::string tim::filepath::canonicalize(std::string)’:
/home/master/tmp/aleks/rocprofiler-systems/external/timemory/source/timemory/utility/filepath.cpp:265:10: error: ‘reverse’ is not a member of ‘std’
  265 |     std::reverse(_pieces.begin(), _pieces.end());
      |          ^~~~~~~
/home/master/tmp/aleks/rocprofiler-systems/external/timemory/source/timemory/utility/filepath.cpp:279:10: error: ‘reverse’ is not a member of ‘std’
  279 |     std::reverse(_tree.begin(), _tree.end());
      |          ^~~~~~~

@ajanicijamd ajanicijamd closed this Nov 7, 2024
@ajanicijamd ajanicijamd reopened this Nov 7, 2024
@ajanicijamd ajanicijamd merged commit ba3c648 into ROCm:omnitrace Nov 7, 2024
5 of 20 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant