This is the mail archive of the
gcc-regression@gcc.gnu.org
mailing list for the GCC project.
Re: GCC build failed for native with your patch on2003-11-20T22:26:08Z.
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: gcc-regression at gcc dot gnu dot org
- Cc: geoffk at apple dot com, a dot tobler at schweiz dot ch, kazu at cs dot umass dot edu, pcarlini at suse dot de
- Date: Thu, 20 Nov 2003 18:55:45 -0600
- Subject: Re: GCC build failed for native with your patch on2003-11-20T22:26:08Z.
- Organization: Red Hat / Chicago
- References: <200311210034.hAL0Y7AV023248@gcc-regress.apple.com>
>The build failures are new.
the build log clearly implicates my check in in the bulid error.
However, this builds on linux for me, with the same codepath.
Furthermore, the error happens at this line:
template<typename _T>
void
_Error_formatter::_M_format_word(char* __buf,
int __n __attribute__((__unused__)), <-----------HERE
const char* __fmt, _T __s) const
{
#ifdef _GLIBCXX_USE_C99
std::snprintf(__buf, __n, __fmt, __s);
#else
std::sprintf(__buf, __fmt, __s);
#endif
}
it's bailing at the __attribute__.
What gives?? There's this code all over libstdc++-v3.
-benjamin