[developers] PET compilation failure on Ubuntu 16.04 LTS
Paul Haley
pvhaley at gmail.com
Sat Jan 28 16:52:27 CET 2017
Greetings,
FYI, using the current development tools on the OS above, PET fails to compile as shown below.
This is due to a private declaration in the header being referenced in a typedef within the corresponding c++ file.
Working around it was easy, but thought you'd like to know. There are number of additional warnings, FYI.
Paul
/bin/bash ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -DDYNAMIC_SYMBOLS -DDAG_TOMABECHI -I. -I../../../cheap -I..
-I../../../common -I../../../fspp -I../../../cheap/repp -I/usr/include -I/include -I/usr/include -I/usr/include -Wall -g -O3
-Wno-deprecated -MT sessionmanager.lo -MD -MP -MF .deps/sessionmanager.Tpo -c -o sessionmanager.lo
../../../cheap/sessionmanager.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -DDYNAMIC_SYMBOLS -DDAG_TOMABECHI -I. -I../../../cheap -I.. -I../../../common -I../../../fspp
-I../../../cheap/repp -I/usr/include -I/include -I/usr/include -I/usr/include -Wall -g -O3 -Wno-deprecated -MT sessionmanager.lo -MD
-MP -MF .deps/sessionmanager.Tpo -c ../../../cheap/sessionmanager.cpp -o sessionmanager.o
In file included from ../../../cheap/sessionmanager.cpp:3:0:
../../../cheap/sessionmanager.h:16:9: error: 'class SessionManager::Session' is private
class Session {
^
../../../cheap/sessionmanager.cpp:17:30: error: within this context
typedef list<SessionManager::Session *>::iterator session_it;
^
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.delph-in.net/archives/developers/attachments/20170128/067bd255/attachment.html>
More information about the developers
mailing list