Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#57 gcc-4.3.1

open
Stas Degteff
5
2008-06-10
2008-06-10
Anonymous
No

gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp:56: warning: deprecated conversion from string constant to 'char*'
gdbgerr.cpp: In function 'char* gerrosinfo()':
gdbgerr.cpp:77: error: 'strerror' was not declared in this scope
make[1]: *** [../../obj/lnx/gall/gdbgerr.o] Error 1
make[1]: *** Waiting for unfinished jobs....
gdbgtrk.cpp: In function 'void __gftrk_term()':
gdbgtrk.cpp:63: error: 'free' was not declared in this scope
gdbgtrk.cpp: In function 'void __gftrk_init(int)':
gdbgtrk.cpp:73: error: 'calloc' was not declared in this scope
gdbgtrk.cpp:78: error: 'atexit' was not declared in this scope
gdbgtrk.cpp: In function 'void __gftrk_track(const char*)':
gdbgtrk.cpp:103: warning: operation on '__gftrk_curr' may be undefined
make[1]: *** [../../obj/lnx/gall/gdbgtrk.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/fido/golded+-9999/work/golded+/goldlib/gall'
make: *** [all] Error 2

Discussion

  • Logged In: NO

    Для себя эту проблему решил так:
    --- ./golded+/Config.def 2007-02-24 17:23:03.000000000 +0300
    +++ ./golded-/Config.def 2008-06-12 13:37:48.000000000 +0400
    @@ -76,9 +76,9 @@
    # Uncomment to disable Synchronet BBS support
    #CPPFLAGS+=-DGCFG_NOSYNCHRONET
    # Uncomment to disable MS Office spellchecker support (win32 only)
    -#CPPFLAGS+=-DGCFG_NO_MSSPELL
    +CPPFLAGS+=-DGCFG_NO_MSSPELL
    # Uncomment to disable HunSpell spellchecker support (multiplatform)
    -#CPPFLAGS+=-DGCFG_NO_MYSPELL
    +CPPFLAGS+=-DGCFG_NO_MYSPELL
    # Uncomment to disable regex search feature
    #CPPFLAGS+=-DGCFG_NO_REGEX
    # Comment to disable AreaRecycleBin keyword and feature

    --- ./golded+/golded3/gealst.cpp 2007-01-08 15:09:41.000000000 +0300
    +++ ./golded-/golded3/gealst.cpp 2008-06-12 14:24:08.000000000 +0400
    @@ -31,6 +31,7 @@
    #pragma warning(disable: 4786)
    #endif
    #include <algorithm>
    +#include <limits.h>
    #include <golded.h>

    #if defined(__USE_ALLOCA__)

    --- ./golded+/golded3/geline.cpp 2008-01-20 21:02:59.000000000 +0300
    +++ ./golded-/golded3/geline.cpp 2008-06-12 14:27:34.000000000 +0400
    @@ -29,6 +29,7 @@
    #include <gstrmail.h>
    #include <gutlcode.h>
    #include <ghdrmime.h>
    +#include <limits.h>

    #if defined(__USE_ALLOCA__)
    #include <malloc.h>

    --- ./golded+/goldlib/gall/gfilutil.h 2007-01-02 15:21:13.000000000 +0300
    +++ ./golded-/goldlib/gall/gfilutil.h 2008-06-12 13:14:37.000000000 +0400
    @@ -47,6 +47,8 @@
    #if !defined(__UNIX__)
    #include <io.h>
    #endif
    +#include <stdlib.h>
    +#include <string.h>