Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: ISO C++17 does not allow 'register' storage class specifier [-Wregister] 257 | register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h; #632

Open
Martinfx opened this issue Jan 2, 2025 · 0 comments

Comments

@Martinfx
Copy link

Martinfx commented Jan 2, 2025

Hi,
i compiled render on FreeBSD 14.2 amd64 and i have problem with registers.

/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:257:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  257 |         register float cn1, cn2, cn3, cn4, cn5, cn6, i, *h;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:920:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  920 |         register int i, j;
      |         ^~~~~~~~
/wrkdirs/usr/ports/devel/luxcorerenderer/work/LuxCore-luxcorerender-v2.9alpha1/src/slg/textures/blender_noiselib.cpp:920:2: error: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  920 |         register int i, j;
      |         ^~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant