|
From: | Paul Scott |
Subject: | Re: Building from CVS with gcc 3.2 on Debian Sid |
Date: | Sat, 07 Jun 2003 20:36:37 -0700 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.3.1) Gecko/20030527 Debian/1.3.1-2 |
Graham Percival wrote:
If symlinking /usr/bin/gcc and /usr/bin/g++ to the 3.2 versions is enough then yes.On Sat, 07 Jun 2003 20:11:01 -0700 Paul Scott <address@hidden> wrote:getopt-long.cc: In function `char* dcgettext(...)': getopt-long.cc:24: `s' undeclared (first use this function)Are you sure you're building with gcc 3.2? This is the error that we saw with gcc 3.3; Jan supplied a patch for it.
It has gone past that point and it did output 'warning huh?' when it went by. Does this mean it will compile with gcc 3.3 now. Will that patch or something better be in CVS at some point?inline char* gettext (char const* s) { return (char*)s; } #else #include <libintl.h> #endif(results of the patch) Replace that section with this: ----- #if !HAVE_GETTEXT #ifndef gettext inline char* gettext (char const* s) { return (char*)s; } #else #warning huh? #endif #else #include <libintl.h> #endif ----- It should work now.
Thanks, Paul
[Prev in Thread] | Current Thread | [Next in Thread] |