Menu

#107 wv2-0.1.9 doesn't compile with gcc v 2.95.3

closed-fixed
None
7
2003-11-05
2003-09-11
Anonymous
No

linux v 2.4.22
g++ -DHAVE_CONFIG_H -DPACKAGE=\"wv2\"
-DVERSION=\"0.1.9\" -I. -I. -I.. -I../include -I.. -I.
-I/usr/include/libgsf-1 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-I/usr/include/libgsf-1 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wold-style-cast
-Wnon-virtual-dtor -Wundef -Wall -pedantic -W -Wpointer-arith
-Wwrite-strings -O2 -fno-exceptions -fno-check-new
-Wold-style-cast -Wnon-virtual-dtor -Wundef -Wall -pedantic -W
-Wpointer-arith -Wwrite-strings -O2 -fno-exceptions
-fno-check-new -c olestorage.cpp -Wp,-MD,.deps/olestorage.TPlo
-fPIC -DPIC -o olestorage.lo
In file included from olestorage.cpp:21:
wvlog.h:35: `::basic_ostream' undeclared (first use here)
wvlog.h:35: parse error before `>'
wvlog.h:35: parse error before `>'
wvlog.h:35: `<<' declared as function returning a function
wvlog.h:35: `wvWare::wvdebugstream::operator <<(...)' must
take exactly one argument

wv2-0.1.8 does compile.

Discussion

  • SOUCHAY Pierre

    SOUCHAY Pierre - 2003-10-09

    Logged In: YES
    user_id=35460

    It does not compile either with gcc 2.95.4 (Debian 3.0, stable)

    g++ -DHAVE_CONFIG_H -DPACKAGE=\"wv2\"
    -DVERSION=\"0.1.9\" -I. -I. -I.. -I../include -I.. -I.
    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    -I/usr/include/libxml2 -I/usr/local/include/libgsf-1
    -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
    -I/usr/include/libxml2 -I/usr/local/include/libgsf-1 -Wold-style-cast
    -Wnon-virtual-dtor -Wundef -Wall -pedantic -W -Wpointer-arith
    -Wwrite-strings -O2 -fno-exceptions -fno-check-new
    -Wold-style-cast -Wnon-virtual-dtor -Wundef -Wall -pedantic -W
    -Wpointer-arith -Wwrite-strings -O2 -fno-exceptions
    -fno-check-new -c olestorage.cpp -Wp,-MD,.deps/olestorage.TPlo
    -fPIC -DPIC -o olestorage.lo
    In file included from olestorage.cpp:21:
    wvlog.h:35: `::basic_ostream' undeclared (first use here)
    wvlog.h:35: parse error before `>'
    wvlog.h:35: parse error before `>'
    wvlog.h:35: `<<' declared as function returning a function
    wvlog.h:35: `wvWare::wvdebugstream::operator <<(...)' must
    take exactly one argument
    wvlog.h:35: confused by earlier errors, bailing out
    make[2]: *** [olestorage.lo] Error 1
    make[2]: Leaving directory
    `/home/pierre/Desktop/wv2-0.1.9/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/pierre/Desktop/wv2-0.1.9'
    make: *** [all] Error 2

     
  • Martin Gellrich

    Martin Gellrich - 2003-10-10

    Logged In: YES
    user_id=847715

    I got EXACTLY the same problem using gcc v 3.2 or v 3.3. Is
    this problem solvable using #gmake# instead of #make# as
    mentioned in bug id 222150?

     
  • Werner Trobin

    Werner Trobin - 2003-11-05
    • priority: 5 --> 7
    • assigned_to: nobody --> trobin
     
  • Werner Trobin

    Werner Trobin - 2003-11-05
    • status: open --> closed-fixed
     

Log in to post a comment.