bugGlobulation 2 - Bugs: bug #47070, scons fails with "error:...

 
 

bug #47070: scons fails with "error: 'struct Game::BuildProject' is private"

Submitter:  None
Submitted:  Fri 05 Feb 2016 01:22:27 PM UTC
   
 
Severity:  3 - Normal Status:  None
Assigned to:  None Open/Closed:  Open
Release:  mercurial Operating System:  GNU/Linux
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 05 Feb 2016 01:22:27 PM UTC, original submission:  

Running `scons` in a fresh clone of https://bitbucket.org/giszmo/glob2 fails with

    g++ -o src/AICastor.o -c -g -Wall -DHAVE_CONFIG_H -D_GNU_SOURCE=1 -D_REENTRANT -Ilibgag/include -I. -Ilibusl/src -I/usr/include/SDL src/AICastor.cpp
    In file included from src/AICastor.cpp:26:0:
    src/Game.h: In member function 'void AICastor::computeBuildingNeighbourMap(int, int)':
    src/Game.h:165:9: error: 'struct Game::BuildProject' is private
      struct BuildProject
             ^
    src/AICastor.cpp:2276:23: error: within this context
      for (std::list<Game::BuildProject>::iterator bpi=game->buildProjects.begin(); bpi!=game->buildProjects.end(); bpi++)
                           ^
    scons: * [src/AICastor.o] Error 1

on Ubuntu 15.10 amd64 with Linux 4.3.0.

Complete build log attached.

experienced with changeset 4238:0c17e5b7185d

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #36254:  scons.log added by None (13KiB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2016-02-05 None Attached File- Added scons.log, #36254

Back to the top

Powered by Savane 3.13-081f.
Corresponding source code