flyx / OpenGLAda

Thick Ada binding for OpenGL and GLFW
flyx.github.io/OpenGLAda/
MIT License
95 stars 13 forks source link

Program requires gnat2012 #106

Closed rogermc2 closed 6 years ago

rogermc2 commented 6 years ago

My example durian/buffers_and_textures no longer compiles under GNAT 2017, failing with:

Compile
   [Ada]          my_buffers.adb
my_buffers.adb:98:19: iterator is an Ada 2012 feature
my_buffers.adb:98:19: unit must be compiled with -gnat2012 switch

However, I cannot set this switch.