Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 733526

Summary: media-libs/openexr-2.5.2 breaks simple version checks
Product: Gentoo Linux Reporter: Helmut Jarausch <jarausch>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED NEEDINFO    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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?