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

ImfFrameBuffer.h not compatible with C++98 code #579

Closed
clopez opened this issue Oct 8, 2019 · 1 comment
Closed

ImfFrameBuffer.h not compatible with C++98 code #579

clopez opened this issue Oct 8, 2019 · 1 comment
Milestone

Comments

@clopez
Copy link

clopez commented Oct 8, 2019

Since commit 119eb2d ImfFrameBuffer.h includes cstdint

And cstdint is a C++11 header, so now including ImfFrameBuffer.h on any C++98 code will fail to build.

A possible fix is including stdint.h instead of cstdint on ImfFrameBuffer.h

See for example https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/issues/1089 for a build failure this has caused

@cary-ilm
Copy link
Member

The Technical Steering Committee has made the decision to adopt C++11 going forward and drop support for C++98 in the interest of clarity in the code and ease of maintenance. This means that 2.4.0+ releases won't compile on older systems, at least not without local changes.

@cary-ilm cary-ilm added this to the v2.5.0 milestone Apr 27, 2020
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

No branches or pull requests

2 participants