View Issue Details

IDProjectCategoryView StatusLast Update
0006000Spring engineLinuxpublic2018-06-08 16:40
Reporterconstatinus Assigned Toabma  
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionno change required 
Product Version104.0 +git 
Summary0006000: compilation error (const GLubyte*) "glXQueryCurrentRendererIntegerMESA
Description/home/user/git/spring/rts/Rendering/GL/myGL.cpp: In function ‘bool GetVideoMemInfoMESA(GLint*)’:
/home/user/git/spring/rts/Rendering/GL/myGL.cpp:149:49: error: a reinterpret_cast is not a constant expression
  static constexpr const GLubyte* qcriProcName = (const GLubyte*) "glXQueryCurrentRendererIntegerMESA";
                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Steps To ReproduceCompile
Additional Informationgcc 8.1.1 fedora amd64
the newser gcc is probably the problem
Tags104.0+git
Checked infolog.txt for Errors

Activities

abma

2018-06-07 23:20

administrator   ~0019196

the code doesn't exist in current development version:

https://github.com/spring/spring/blob/develop/rts/Rendering/GL/myGL.cpp#L150

can you please try if the current version compiles for you?

which branch are you compiling?

constatinus

2018-06-08 16:31

reporter   ~0019198

I was probably on master. Development works fine.

Issue History

Date Modified Username Field Change
2018-06-07 20:57 constatinus New Issue
2018-06-07 20:57 constatinus Tag Attached: 104.0+git
2018-06-07 23:20 abma Status new => feedback
2018-06-07 23:20 abma Note Added: 0019196
2018-06-08 16:31 constatinus Note Added: 0019198
2018-06-08 16:31 constatinus Status feedback => new
2018-06-08 16:40 abma Assigned To => abma
2018-06-08 16:40 abma Status new => closed
2018-06-08 16:40 abma Resolution open => no change required