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

Allow compilation with nvc++ (and possibly PGI) #1958

Merged
merged 2 commits into from
May 30, 2021
Merged

Conversation

mlund
Copy link
Contributor

@mlund mlund commented May 30, 2021

Using CMake, Nvidia's nvc++ adds the -A compiler flag ("strict"), causing compilation error if newlines are missing from the end of source files. nvc++ (not to be confused with nvcc) is detected as the PGI C++ compiler and this patch may therefore also apply to that. Proposed changes involve newlines, only.

@gabime gabime merged commit 616866f into gabime:v1.x May 30, 2021
@gabime
Copy link
Owner

gabime commented May 30, 2021

Thanks @mlund

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.

2 participants