Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733526 - media-libs/openexr-2.5.2 breaks simple version checks
Summary: media-libs/openexr-2.5.2 breaks simple version checks
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-22 15:28 UTC by Helmut Jarausch
Modified: 2020-07-23 14:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2020-07-22 15:28:16 UTC
The tiny test
#include <OpenEXR/OpenEXRConfig.h>

#include <iostream>

int main() {
#if OPENEXR_VERSION_HEX >= 0x02020000
  std::cout << OPENEXR_VERSION_HEX << "\n";
#endif
}


fails with
In file included from T.C:1:
T.C:6:5: error: missing binary operator before token "("
    6 | #if OPENEXR_VERSION_HEX >= 0x02020000
Comment 1 Andreas Sturmlechner gentoo-dev 2020-07-22 21:59:58 UTC
What package is affected?