2019-09-22 20:40 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0006000Spring engineLinuxpublic2018-06-08 16:40
Reporterconstatinus 
Assigned Toabma 
PrioritynormalSeverityblockReproducibilityalways
StatusclosedResolutionno change required 
Product Version104.0 +git 
Target VersionFixed in Version 
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 lua Errors
Attached Files

-Relationships
+Relationships

-Notes

~0019196

abma (administrator)

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?

~0019198

constatinus (reporter)

I was probably on master. Development works fine.
+Notes

-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
+Issue History