All,
I'm following the Vivace tutorial. I made to the ALLEGRO_VERTEX section. I compiled and got this error
.\main.cpp:88:24: sorry, unimplemented: non-trivial designated initializers not supported
};
^
From what I've read this is a g++ issue. I wanted to confirm it wasn't an Allegro issue. I noticed that ALLEGRO_VERTEX struct is has a float u and float v that is not part of the initialization. Could this be the issue? Maybe it can be worked around by initializing them as part of the rest of the initialization process.
The code obviously works or more people would be having a problem with it. I'm guessing it's the operator here.
Any help would be appreciated.
** UPDATE ** I got it to work by removing the variables and leaving the values. I also had to add zeros for the float U and float v.
It might not have been the best option but it worked. I can continue on with tutorial. Chime in if there was a better way to handle. Thanks
Did you compile as --std=c99 ?