This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Remove use of designated initializers #26
Comments
Dang, I knew that it was C99 only, but I thought I could sneak this through ;) |
It looks like this will compile with g++ 4.8:
Not sure if that breaks anything.... |
Should be fine, just less explicit. |
Closed
Closed
Closed
Merged
This was referenced Jan 24, 2019
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Designated initializers are a c99 feature not officially unsupported in C++/C++11. They are used in the hershey font hack and this code will not compile with g++ on linux. Clang happens to support them but we should not depend on this. You can see that support is a clang c99 extension if you build with
-pedantic
:The text was updated successfully, but these errors were encountered: