Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

GCC 5.4 chokes on "static enum" in etcpack.cxx #254

Closed
floooh opened this issue Feb 15, 2017 · 1 comment
Closed

GCC 5.4 chokes on "static enum" in etcpack.cxx #254

floooh opened this issue Feb 15, 2017 · 1 comment

Comments

@floooh
Copy link

floooh commented Feb 15, 2017

I'm trying to compile on Linux with GCC 5.4, and get compile errors in extern/etcpack/etcpack.cxx:

/home/ubuntu/nvidia-texture-tools/extern/etcpack/etcpack.cxx:163:17: error: a storage class can only be specified for objects and functions
    PATTERN_T = 1};

The problem are the 'static enum' in there, removing the static makes it work.

@castano
Copy link
Owner

castano commented Feb 15, 2017

Thanks for pointing that out. I've disabled etcpack. I've only been using it for reference and don't plan to actually rely on it.

@castano castano closed this as completed Feb 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants