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

Remove some deprecated features #1806

Merged
merged 4 commits into from
May 4, 2022
Merged

Remove some deprecated features #1806

merged 4 commits into from
May 4, 2022

Conversation

alkino
Copy link
Member

@alkino alkino commented May 4, 2022

No description provided.

@alkino alkino closed this May 4, 2022
@alkino alkino reopened this May 4, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #1806 (9bfabb7) into master (4dbec4b) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1806      +/-   ##
==========================================
- Coverage   45.45%   45.45%   -0.01%     
==========================================
  Files         550      550              
  Lines      113139   113138       -1     
==========================================
- Hits        51423    51422       -1     
  Misses      61716    61716              
Impacted Files Coverage Δ
src/nrnpython/rxd.cpp 93.05% <100.00%> (-0.01%) ⬇️

📣 Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

@@ -353,7 +353,7 @@ if(NRN_ENABLE_INTERVIEWS)
get_target_property(IV_INCLUDE_DIR interviews INTERFACE_INCLUDE_DIRECTORIES)
else()
nrn_add_external_project(iv)
include_directories(external/iv/src/include)
include_directories(SYSTEM external/iv/src/include)
Copy link
Member

Choose a reason for hiding this comment

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

Just curious. What is the rationale. I see from cmake doc that

If the SYSTEM option is given, the compiler will be told the directories are meant as system include directories on some platforms. Signalling this setting might achieve effects such as the compiler skipping warnings, or these fixed-install system files not being considered in dependency calculations - see compiler docs.

Is this mostly for skipping warnings? Co-development of IV and nrn is rare, so not being considered in dependency calculations isn't a strong negative. The "some platforms" caveat makes it all foggy to me.

Copy link
Member Author

Choose a reason for hiding this comment

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

I got a lot of warning from IV but I think we don't want to fix them ,right? as it is an external dependency, so we don't see the internal warning of IV. If you misuse the public API of IV inside nrn it will produce warning.

Copy link
Member

Choose a reason for hiding this comment

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

Ok. That sounds right. I might someday work on that to make it -Wall clean, but it's low priority.

@nrnhines
Copy link
Member

nrnhines commented May 4, 2022

If you're finished with this. I'll merge.

@alkino
Copy link
Member Author

alkino commented May 4, 2022

It's alright

@nrnhines nrnhines merged commit 2f90f37 into master May 4, 2022
@nrnhines nrnhines deleted the remove_deprecated branch May 4, 2022 17:25
@alexsavulescu alexsavulescu mentioned this pull request Jun 29, 2022
19 tasks
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