[Bug c++/59775] internal compiler error: Segmentation fault

nheghathivhistha at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Jan 12 17:24:00 GMT 2014


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59775

--- Comment #3 from David Kredba <nheghathivhistha at gmail dot com> ---
typedef int sal_Int8;
typedef int sal_Int64;
namespace com
{
namespace sun
{
namespace star
{
namespace uno
{
template < class > class Sequence
{
};
}
}
} typedef com::sun::star::uno::Sequence < sal_Int8 > StreamDataSequence;
class BinaryStreamBase
{
public:
    virtual void seek (sal_Int64);
    void seekToStart ()
    {
        seek (0);
    } int mbEof;
};
class BinaryInputStream:public virtual BinaryStreamBase
{
};
class SequenceInputStream:public BinaryInputStream
{
public:
    SequenceInputStream (StreamDataSequence &);
};
namespace core
{
void RecordParserparseStream ()
{
    StreamDataSequence aRecData;
    SequenceInputStream aRecStrm (aRecData);
    aRecStrm.seekToStart ();
}
}
}



More information about the Gcc-bugs mailing list