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

Fix gcc 4.8 5 compilation errors for IOSS used in VTK #353

Closed

Conversation

spyridon97
Copy link
Contributor

The purpose of this PR is to fix compilations issues using gcc 4.8.5 for the IOSS package which is utilized in VTK

@mathstuf

@github-actions
Copy link
Contributor

github-actions bot commented Dec 2, 2022

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

Copy link
Member

@gsjaardema gsjaardema left a comment

Choose a reason for hiding this comment

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

Sorry, I'm not going to revert back to pre C99...

Copy link
Member

@gsjaardema gsjaardema left a comment

Choose a reason for hiding this comment

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

Those look good. Thanks.

@spyridon97
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@spyridon97
Copy link
Contributor Author

recheck

1 similar comment
@spyridon97
Copy link
Contributor Author

recheck

@spyridon97
Copy link
Contributor Author

@gsjaardema CI has passed. CI does not understand that i have read and agreed to the CLA document.

@spyridon97
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@spyridon97
Copy link
Contributor Author

recheck

@gsjaardema
Copy link
Member

@spyridon97 Not sure why. I reran it manually and it worked...

@gsjaardema
Copy link
Member

I could move Ioss_Getline.c to be a C++ file which would possibly solve the issue you are seing without reverting to pre-C99 if that works for you?

@spyridon97
Copy link
Contributor Author

spyridon97 commented Dec 2, 2022

I could move Ioss_Getline.c to be a C++ file which would possibly solve the issue you are seing without reverting to pre-C99 if that works for you?

That should work for me.

Just remove it from

set(c_sources
  Ioss_Getline)

And you can remove the second commit.

@gsjaardema
Copy link
Member

I think the c_sources is on your side. I don't see it in my code.

@gsjaardema
Copy link
Member

I don't think I can remove that commit from the PR. I have moved Ioss_Getline.c to a C++ file. I can also just make the ParallelUtils changes outside this PR which might be the easiest way to do this...

@spyridon97
Copy link
Contributor Author

I can also just make the ParallelUtils changes outside this PR which might be the easiest way to do this...

That sounds good!

@gsjaardema
Copy link
Member

Commit 926571d has been comitted outside this PR. The other commit in the PR is not needed due to changing Ioss_Getline.c to be a C++ file.

@gsjaardema gsjaardema closed this Dec 2, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Dec 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants