This is the mail archive of the gcc-patches@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: [PATCH] PR c++/9367: Builtins for *scanf and *printf


Michael Matz <matz at suse dot de> writes:

> Hi,
>
> On Mon, 10 Mar 2003, Franz Sirl wrote:
>
>> this patch causes dozens of regression on powerpc-linux in a -O2 c++
>> testsuite run. The errors are all like:
>>
>> test-vprintf.cpp: In function `int vprintf(const char*, __va_list_tag*)':
>> test-vprintf.cpp:19: error: declaration of `int vprintf(const char*,
>>    __va_list_tag*) throw ()' throws different exceptions
>> test-vprintf.cpp:16: error: than previous declaration `int vprintf(const
>> char*,
>>    __va_list_tag*)'
>
> Yep.  I also noticed this on x86-64-linux while checking other programs.
>
>> Strangely enough all is fine on i686---linux. So can people please try
>> to compile the appended testcase on more platforms with "g++ -c
>> test-vprintf.cpp -O1 -ansi -pedantic-errors" and report if they see
>> the above error or not?
>
> For me just "g++ -pedantic" is enough.

Roger, are you going to fix the bugs or shall we revert the patch?

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj at suse dot de
   private aj at arthur dot inka dot de
    http://www.suse.de/~aj


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