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

Fixed the CMake processing for C++ warnings and flags #888

Merged
merged 1 commit into from
Aug 16, 2021
Merged

Fixed the CMake processing for C++ warnings and flags #888

merged 1 commit into from
Aug 16, 2021

Conversation

byrnHDF
Copy link
Contributor

@byrnHDF byrnHDF commented Aug 10, 2021

No description provided.

NOT DEFINED CMAKE_CXX${CMAKE_CXX_STANDARD}_STANDARD_COMPILE_OPTION)
if (NOT CMAKE_CXX_COMPILER_VERSION VERSION_LESS 5.13)
if (NOT CMAKE_CXX_STANDARD OR CMAKE_CXX_STANDARD EQUAL 98)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++03")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did you test this? C++11 is required in develop.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This section was copied from a CMake file. That line is just setting the min to c++03 if CMAKE_CXX_STANDARD is not defined - we set that in line 14.

@lrknox lrknox merged commit 451b472 into HDFGroup:develop Aug 16, 2021
lrknox pushed a commit that referenced this pull request Aug 17, 2021
* Fixed the CMake processing for C++ warnings and flags (#888)

* remove deleted file
lrknox added a commit that referenced this pull request Aug 17, 2021
* Fixed the CMake processing for C++ warnings and flags (#888)

* remove deleted fil

Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
@byrnHDF byrnHDF deleted the develop-CXX branch September 7, 2021 13:01
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.

3 participants