This is the mail archive of the gcc-regression@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCC build failed for native with your patch on2003-11-20T22:26:08Z.


>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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]