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

ZMQ_DEPRECATED doesn't fallback for unrecognized compiler #515

Merged
merged 1 commit into from
Sep 16, 2021

Conversation

ashish-17
Copy link
Contributor

@ashish-17 ashish-17 commented Sep 16, 2021

If you use a compiler outside of MSC_VER and GNUC, then the if-else check doesn't provide a fallback for ZMQ_DEPRECATED macro which leads to a build failure.
Specifically in my case , I am using Oracle's SunPro 5.13.0.

My suggestions is to fallback to noop in case you don't recognize a compiler. Addressed #516

If you use a compiler outside of _MSC_VER and _GNUC__, then the if-else check doesn't provide a fallback for ZMQ_DEPRECATED macro which leads to a build failure.
Specifically in my case , I am using Oracle's SunPro 5.13.0.

My suggestions is to fallback to noop in case you don't recognize a compiler.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 1242586826

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 86.037%

Totals Coverage Status
Change from base Build 1226642419: 0.0%
Covered Lines: 801
Relevant Lines: 931

💛 - Coveralls

@gummif
Copy link
Member

gummif commented Sep 16, 2021

Thanks for that.

@gummif gummif merged commit 286d8be into zeromq:master Sep 16, 2021
@ashish-17 ashish-17 deleted the patch-1 branch September 16, 2021 23:24
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.

None yet

3 participants