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/RFA] SH: Avoid warnings when building


Joern Rennecke <joern.rennecke@superh.com> wrote:
> This is MODE_AFTER you are changing.  Please adjust the ChnageLog.
> Otherwise the change is OK.

Ugh.  Silly me.  Thanks for pointing it out.

> Please do the checking either before the start or after the end of todays
> merge. (There might not be a merge, depending on being able to establish
> a baseline.)

I'd like to check it in after your merge.

> I see that yesterdays sh-elf build failed in libstdc++-v3:
>
> /swbuild/nightly/2004-06-27/sh-elf/gcc/xgcc -shared-libgcc -B/swbuild/nightly/2004-06-27/sh-elf/gcc/ -nostdinc++ -L/swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/src -L/swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/src/.libs -nostdinc -B/swbuild/nightly/2004-06-27/sh-elf/sh-elf/newlib/ -isystem /swbuild/nightly/2004-06-27/sh-elf/sh-elf/newlib/targ-include -isystem /swbuild/nightly/2004-06-27/srcw/newlib/libc/include -B/usr/local/sh-elf/bin/ -B/usr/local/sh-elf/lib/ -isystem /usr/local/sh-elf/include -isystem /usr/local/sh-elf/sys-include -L/swbuild/nightly/2004-06-27/sh-elf/ld -I/swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/include/sh-elf -I/swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/include -I/swbuild/nightly/2004-06-27/srcw/libstdc++-v3/libsupc++ -O2 -g -O2 -g -O2 -fno-implicit-templates -Wall -Wextra -Wwrite-strings -Wcast-qual -fdiagnostics-show-location=once -c ../../../../srcw/libstdc++-v3/src/complex_io.cc -o complex_io.o
> In file included from ../../../../srcw/libstdc++-v3/src/complex_io.cc:30:
> /swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/include/complex: In member function `long double& std::complex<long double>::real()':
> /swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/include/complex:1296: error: invalid initialization of reference of type 'long double&' from expression of type 'long int'
> /swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/include/complex: In member function `long double& std::complex<long double>::imag()':
> /swbuild/nightly/2004-06-27/sh-elf/sh-elf/libstdc++-v3/include/complex:1304: error: invalid initialization of reference of type 'long double&' from expression of type 'long int'
> make[3]: *** [complex_io.lo] Error 1

I haven't seen it.  Perhaps it occurs only on very new tree.  I'll try
the updated tree.

Regards,
	kaz


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