zenorogue / hyperrogue

A SDL roguelike in a non-euclidean world
GNU General Public License v2.0
571 stars 72 forks source link

Build failure with 12.1l #337

Closed AMDmi3 closed 1 year ago

AMDmi3 commented 1 year ago
In file included from hyper.cpp:85:
./3d-models.cpp:393:6: warning: variable 'sc' set but not used [-Wunused-but-set-variable]
  ld sc = 1;
     ^
In file included from hyper.cpp:89:
./mapeditor.cpp:1631:35: error: use of undeclared identifier 'texture'
    if(!patterns::whichPattern || texture::config.tstate == texture::tsActive) {
                                  ^
./mapeditor.cpp:1631:61: error: use of undeclared identifier 'texture'
    if(!patterns::whichPattern || texture::config.tstate == texture::tsActive) {
                                                            ^
zenorogue commented 1 year ago

The undeclared identifier has been fixed by @jlmjlm. I have also fixed the unused variable. Thanks!

AMDmi3 commented 1 year ago

Thank you! Would be nice to have a fixed release soon.