Re: C++ Warnings on trunk

2008-07-09 Thread Kaveh R. GHAZI
On Tue, 8 Jul 2008, Andreas Schwab wrote: > "Kaveh Ghazi" <[EMAIL PROTECTED]> writes: > > > Right, here's the original link where I mention it: > > http://gcc.gnu.org/ml/gcc-patches/2008-06/msg01658.html > > > > This involves a cast from one type to another through a void*. I haven't > > been abl

Re: C++ Warnings on trunk

2008-07-09 Thread NightStrike
On 7/10/08, Kaveh R. GHAZI <[EMAIL PROTECTED]> wrote: > > Yeah, it's on my list. > > http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00772.html Thanks!

Re: C++ Warnings on trunk

2008-07-09 Thread Kaveh R. GHAZI
On Tue, 8 Jul 2008, Kaveh R. Ghazi wrote: > From: "NightStrike" <[EMAIL PROTECTED]> > > > On 7/8/08, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > >> NightStrike <[EMAIL PROTECTED]> writes: > >> > >> > I was under the impression that these would be cleaned up before the > >> > -W options were appl

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Jerry DeLisle
Steven Bosscher wrote: On Wed, Jul 9, 2008 at 11:48 PM, H.J. Lu <[EMAIL PROTECTED]> wrote: In that chmod() is not defined by the Fortran Standard, how can you infer that libgfortran's implementation is incorrect? Please read a decent UNIX system book or look how system () is implemen

Re: C++ Warnings on trunk

2008-07-09 Thread Gabriel Dos Reis
On Wed, Jul 9, 2008 at 6:50 PM, Ben Elliston <[EMAIL PROTECTED]> wrote: >> In this case, I argue that this code is always compiled with a C >> compiler, and should never be compiled by a C++ compiler. Therefore, >> I believe it is wrong for this code to be compiled with the >> -Wc++-compat warning

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Joe Buck
On Wed, Jul 09, 2008 at 07:17:58PM -0400, Mark Mielke wrote: > Joe Buck wrote: > >On Wed, Jul 09, 2008 at 04:26:43PM -0400, Jack Lloyd wrote: > > > >>On Wed, Jul 09, 2008 at 01:17:43PM -0700, Joe Buck wrote: > >> > >>Presumably one could just take the code from the last GPLv2 version of > >>c

Re: C++ Warnings on trunk

2008-07-09 Thread Ben Elliston
> In this case, I argue that this code is always compiled with a C > compiler, and should never be compiled by a C++ compiler. Therefore, > I believe it is wrong for this code to be compiled with the > -Wc++-compat warning enabled. This should be fixed somewhere in the > configure script and/or M

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Steven Bosscher
On Wed, Jul 9, 2008 at 11:48 PM, H.J. Lu <[EMAIL PROTECTED]> wrote: >> In that chmod() is not defined by the Fortran Standard, >> how can you infer that libgfortran's implementation is >> incorrect? >> > > Please read a decent UNIX system book or look how > system () is implemented in glibc. Well,

gcc-4.2-20080709 is now available

2008-07-09 Thread gccadmin
Snapshot gcc-4.2-20080709 is now available on ftp://gcc.gnu.org/pub/gcc/snapshots/4.2-20080709/ and on various mirrors, see http://gcc.gnu.org/mirrors.html for details. This snapshot has been generated from the GCC 4.2 SVN branch with the following options: svn://gcc.gnu.org/svn/gcc/branches

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread H.J. Lu
On Wed, Jul 9, 2008 at 2:29 PM, Steve Kargl <[EMAIL PROTECTED]> wrote: > On Wed, Jul 09, 2008 at 02:20:55PM -0700, H.J. Lu wrote: >> On Wed, Jul 9, 2008 at 1:59 PM, Joe Buck <[EMAIL PROTECTED]> wrote: >> > On Wed, Jul 09, 2008 at 01:52:27PM -0700, Steve Kargl wrote: >> >> >> >> Do you have an appli

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Joe Buck
On Wed, Jul 09, 2008 at 02:38:51PM -0700, Steve Kargl wrote: > On Wed, Jul 09, 2008 at 11:16:33PM +0200, Andreas Schwab wrote: > > Joe Buck <[EMAIL PROTECTED]> writes: > > > > > Note that this isn't just GPLv2 vs 3 or anything like that, I think we > > > generally need permission when moving code

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Steve Kargl
On Wed, Jul 09, 2008 at 11:16:33PM +0200, Andreas Schwab wrote: > Joe Buck <[EMAIL PROTECTED]> writes: > > > Note that this isn't just GPLv2 vs 3 or anything like that, I think we > > generally need permission when moving code from one project to > > another. > > The chmod parser is actually comi

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Steve Kargl
On Wed, Jul 09, 2008 at 02:20:55PM -0700, H.J. Lu wrote: > On Wed, Jul 9, 2008 at 1:59 PM, Joe Buck <[EMAIL PROTECTED]> wrote: > > On Wed, Jul 09, 2008 at 01:52:27PM -0700, Steve Kargl wrote: > >> > >> Do you have an application that shows that the current > >> implementation of chmod() is a bottle

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread H.J. Lu
On Wed, Jul 9, 2008 at 1:59 PM, Joe Buck <[EMAIL PROTECTED]> wrote: > On Wed, Jul 09, 2008 at 01:52:27PM -0700, Steve Kargl wrote: >> On Wed, Jul 09, 2008 at 01:24:44PM -0700, H.J. Lu wrote: >> > On Wed, Jul 9, 2008 at 1:17 PM, Joe Buck <[EMAIL PROTECTED]> wrote: >> > > On Wed, Jul 09, 2008 at 01:0

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Andreas Schwab
Joe Buck <[EMAIL PROTECTED]> writes: > Note that this isn't just GPLv2 vs 3 or anything like that, I think we > generally need permission when moving code from one project to > another. The chmod parser is actually coming from gnulib, whose sole purpose is to be shared among GNU projects. Andrea

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Joe Buck
On Wed, Jul 09, 2008 at 01:52:27PM -0700, Steve Kargl wrote: > On Wed, Jul 09, 2008 at 01:24:44PM -0700, H.J. Lu wrote: > > On Wed, Jul 9, 2008 at 1:17 PM, Joe Buck <[EMAIL PROTECTED]> wrote: > > > On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote: > > >> libgfortran calls fork/exec /bin/chmo

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Steve Kargl
On Wed, Jul 09, 2008 at 01:24:44PM -0700, H.J. Lu wrote: > On Wed, Jul 9, 2008 at 1:17 PM, Joe Buck <[EMAIL PROTECTED]> wrote: > > On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote: > >> libgfortran calls fork/exec /bin/chmod to parse argument to chmod. > >> Is that OK to borrow code from cor

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Joe Buck
On Wed, Jul 09, 2008 at 01:24:44PM -0700, H.J. Lu wrote: > On Wed, Jul 9, 2008 at 1:17 PM, Joe Buck <[EMAIL PROTECTED]> wrote: > > On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote: > >> libgfortran calls fork/exec /bin/chmod to parse argument to chmod. > >> Is that OK to borrow code from cor

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Joe Buck
On Wed, Jul 09, 2008 at 04:26:43PM -0400, Jack Lloyd wrote: > On Wed, Jul 09, 2008 at 01:17:43PM -0700, Joe Buck wrote: > > On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote: > > > libgfortran calls fork/exec /bin/chmod to parse argument to chmod. > > > Is that OK to borrow code from coreutil

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Jack Lloyd
On Wed, Jul 09, 2008 at 01:17:43PM -0700, Joe Buck wrote: > On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote: > > libgfortran calls fork/exec /bin/chmod to parse argument to chmod. > > Is that OK to borrow code from coreutils which implements /bin/chmod > > to properly implement chmod? coreu

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread H.J. Lu
On Wed, Jul 9, 2008 at 1:17 PM, Joe Buck <[EMAIL PROTECTED]> wrote: > On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote: >> libgfortran calls fork/exec /bin/chmod to parse argument to chmod. >> Is that OK to borrow code from coreutils which implements /bin/chmod >> to properly implement chmod

Re: Is that OK to borrow code from coreutils?

2008-07-09 Thread Joe Buck
On Wed, Jul 09, 2008 at 01:07:10PM -0700, H.J. Lu wrote: > libgfortran calls fork/exec /bin/chmod to parse argument to chmod. > Is that OK to borrow code from coreutils which implements /bin/chmod > to properly implement chmod? coreutils is under GPLv3 while libgfortran > is under GPLv2 + exception

Is that OK to borrow code from coreutils?

2008-07-09 Thread H.J. Lu
Hi, libgfortran calls fork/exec /bin/chmod to parse argument to chmod. Is that OK to borrow code from coreutils which implements /bin/chmod to properly implement chmod? coreutils is under GPLv3 while libgfortran is under GPLv2 + exception. Is that possible to get permission from the FSF to borrow

Re: Recent libstdc++ regressions

2008-07-09 Thread Daniel Berlin
This is likely to have been my patch. I'm minimizing the check_construct_destroy failure right now. If someone could give me some idea of what is causing the execution failures while i do that, i may be able to fix them faster :) On Wed, Jul 9, 2008 at 10:31 AM, Paolo Carlini <[EMAIL PROTECTED]> w

Recent libstdc++ regressions

2008-07-09 Thread Paolo Carlini
Hi, just to be sure people notice: there are new (1-2 days max) regressions in libstdc++, caused by compiler changes. See, for example: http://gcc.gnu.org/ml/gcc-testresults/2008-07/msg00824.html I can look a bit more into this in the next days, but again I pretty much exclude this has been

Re: implementing exception handlers in a front end

2008-07-09 Thread Gaius Mulley
"Richard Guenther" <[EMAIL PROTECTED]> writes: > > to its language tree.def and gimplify this. Before I embark on this > > I'd like to ask whether using __builtin_longjmp/__builtin_setjmp is > > definitely the wrong way to go? > > Definitely. You will be not able to handle/throw exceptions from

Re: Trouble with gdb 6.8 on Irix

2008-07-09 Thread Olivier Hainque
Joel Brobecker wrote: > > If you care about GDB on mips-irix, I strongly advise caring about GCC as > > well, or finding someone to care about it. Right now, it is on the list > > of targets to be deprecated in GCC 4.4 because we wish to remove fixproto > > and it is one of the few targets stil

Re: implementing exception handlers in a front end

2008-07-09 Thread Richard Guenther
On Wed, Jul 9, 2008 at 3:32 PM, Gaius Mulley <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm currently trying to implement the exception handling in GNU > Modula-2 and was wondering which of the following two routes to use. > I was initially enthusiastic about using __builtin_setjmp/ > __builtin_longjmp

implementing exception handlers in a front end

2008-07-09 Thread Gaius Mulley
Hi, I'm currently trying to implement the exception handling in GNU Modula-2 and was wondering which of the following two routes to use. I was initially enthusiastic about using __builtin_setjmp/ __builtin_longjmp as Modula-2 exceptions can be implemented with these mechanisms - and it would also

Sell Cisco Systems equipment items

2008-07-09 Thread [EMAIL PROTECTED]
Hello, We have following original Cisco,Card,GBIC/SFP,WIC,cables items for sale If you are interested, pls feel free to contact me. example of the products: CWDM-SFP-1G 38dB (Ultra long-haul)--1510nm,1530nm,1550nm,1570nm,1590nm,1610nm WS-G5483, GLC-SX-MM SFP-GE-L WS-G5487, WS-G5484, WS-G5486