#1 compiler aborts

closed-fixed
Davy Durham
5
2002-08-16
2002-06-22
Markus Rechtien
No

compiler output:
-------------------------------------------------------------------
g++ -DHAVE_CONFIG_H -I. -I. -I../../config
-I../../src/misc -I../../src/misc/cc++
-I../../src/misc/missing -I../../src/PoolFile
-I../../src/PoolFile/DiskTable -Wall -g -D_GNU_SOURCE
-Wno-unused-function -Wno-unused-variable -c
CMultiFile.cpp -MT CMultiFile.lo -MD -MP -MF
.deps/CMultiFile.TPlo -o CMultiFile.o
CMultiFile.cpp:143: default argument given for
parameter 1 of `void
CMultiFile::close(bool = false)'
CMultiFile.h:51: after previous specification in `void
CMultiFile::close(bool =
false)'
CMultiFile.cpp:376: default argument given for
parameter 3 of `void
CMultiFile::openFile(const std::string&,
CMultiFile::RFileHeader&, bool =
false, bool = true)'
CMultiFile.h:115: after previous specification in `void
CMultiFile::openFile(const std::string&,
CMultiFile::RFileHeader&, bool =
false, bool = true)'
CMultiFile.cpp:376: default argument given for
parameter 4 of `void
CMultiFile::openFile(const std::string&,
CMultiFile::RFileHeader&, bool =
false, bool = true)'
CMultiFile.h:115: after previous specification in `void
CMultiFile::openFile(const std::string&,
CMultiFile::RFileHeader&, bool =
false, bool = true)'
make[2]: *** [CMultiFile.lo] Fehler 1
make[2]: Verlassen des Verzeichnisses Verzeichnis
ť/src/ReZound-0.1.0alpha/src/PoolFileŤ
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses Verzeichnis
ť/src/ReZound-0.1.0alpha/srcŤ
make: *** [all-recursive] Fehler 1
ATHLON:/src/ReZound-0.1.0alpha #
-------------------------------------------------------------------

Discussion

  • Davy Durham
    Davy Durham
    2002-06-23

    • assigned_to: nobody --> ddurham
    • status: open --> pending
     
  • Davy Durham
    Davy Durham
    2002-06-23

    Logged In: YES
    user_id=28588

    Ok.. what version of gcc are you using 3.x? I haven't tried
    gcc3 yet.. I guess I need to.. Anyway.. you'll probably run
    into other problems.. if so and if you ARE using gcc3, I'll
    just try to compile it myself on gcc3.

    However, I did make a patch that should fix those compile
    error at least... let me know how it works. To patch a
    file just cd to src/misc/CNestedDataFile
    and: patch < fix.patch (which is attached)

    I'll be releasing another release monday based on other
    feedback and I'll make it for sure work with gcc3 before
    then too.

     
  • Davy Durham
    Davy Durham
    2002-06-23

    • status: pending --> closed
     
  • Davy Durham
    Davy Durham
    2002-06-23

    Logged In: YES
    user_id=28588

    Okay.. I guess I assumed correctly about you using gcc3,
    because I got the same errors. There are some substantial
    changes between gcc2 and gcc3 but I've managed to fix all
    but one of the problems correctly, but the one remaining
    problem I have just worked around by compromising
    data-hiding (which is fine for now.. I just commented out
    "private:" because there are some friendship differences
    between the two versions... I just have to figure out the
    proper way of making a template parameter be a friend of the
    template.)

    So, I've checked it into CVS and you can get what code
    should work with gcc3 from there, or wait until Monday and
    I'll be making a 0.1.1 release.

    Thanks for the feedback, you're the first bug reporter...
    congradulations! ;)

    -- Davy

     
  • Davy Durham
    Davy Durham
    2002-08-16

    • status: closed --> closed-fixed