gcc 3.0 support

Oren Held
2001-07-11
2001-08-01
  • Oren Held

    Oren Held - 2001-07-11

    Hello There!

    I'm using gcc 3.0, and trying to compile cdrdao.
    When it tries to compile the file CdTextItem.cc, it goes out with an error:
    c++ -DHAVE_CONFIG_H -D_THREAD_SAFE -D_REENTRANT  -I.. -I. -I/home/mar_garina/new/cdrdao-1.1.5/pccts/h -g -O2  -c CdTextItem.cc -o CdTextItem.o
    CdTextItem.cc: In member function `void CdTextItem::print(int, std::ostream&)
       const':
    CdTextItem.cc:132: no matching function for call to `std::basic_ostream<char,
       std::char_traits<char> >::form(const char[6], unsigned int&)'
    CdTextItem.cc:143: no matching function for call to `std::basic_ostream<char,
       std::char_traits<char> >::form(const char[4], unsigned int&)'
    CdTextItem.cc:151: no matching function for call to `std::basic_ostream<char,
       std::char_traits<char> >::form(const char[4], unsigned int&)'
    make[1]: *** [CdTextItem.o] Error 1
    make[1]: Leaving directory `/home/mar_garina/new/cdrdao-1.1.5/trackdb'
    make: *** [all] Error 1

    is it just me? anybody else succeeded compiling cdrdao with gcc 3.0?

    If not, I'll file a bug.

    Bye,
    Oren.

     
    • Andreas Mueller

      Andreas Mueller - 2001-07-12

      I've just checked in a fixed version of CdTextItem.cc.

       
    • Anonymous - 2001-08-01

      Hi,

      I'm having problems compiling cdrdao with gcc 3.0 too, although I don't know if that's where the problem is. 'make' after ./configure eventually reaches:
              ==> COMPILING "OBJ/i586-linux-cc/movebytes.o"
              ==> COMPILING "OBJ/i586-linux-cc/printf.o"
      printf.c:67: parse error before "const"
      printf.c:74: warning: conflicting types for built-in function `fprintf'
      printf.c: In function `fprintf':
      printf.c:83: `form' undeclared (first use in this function)
      printf.c:83: (Each undeclared identifier is reported only once
      printf.c:83: for each function it appears in.)
      printf.c:83: `va_start' used in function with fixed args
      printf.c: At top level:
      printf.c:103: conflicting types for `fprintf'
      printf.c:74: previous declaration of `fprintf'
      make[2]: *** [OBJ/i586-linux-cc/printf.o] Error 1

      Any ideas? All other files seem to get through.

      /Bjrn

       

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks