Menu

#67 compile errors on newer G++

open-fixed
General (20)
5
2008-06-29
2008-06-27
Anonymous
No

Copied from an old debian bug report. The issue still exists. Link: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=355986

In ./src/nntpthreadsocket.h:
"char * NntpThreadSocket::m_findEndLine( char * start, char * end );"

The "NntpThreadSocket::" part needs to go. Like this:
"char * m_findEndLine( char * start, char * end );"

The same issue in ./src/yydecoder.h:
"inline void yyDecoder::charCRC(const unsigned char *c);"
needs to change to:
"inline void charCRC(const unsigned char *c);"

This is confirmed with 2.5.0. This isn't your fault, GCC went and changed something (other packages have had this issue as well, with the same fix)

This is with g++ (GCC) 4.2.3

Discussion

  • Alessandro Bonometti

    • status: open --> open-fixed
     
  • Alessandro Bonometti

    Logged In: YES
    user_id=523378
    Originator: NO

    Thank you. These errors (and others with gcc 4.3) are fixed in the rel_0_2_5_patches branch, soon (?) to become release 0.2.6.
    Regards,
    B.

     

Log in to post a comment.