View Issue Details

IDProjectCategoryView StatusLast Update
0000191Software Renderer[All Projects] Bugpublic2017-02-06 10:30
ReporterMarisaKirisame 
Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSArch LinuxOS VersionN/A
Summary0000191: Linux build error
DescriptionBuilding latest comes up with this:

In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/polyrenderer/poly_renderer.h:34:0,
                 
from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_swrenderer.cpp:51:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_renderthread.h:64:33: error: declaration 
of ‘std::unique_ptr<swrenderer::Clip3DFloors> swrenderer::RenderThread::Clip3DFloors’ [-fpermissive]
   
std::unique_ptr<Clip3DFloors> Clip3DFloors;
                                 ^~~~~~~~~~~~
In file included from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/scene/r_opaque_pass.h:20:0,
                 
from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/things/r_visiblesprite.h:18,
                 from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/things/r_playersprite.h:16,
                 
from /home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/r_swrenderer.cpp:37:
/home/marisa/.cache/pacaur/qzdoom-git/src/qzdoom/src/swrenderer/scene/r_3dfloors.h:67:8: error: changes 
meaning of ‘Clip3DFloors’ from ‘class swrenderer::Clip3DFloors’ [-fpermissive]
  class Clip3DFloors
        ^~~~~~~~~~~~
TagsNo tags attached.

Relationships

Activities

dpJudas

dpJudas

2017-02-06 05:43

developer   ~0000407

I don't understand this error message. Could you paste the full build log? It currently compiles fine on both clang and msvc.
MarisaKirisame

MarisaKirisame

2017-02-06 05:52

reporter   ~0000408

I should have probably mentioned I build with gcc, then.
_mental_

_mental_

2017-02-06 08:42

developer   ~0000409

Most likely GCC complains because RenderThread::Clip3DFloors member variable has the same name as class Clip3DFloors.
dpJudas

dpJudas

2017-02-06 09:04

developer   ~0000410

Good catch. Renamed the variable. Should work now I hope. :)
MarisaKirisame

MarisaKirisame

2017-02-06 09:39

reporter   ~0000411

It's all fine now.

Issue History

Date Modified Username Field Change
2017-02-05 09:16 MarisaKirisame New Issue
2017-02-06 05:43 dpJudas Note Added: 0000407
2017-02-06 05:52 MarisaKirisame Note Added: 0000408
2017-02-06 08:42 _mental_ Note Added: 0000409
2017-02-06 09:04 dpJudas Note Added: 0000410
2017-02-06 09:39 MarisaKirisame Note Added: 0000411
2017-02-06 10:30 _mental_ Status new => resolved
2017-02-06 10:30 _mental_ Resolution open => fixed