Menu

#40 Compilation problem with gcc 3.4

Other
open
nobody
Other (5)
5
2014-08-17
2005-02-17
Anonymous
No

Used version:

gcc version 3.3.4

Errors:

g++ -c -g -Wall -Wno-unused -Wno-uninitialized
-I/usr/include/g++-include -I. -I../pccts/h cccc.cpp
In file included from
/usr/include/g++/backward/strstream:51,
from cccc.h:28,
from cccc.cpp:20:
/usr/include/g++/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one
deprecated or antiquated header.Please consider using
one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X>
header for the <X.h> header for C++ includes, or
<sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from cccc_ast.h:17,
from cccc.cpp:21:
cccc_utl.h: In member function `char* ParseStore::flags()':
cccc_utl.h:243: error: cannot convert
`__gnu_cxx::__normal_iterator<char*,
std::vector<char, std::allocator<char> > >' to
`char*' in return
cccc.cpp:32:9: warning: extra tokens at end of #endif
directive
In file included from cccc.cpp:34:
CParser.h:22:9: warning: extra tokens at end of #endif
directive
cccc.cpp:158:19: missing terminating " character
cccc.cpp:162:50: missing terminating " character
cccc.cpp:164:9: missing terminating " character
cccc.cpp:3818:1: unterminated argument list invoking
macro "zzfailed_pred"
cccc.cpp: In member function `void
CParser::ignored_identifier()':
cccc.cpp:158: error: `zzfailed_pred' undeclared (first
use this function)
cccc.cpp:158: error: (Each undeclared identifier is
reported only once for each
function it appears in.)
cccc.cpp:158: error: syntax error at end of input
make[1]: *** [cccc.o] Error 1

Discussion

  • Tatsuo SEKINE

    Tatsuo SEKINE - 2006-05-16

    Logged In: YES
    user_id=4153

    Fllowing change will fix first error. But, you'll met
    another problem soon after it in latest version of CCCC:<

    cccc/cccc_utl.h:243
    - char *flags() { return flag.begin(); }
    + char *flags() { return &(*flag.begin()); }

     
  • Tatsuo SEKINE

    Tatsuo SEKINE - 2006-05-16

    Logged In: YES
    user_id=4153

    OMG, the top page of this project is really inaccurate :<
    The latest version I mentioned above is "cccc-
    3.pre48.tar.gz" which is found on the top page. But real
    latest version is 3.1.4 now...

     

Log in to post a comment.

MongoDB Logo MongoDB