Giter Club home page Giter Club logo

Comments (4)

syoyo avatar syoyo commented on September 15, 2024 1

Oh I already did a fix in recent release

typedef struct TEXRVersion {

You should use recent tinyexr.h from the repo. vcpkg is maintained someone and I don't know.

from tinyexr.

syoyo avatar syoyo commented on September 15, 2024

Yeah! PR of suppressing clang warnings is nice, but it'd be better to rewrite typedef struct ... syntax. This is to support old pre-C++11 compiler(C++98, C++03), but C++11 is now widely supported in most of C++ compilers so its we are better to deprecate compiling TinyEXR with pre-C++11 compiler(PR of this typedef struct rewrite is also much appreciated)

from tinyexr.

k-ye avatar k-ye commented on September 15, 2024

it'd be better to rewrite typedef struct ... syntax

Thanks! I'm assuming that typedef struct ... itself is all right. What the error is really about is that "identifier '_EXRVersion' is reserved because it starts with '_' followed by a capital letter [-Werror,-Wreserved-identifier]". So maybe renaming _EXRVersion to EXRVersion could solve the problem :-) ?

from tinyexr.

k-ye avatar k-ye commented on September 15, 2024

Great, thank you for the help!

from tinyexr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.