[Cflowd] patch for arts++ to build with gcc-3.x

From: Nicholas L. Nigay (nnigay@cboss.ru)
Date: Sat Jan 04 2003 - 07:23:17 PST

  • Next message: gab jones: "[Cflowd] Cflowd patch error"

    Hello!
    Hope this should work with gcc-3.2.x too.

    -------- Original Message --------
    Subject: Re: [Cflowd] 911
    Date: Mon, 07 Oct 2002 16:38:40 +0400
    From: "Nicholas L. Nigay" <nnigay@cboss.ru>
    To: iemil@Areopag.NET
    CC: cflowd <cflowd@caida.org>
    References: <3DA17330.6010904@ns45.it>

    gcc-3.x has much stricter c++ compiler than gcc-2.95 had.

    Attached patch should help with problem above.
    There is as few as possible 'using namespace ...' tricks.

    btw, You would need to patch flex.
    http://pkgcvs.turbolinux.co.jp/cgi-bin/cvsweb.cgi/flex/2.5.4a/flex-2.5.4a-gcc31.patch#rev1.2

    I.Emil wrote:
    > #flex --version
    > flex version 2.5.4
    > #
    > #
    > #make --ver
    > GNU Make version 3.79.1 ...
    > #
    > #
    > # gcc --version
    > gcc (GCC) 3.1
    > #
    > #
    > #uname -a
    > SunOS 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-1
    > #
    > #
    > #pwd
    > /usr/local/arts++-1-1-a8
    > #./configure
    > this ok
    > #make
    > ...
    > ...
    > ../include/Ipv4PrefixPatricia.hh:675: only constructors take base
    > initializers
    > ../include/Ipv4PrefixPatricia.hh:675: confised by earlier errors,
    > bailing out
    > make[2]: *** [Arts.lo] Error 1
    > make[2]: Leaving directory `/usr/local/arts++-1-1-a8/classes/src'
    > make[1]: *** [all] Error 2
    > make[1]: Leaving directory `/usr/local/arts++-1-1-a8/classes'
    > make[1]: *** [classes/lib/libArts.a] Error 2
    > #
    > #
    > ---------------------
    > Can help me with this?
    > Thank you
    > I.Emil
    >
    > _______________________________________________
    > Cflowd mailing list
    > Cflowd@caida.org
    > http://login.caida.org/mailman/listinfo/cflowd
    >
    >

    -- 
    Good luck!
    Nicholas L. Nigay
    

    -- Good luck! Nicholas L. Nigay


    _______________________________________________ Cflowd mailing list Cflowd@caida.org http://login.caida.org/mailman/listinfo/cflowd



    This archive was generated by hypermail 2.1.4 : Mon Jan 06 2003 - 08:42:54 PST