Re: [Nautilus-list] compile error with gcc-3.0
- From: Thomas Cataldo <tomc compaqnet fr>
- To: Thomas Cataldo <tomc compaqnet fr>
- Cc: Havoc Pennington <hp redhat com>, nautilus-list lists eazel com
- Subject: Re: [Nautilus-list] compile error with gcc-3.0
- Date: 06 Oct 2001 19:50:03 +0200
Ok, i did some checks and g++ 3 in my debian seems to be the problem.
On Sat, 2001-10-06 at 19:09, Thomas Cataldo wrote:
> On Sat, 2001-10-06 at 18:06, Havoc Pennington wrote:
> >
> > Thomas Cataldo <tomc compaqnet fr> writes:
> > > Compilation is failing because of a missing ';' in
> > > nautilus-mozilla-embed-extensions.cpp
> > >
> > > struct Encoding
> > > {
> > > Encoding (const char *encoding,
> > > const char *encoding_title,
> > > const char *translated_encoding_title) :
> > > m_encoding (encoding),
> > > m_encoding_title (encoding_title),
> > > m_translated_encoding_title (translated_encoding_title)
> > > {
> > > }; <--------------------- HERE
> >
> > Huh? No semicolon should be required there, unless I'm missing
> > something.
>
> Well, I was thinking so, but g++ 3 seems to think differently...
> without the semicolon, I get:
>
> nautilus-mozilla-embed-extensions.cpp:60: 'string' is used as a type,
> but is
> not defined as a type.
>
> line 60 is string m_encoding;
>
> >
> > Havoc
> >
> > _______________________________________________
> > nautilus-list mailing list
> > nautilus-list lists eazel com
> > http://lists.eazel.com/mailman/listinfo/nautilus-list
> >
>
>
>
> _______________________________________________
> nautilus-list mailing list
> nautilus-list lists eazel com
> http://lists.eazel.com/mailman/listinfo/nautilus-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]