gcc rejects 'friend' without 'class'
Status: Beta
Brought to you by:
pretzel
g++ -o ./tmp/realmain.o -O3 -c -w -DXMILL -Izlib -Ibzlib -IXMill -Ippmdi ./XMill/realmain.cpp
In file included from ./XMill/VPathExprMan.hpp:38,
from ./XMill/PathDict.hpp:53,
from ./XMill/PathTree.hpp:44,
from ./XMill/XMillData.h:6,
from ./XMill/ContMan.hpp:35,
from ./XMill/XMill.h:123,
from ./XMill/stdafx.h:18,
from ./XMill/realmain.cpp:31:
./XMill/FSM.hpp:82: error: a class-key must be used when declaring a friend
...
Replaced all occurences of 'friend' by 'friend class'