Re: Checking in on a Broken Math Resource Link on Your Site

2012-11-08 Thread Jonathan Wakely
On 11/07/12 21:20, Alexandra Sawyer wrote: > > I've reported a broken link on your site > gcc.gnu.org/ml/gcc-help/1999-q3n/msg00261.html that links to > http://www.cs.unb.ca/~alopez-o/math-faq/math-faq.html and haven't > heard back, so I just wanted to verify whether you're the right > person to co

Re: the struggle to create a 64-bit gcc on Solaris 10

2012-11-10 Thread Jonathan Wakely
On 10 November 2012 20:51, Dennis Clarke wrote: > > So 32-bit gcc works just fine. However I need a pile of libs all over the > place ( gmp, mpfr, mpc, etc etc ) for this to work No you don't. If you put gmp, mpfr and mpc in the GCC source tree, or install them with --disable-shared, then you d

Re: the struggle to create a 64-bit gcc on Solaris 10

2012-11-10 Thread Jonathan Wakely
On 10 November 2012 22:08, Ryan Johnson wrote: > You know, somehow I'd missed that gcc would build the numerical libs for you > if they were in tree... I'd only heard about the host tools (binutils, > etc.). Does it do the same for all deps (e.g. readline) as well? No. The contrib/download_prereq

Re: the struggle to create a 64-bit gcc on Solaris 10

2012-11-11 Thread Jonathan Wakely
On 11 November 2012 21:57, Dennis Clarke wrote: > Here is what I did with gmp : > > $ ls $SRC/gmp* > /usr/local/src/gmp-5.0.5.tar.bz2 > > $ /opt/schily/bin/star -x -bz -xdir -xdot -U -fs=16m > file=/usr/local/src/gmp-5.0.5.tar.bz2 > star: 1262 blocks + 0 bytes (total of 12922880 bytes = 12620.00k)

Re: RFC - Alternatives to gengtype

2012-11-18 Thread Jonathan Wakely
On 18 November 2012 18:03, Basile Starynkevitch wrote: > Regarding PCH [pre-compiled header], I think that it is related to PPH > [pre-processed headers] > > I don't understand yet if PPH is abandoned, or just post-poned. I was > believing it was a very mature experimental branch. See http://gcc.g

Re: RFC - Alternatives to gengtype

2012-11-18 Thread Jonathan Wakely
On 18 November 2012 18:25, Basile Starynkevitch wrote: > On Sun, Nov 18, 2012 at 08:06:08AM -1000, NightStrike wrote: >> On Sun, Nov 18, 2012 at 8:03 AM, Basile Starynkevitch >> wrote: >> > I really think that GCC need some form of garbage collector. > [...] >> >> What's wrong with std::shared_ptr

Re: RFC - Alternatives to gengtype

2012-11-19 Thread Jonathan Wakely
On 19 November 2012 19:35, Basile Starynkevitch wrote: > On Sun, Nov 18, 2012 at 06:37:29PM +0000, Jonathan Wakely wrote: >> On 18 November 2012 18:25, Basile Starynkevitch wrote: >> > On Sun, Nov 18, 2012 at 08:06:08AM -1000, NightStrike wrote: >> >> On Sun, N

Re: RFC - Alternatives to gengtype

2012-11-23 Thread Jonathan Wakely
On 23/11/2012, Basile Starynkevitch wrote: > On Thu, Nov 22, 2012 at 09:29:43PM +0100, Florian Weimer wrote: >> On 11/18/2012 07:06 PM, NightStrike wrote: >> >> >What's wrong with std::shared_ptr? >> >> The pointer needs two words, and the per-object overhead for the >> reference counts etc. is fo

Re: Could we start accepting rich-text postings on the gcc lists?

2012-11-24 Thread Jonathan Wakely
On 24 November 2012 00:40, Nathan Ridge wrote: > > I am regular reader of several mailing lists, some of which (such as this > one) require plain text, and some (like cdt-dev) which allow rich text. > > My experience has been that the formatting of messages on plain-text > lists is consistent acros

Re: Could we start accepting rich-text postings on the gcc lists?

2012-11-24 Thread Jonathan Wakely
On 24 November 2012 17:47, Robert Dewar wrote: > >> 2) The fact that Android refuses to provide a non-HTML e-mail capability >> is ridiculous but does not seem to me to be a reason for us to change >> our policy. > > > Surely there are altenrative email client for Android that have plain > text cap

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Jonathan Wakely
On 28 November 2012 07:36, Xinliang David Li wrote: > What you described is the 'transitional model' right? but I don't see > any of those in the C++ standard working paper: > http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2012/n3347.pdf It's far too early for anything to have been voted into

Re: libstdc++-v3 without exception/exception segments

2012-11-28 Thread Jonathan Wakely
This message is inappropirate on this list, which is for discussing development of GCC. For help using or building GCC please use the gcc-help list instead. Please take any follow up to that list, thanks. On 28 November 2012 15:19, Martin Laabs wrote: > Hello, > > I currenty build an arm-elf cross

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Jonathan Wakely
On 28 November 2012 09:03, Jonathan Wakely wrote: > On 28 November 2012 07:36, Xinliang David Li wrote: >> What you described is the 'transitional model' right? but I don't see >> any of those in the C++ standard working paper: >> http://www.open-std.org/jtc1/

Re: RFC - Remove support for PCH post 4.8

2012-11-28 Thread Jonathan Wakely
On 28 November 2012 20:16, Toon Moene wrote: > On 11/28/2012 02:53 PM, Diego Novillo wrote: > > Is it permissable to ask a meta-question here ? > > What's so horrible about the definition of header files that something like > this is necessary ? > > In Fortran we have modules. Certainly, the effic

Re: Stale C++ ABI link

2012-12-14 Thread Jonathan Wakely
On 14 December 2012 21:51, Joe Buck wrote: > Richard Henderson writes: >> On >> http://gcc.gnu.org/onlinedocs/libstdc++/manual/abi.html >> we have a stale link to >> http://www.codesourcery.com/public/cxx-abi/abi.html > >>What's the new canonical location for this document? > > Looks like CodeSou

Re: Stale C++ ABI link

2012-12-14 Thread Jonathan Wakely
On 14 December 2012 21:58, Jonathan Wakely wrote: > Gerald did ask me to update the libstdc++ docs but I didn't (and I'm > still not sure what the consensus was regarding which link to use.) Actually the right fix for the libstdc++ docs seems pretty obvious, I'll do it tomorrow.

Re: Fw: [RE-SENDING]Re: MCSoC2013: to enhance embedded Linux for many-core system

2012-12-18 Thread Jonathan Wakely
On 18 December 2012 03:06, ETANI NORIKO wrote: > > Of course, we can use GCC on a host core, and we can use MPFR and GMP. > However, as long as we use LD to link object files and create a binary file > for a computing device core, we cannot use MPFR and GMP. > > Here, we would like to ask you as

Re: Query for Empty Structure Extension.

2013-01-02 Thread Jonathan Wakely
On 2 January 2013 14:32, NAVEEN CHANDRAKAR wrote: > > My question is what is the definition/grammer of empty structure. As i > couldn't find it covered in C/Cxx standard document. The page you linked to defines a GCC extension to the C language, so if course it's not in the C standard. As the pag

Re: not-a-number's

2013-01-16 Thread Jonathan Wakely
On 16 January 2013 08:59, Mischa Baars wrote: > On 01/16/2013 08:57 AM, Eric Botcazou wrote: >>> >>> Well, I have an Intel manual here that states that any operation on a >>> QNaN should return a QNaN, which means that also the compare should >>> return a QNaN when one or both of the arguments is a

Re: Components no longer exist

2013-01-17 Thread Jonathan Wakely
On 17 January 2013 15:48, Michael Witten : > The documentation here: > > http://gcc.gnu.org/install/download.html > > says: > > It is possible to download a full distribution or > specific components... If you choose to download > specific components, you must download the core > GCC dist

Re: Components no longer exist

2013-01-17 Thread Jonathan Wakely
On 17 January 2013 17:29, Mischa Baars wrote: > On 01/17/2013 06:23 PM, Jonathan Wakely wrote: >> >> On 17 January 2013 15:48, Michael Witten : >>> >>> The documentation here: >>> >>>http://gcc.gnu.org/install/download.html >>

Re: Components no longer exist

2013-01-17 Thread Jonathan Wakely
On 17 January 2013 17:31, Jonathan Wakely wrote: > On 17 January 2013 17:29, Mischa Baars wrote: >> >> Does that mean that you are satisfied with the 'if / else' as is, and that >> you also do not need an improvement of the arctangent in glibc? > > You

Re: Components no longer exist

2013-01-17 Thread Jonathan Wakely
On 17 January 2013 17:48, Mischa Baars wrote: > > Indeed I am, I thought you were trying to say that gcc-x.y.z.tar.gz has > missing components. I had some trouble compiler: unable to compute suffix > for object files, but now it seems to work?! Did you read http://gcc.gnu.org/wiki/FAQ#configure_su

Re: gcc 4.7 regression on bool function specialization

2013-01-19 Thread Jonathan Wakely
N.B. This mail is not appropriate on this mailing list, which is for discussion of development of GCC. For help with GCC use the gcc-help list or to report bugs use bugzilla, thanks. On 19 January 2013 18:58, Jason A. Donenfeld wrote: > /* > * > * The output of this with gcc 4.7.2 is: > * > *

Re: gcc : c++11 : full support : eta?

2013-01-22 Thread Jonathan Wakely
On 22 January 2013 14:29, Alec Teal wrote: > > On 22/01/13 14:20, Andrew Haley wrote: >> >> On 01/22/2013 12:55 PM, Alec Teal wrote: >>> >>> On 22/01/13 09:00, Andrew Haley wrote: On 01/22/2013 06:01 AM, Mayuresh Kathe wrote: > > Hello, may I know the estimated timeframe by which

Re: gcc : c++11 : full support : eta?

2013-01-22 Thread Jonathan Wakely
On 22 January 2013 17:12, Alec Teal wrote: > On 22/01/13 17:00, Jonathan Wakely wrote: >> >> >> Crap reply, it's just wishful thinking. Who says GCC has to or will >> "finish" when Clang does? Are you going to do the missing work? Or >> get som

Re: gcc : c++11 : full support : eta?

2013-01-22 Thread Jonathan Wakely
On 22 January 2013 17:30, Alec Teal wrote: > You totally missed the point there. Stop being Mr Defensive btw. Stop swearing and criticising people for responses you don't like. > Bitching about the year the versions of GCC and Clang were made to try and > diffuse just one person's (potentially wr

Re: gcc : c++11 : full support : eta?

2013-01-22 Thread Jonathan Wakely
On 22 January 2013 16:52, NightStrike wrote: > On Tue, Jan 22, 2013 at 4:41 AM, Robert Dewar wrote: >> Anyway, it still comes down to figuring out how to find the resources. >> Not clear that there is commercial interest in rapid implementation >> of c++11, we certainly have not heard of any such i

Re: gcc : c++11 : full support : eta?

2013-01-22 Thread Jonathan Wakely
On 22 January 2013 18:02, Alec Teal wrote: > On 22/01/13 17:47, Jonathan Wakely wrote: >> >> On 22 January 2013 16:52, NightStrike wrote: >>> >>> On Tue, Jan 22, 2013 at 4:41 AM, Robert Dewar wrote: >>>> >>>> Anyway, it still comes down

Re: gcc : c++11 : full support : eta?

2013-01-22 Thread Jonathan Wakely
On 22 January 2013 17:51, Alec Teal wrote: > On 22/01/13 17:40, Jonathan Wakely wrote: >> >> On 22 January 2013 17:30, Alec Teal wrote: >>> >>> You totally missed the point there. Stop being Mr Defensive btw. >> >> Stop swearing and criticising people

Re: gcc : c++11 : full support : eta?

2013-01-22 Thread Jonathan Wakely
On 22 January 2013 19:13, Alec Teal wrote: > > I meant "out there" not with GCC, I do think macros have a use, a report of > the form "expanded from: " would be helpful, and some sort of callstack-like > output? GCC 4.8 does something like that. It isn't perfect yet, but it's pretty good.

Re: hard typdef - proposal - I know it's not in the standard

2013-01-23 Thread Jonathan Wakely
On 23 January 2013 06:53, Alec Teal wrote: > Why not: > > make an "optional keyword", "hard", have a meaning if before "typedef", I > suggest tokenising "hard" as a normal token (however it is processed now why > change it? I am not sure on GCCs exact grammar for c languages) but if AND > ONLY if i

Re: gcc : c++11 : full support : eta?

2013-01-23 Thread Jonathan Wakely
On 23 January 2013 07:11, Uday Khedker wrote: > > This is because no matter what one has done, unless one has contributed > code, one is not considered a contributor to GCC. There are people credited in http://gcc.gnu.org/onlinedocs/gcc/Contributors.html for documentation or bug triage work.

Re: Compiling GCC problems

2013-01-23 Thread Jonathan Wakely
Please use the gcc-help mailing list for discussing using and building GCC, rather than this list. Please take any follow up there, thanks. On 23 January 2013 08:25, Alec Teal wrote: > On 23/01/13 08:19, Alec Teal wrote: >> >> On 23/01/13 08:16, Alec Teal wrote: >>> >>> configure went well but I

Re: hard typdef - proposal - I know it's not in the standard

2013-01-23 Thread Jonathan Wakely
On 23 January 2013 09:15, Alec Teal wrote: > I was fearful of using the word attribute for fear of getting it wrong? What > is "this part" of the compiler called I think attributes are handled in the front end and transformed into something in the compiler's "tree" data structures. FWIW I've usua

Re: hard typdef - proposal - I know it's not in the standard

2013-01-24 Thread Jonathan Wakely
On 24 January 2013 16:21, Alec Teal wrote: > That's because this has nothing to do with objects, in the paper that was > linked (called "strong typing") it implemented new types rather like > objects, "using score = public int { //definitions }; for example, > "extending an int" effectively, this i

Re: hard typdef - proposal - I know it's not in the standard

2013-01-28 Thread Jonathan Wakely
On 28 January 2013 06:18, Alec Teal wrote: > the very > nature of just putting the word "hard" before a typedef is something I find > appealing I've already explained why that's not likely to be acceptable, because identifiers are allowed before 'typedef' and it would be ambiguous. You need a diff

Re: Bootstrapping process

2013-02-01 Thread Jonathan Wakely
On 1 February 2013 21:27, Alec Teal wrote: > Nevermind, http://gcc.gnu.org/onlinedocs/ this is amazing and linked to from > the gcc-melt link. And linked to from the GCC home page ... I kinda assumed when asking for something to read you'd looked at the GCC web pages already. If you say what you'

Re: problems compiling 4.7, with Solaris cc and/or Solaris CC (C++)

2013-02-09 Thread Jonathan Wakely
On 9 February 2013 23:49, Jay K wrote: > problems compiling 4.7, with Solaris cc and/or Solaris CC (C++) > > > 1) ENUM_BITFIELD is not portable. I've reported this before. Have you reported it to bugzilla? > It is likely that in 4.8 this is moot, as the C++ case will be the only one > remaining

Re: Use of templates in c code?

2013-02-13 Thread Jonathan Wakely
On 13 February 2013 15:33, Alec Teal wrote: > > A few questions, what is this stage 1? (link to documentation please, or a > descriptive answer). See http://gcc.gnu.org/develop.html > for the choice of file extension, this is really a tiny thing, but I do have > a reason for .cpp > http://stacko

Re: Use of templates in c code?

2013-02-13 Thread Jonathan Wakely
On 13 February 2013 15:33, Alec Teal wrote: > I'm also thinking of re-writing the C++ parser there are some interesting > todos (using lookahead rather than "try the next option") it's a topic I > enjoy and something I could (probably) do, especially given a working > version already. thoughts and

Re: Use of templates in c code?

2013-02-13 Thread Jonathan Wakely
On 13 February 2013 16:32, Alec Teal wrote: > On 13/02/13 16:11, Jonathan Wakely wrote: >> >> On 13 February 2013 15:33, Alec Teal wrote: >>> >>> A few questions, what is this stage 1? (link to documentation please, or >>> a >>> descriptive

Re: Use of templates in c code?

2013-02-13 Thread Jonathan Wakely
On 13 February 2013 17:01, Alec Teal wrote: > > On 13/02/13 17:00, Jonathan Wakely wrote: >> >> >> I read it. That's not debate, just ill-informed speculation ("cpp is >> the recommended extension for C++ as far as I know"). We already have >>

Re: C/C++ Option to Initialize Variables?

2013-02-18 Thread Jonathan Wakely
On 18 February 2013 13:28, Jeffrey Walton wrote: > The reason I went looking for the flag is someone asked about a crash > on the OpenSSL mailing list. I knew it was due to an uninitialized > field (but they did not realize the value was not initialized). I > wanted to suggest a quick way to find w

Re: C++ conversion: an observation about minimum compiler version

2013-03-04 Thread Jonathan Wakely
On 4 March 2013 19:59, Thierry Moreau wrote: > > The observation is *if* the gcc source code has some C++ depency(ies) which > similarly needs say version>=4.7 and a machine has only gcc 4.4 installed, > then migrating to e.g. gcc 5.3 requires installing v.X, (4.7 <= X < > first-version-that-can't-

Re: 32 bit pointers on a 64 bit system

2013-03-06 Thread Jonathan Wakely
On 6 March 2013 12:38, David McQuillan wrote: > Have there been any implementations of gcc for a 32 bit pointer system where > the registers are 64 bits long? Yes, the new x32 ABI for x86_64, see https://sites.google.com/site/x32abi/ and http://lwn.net/Articles/456731/

Re: [RFC] porting to gcc-4.3 docs

2008-01-11 Thread Jonathan Wakely
"If the old GNU extern inline behavior is desired, one can use extern inline __attribute__((__gnu_inline__)). The use of this attribute can be guarded by #ifdef __GNUC_STDC_INLINE__ which is a macro which is defined when inline has the ISO C99 behavior, or compiled with -fgnu89-inline option." I t

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-12 Thread Jonathan Wakely
On 11/01/2008, Mark Mitchell wrote: > > Exactly so. I think that we have two kinds of pedwarns: those that are > pedantic in the sense we use for C (like, that there cannot be a naked > semicolon at the top-level of a file, or that "long long" is not in > C++98) and those that refer to semanticall

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-12 Thread Jonathan Wakely
On 12/01/2008, Manuel López-Ibáñez <[EMAIL PROTECTED]> wrote: > > Here is an initial patch implementing some of your proposals. I used > pederror as the name of the function. That is, it is an error unless > fpermissive is given. Ah, very fast! :-) I was just starting somethign similar, I provisio

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-13 Thread Jonathan Wakely
On 13/01/2008, Manuel López-Ibáñez <[EMAIL PROTECTED]> wrote: > On 12/01/2008, Jonathan Wakely <[EMAIL PROTECTED]> wrote: > > On 12/01/2008, Manuel López-Ibáñez <[EMAIL PROTECTED]> wrote: > > > > > > Here is an initial patch implementing some of your pr

Re: Changes in C++ FE regarding pedwarns to be errors are harmful

2008-01-13 Thread Jonathan Wakely
On 13/01/2008, Jonathan Wakely wrote: > > I think all others should change to permerrors. I only meant all others in cp/decl.c of course - here are the remaining files. Again I've only listed the ones that should remain as pedwarns and other special cases - most change to permerr

Re: A simple sample code involving templates, friends and lookup

2008-01-17 Thread Jonathan Wakely
On 17/01/2008, Richard Guenther wrote: > > Well, a language lawyer can probably clear things up. From a look > at the std it looks like w/o a previous declaration the above should > be invalid. And at a different point it suggests the decl becomes > available. Yes, at the point of instantiation

Re: A simple sample code involving templates, friends and lookup

2008-01-17 Thread Jonathan Wakely
On 18/01/2008, Jonathan Wakely <[EMAIL PROTECTED]> wrote: > > Yes, at the point of instantiation of Foo the friend is declared, > and can then be found by ADL because Foo is an associated type. > The reference parameter 'x' doesn't cause an instantiation, only &#

Re: A simple sample code involving templates, friends and lookup

2008-01-18 Thread Jonathan Wakely
On 18/01/2008, Dragan Milenkovic <[EMAIL PROTECTED]> wrote: > > Thanks for clarification and info. I believe issue #34 addresses exactly > what we're talking about. > > http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_closed.html#34 Aha, yes ... but strangely that seems to have been closed as Not-A

Re: warning: comparison with string literal results in unspecified behaviour

2008-01-19 Thread Jonathan Wakely
On 19/01/2008, Russell Shaw wrote: > How do i disable that? My code explicitly compares string pointers. Your question is off-topic on this list, which is for development of GCC, please use the gcc-help list for help using the compiler: http://gcc.gnu.org/lists.html -Wno-address will suppress the

Re: [libstdc++] testsuite failures on sparc biarch using -m64: tr1_impl/boost_shared_ptr.h error:

2008-01-21 Thread Jonathan Wakely
On 21/01/2008, Paolo Carlini <[EMAIL PROTECTED]> wrote: > Christian Joensson wrote: > > Now, is there some funny stuff going on here that I simply miss or is > > this what to expect currently? > > > I would suggest compiling the testcase outside the testsuite and having > a look to the pre-processe

Re: [libstdc++] testsuite failures on sparc biarch using -m64: tr1_impl/boost_shared_ptr.h error:

2008-01-25 Thread Jonathan Wakely
On 22/01/2008, Christian Joensson wrote: > 2008/1/21, Jonathan Wakely > > My first guess would be that you've somehow got the C++0x and TR1 > > versions of boost_sp_shared_count.h mixed up and you're including the > > wrong one. > > well, the testsuite

Re: Replying to a mailing list thread

2008-02-02 Thread Jonathan Wakely
On 02/02/2008, Rodrigo Dominguez wrote: > > How do you reply to a thread in the mailing lists? The only way I can > think of is sending an email with the same subject and copy/paste the > thread into the email body. Will this work? No. Just use the "reply" function of your mail program. If you se

Re: Replying to a mailing list thread

2008-02-02 Thread Jonathan Wakely
On 02/02/2008, Rodrigo Dominguez <[EMAIL PROTECTED]> wrote: > > On Sat, 2 Feb 2008, NightStrike wrote: > > > On 2/2/08, Jonathan Wakely <[EMAIL PROTECTED]> wrote: > > > On 02/02/2008, Rodrigo Dominguez wrote: > > > > > > > > How do yo

Re: Replying to a mailing list thread

2008-02-02 Thread Jonathan Wakely
On 02/02/2008, NightStrike wrote: > > I thought this, too, but I just checked (having recently subscribed, I > still had the welcome email). The email doesn't contain any of the > instructions I thought it did. Instead, you have to send a message to I subscribed to this list six months ago and g

Re: [libstdc++] testsuite failures on sparc biarch using -m64: tr1_impl/boost_shared_ptr.h error:

2008-02-04 Thread Jonathan Wakely
On 04/02/2008, Christian Joensson <[EMAIL PROTECTED]> wrote: > > > > > > Thanks for the logs, I don't have any way to test on that platform > > > unfortunately, but it seems that the symlinks for the new shared_ptr > > > headers are missing. I think that would happen if you hadn't done a > > > cle

Re: C++ warnings vs. errors

2008-06-11 Thread Jonathan Wakely
Hi Volker, thanks for picking these issues up. I told Manuel I'd review the rest of the remaining pedwarns, but haven't had time to do it either. 2008/6/11 Volker Reichelt: > * Scopes in for-loops: > > void foo() > { >for (int i=0; i<10; ++i) {} >i = 0; > } > > warn.cc: In function 'vo

Re: C++ warnings vs. errors

2008-06-15 Thread Jonathan Wakely
2008/6/13 Mark Mitchell: > Jonathan Wakely wrote: >> >> Hi Volker, thanks for picking these issues up. I told Manuel I'd >> review the rest of the remaining pedwarns, but haven't had time to do >> it either. > > Just to chime in here: Volker, I a

Re: C++ warnings vs. errors

2008-06-17 Thread Jonathan Wakely
2008/6/12 Jonathan Wakely: > 2008/6/11 Volker Reichelt: >> * Scopes in for-loops: >> >> void foo() >> { >>for (int i=0; i<10; ++i) {} >>i = 0; >> } >> >> warn.cc: In function 'void foo()': >> warn.cc:4:

Re: C++ warnings vs. errors

2008-06-19 Thread Jonathan Wakely
2008/6/18 Mark Mitchell: > Jonathan Wakely wrote: > >> Could a C++ maintainer please review this patch to turn most pedwarns >> into permerrors. > > This patch is OK, with minor nits below. Thanks for working on this! Thanks Mark, I'll submit a revised patch this evening. Jonathan

Re: C++ warnings vs. errors

2008-06-19 Thread Jonathan Wakely
2008/6/18 Mark Mitchell: >> * I don't think the pedwarn in joust() in cp/call.c should be a >> permerror, is this a GNU extension? >> if (warn) >>{ >> pedwarn ("\ >> ISO C++ says that these are ambiguous, even \ >> though the worst conversion for the first is bette

Re: C++ warnings vs. errors

2008-06-19 Thread Jonathan Wakely
Thanks for the review, here's another patch ... 2008/6/18 Mark Mitchell: > >> * Should it really be a hard error for a class to declare itself as a >> friend? I don't think it's expressly forbidden >> e.g. class A { friend class A; }; >> I changed this to a permerror, restoring the old behaviour.

Re: C++ warnings vs. errors

2008-06-21 Thread Jonathan Wakely
2008/6/20 Mark Mitchell: > >> Shall I commit this? > > Yes, please. Thanks, Mark, I've committed it. Volker, all the problems you noticed should be fixed, if you find any other cases that seem wrong please let me know. Cheers, Jonathan

Re: Should we remove java from the default bootstrap languages?

2008-06-23 Thread Jonathan Wakely
2008/6/23 NightStrike: > On 6/23/08, Laurent GUERBY wrote: >> > I think it could also be addressed with the gcc compile farm. I >> > thought that there was some place where we could put patches, and they >> > would be automatically picked up and tested by some sort of automatic >> > scripts a

Some 4.3.2 files not found on ftp.gnu.org

2008-09-02 Thread Jonathan Wakely
Is there any particular reason why gcc-{ada,java,objc}-4.3.2.tar.bz2{,.sig} and gcc-core-4.3.1-4.3.2.diff.gz{,.sig} are not on the GNU FTP site, although they're present on sourceware.org? ftp://sourceware.org/pub/gcc/releases/gcc-4.3.2/ ftp://ftp.gnu.org/gnu/gcc/gcc-4.3.2/ Jonathan

Re: Adding to G++: Adding a warning on throwing unspecified exceptions.

2008-09-25 Thread Jonathan Wakely
2008/9/24 Simon Hill: > Brain Dessent wrote: >> You're essentially trusting that all >> exception specifiers for every function in the program and *all* library >> code are always present and always correct which is a huge leap of faith >> that I don't think is supported by reality. > > I agree tha

GCC 4.1 status on front page

2007-07-16 Thread Jonathan Wakely
The link on gcc.gnu.org for the GCC 4.1 status refers to an email about GCC 4.2 Regards, Jon

Re: STL vector::resize

2007-08-17 Thread Jonathan Wakely
John L. Kulp wrote: > Shouldn't the last (optional) argument be (1) const and (2) a reference > (rather than a potentially very expensive copying call-by-value)? Among > other things, if you have a type declared with alignment attributes, it > will fail on this. I notice the MSVC implementation h

Re: can't reinterpret_cast to/from the same type

2007-09-08 Thread Jonathan Wakely
On 06/09/2007, Peter A. Felvegi <[EMAIL PROTECTED]> wrote: > i don't know if it's a bug, please clarify: > int y = reinterpret_cast(x); > rc.cpp:4: error: invalid cast from type 'int' to type 'int' 5.2.10 in the C++ standard lists the conversions allowed by reinterpret_cast. This is not on

Re: can't reinterpret_cast to/from the same type

2007-09-09 Thread Jonathan Wakely
On 08/09/2007, Joe Buck <[EMAIL PROTECTED]> wrote: > > It still seems odd, and this restriction could make the coding of > templates more complex. Agreed, but I'm not sure making reinterpret_cast convenient to use is a noble aim :-) It should be used a last resort, in the knowledge that the resul

Re: Bug in gcc: assignment to non-lvalue

2007-09-22 Thread Jonathan Wakely
On 21/09/2007, Michiel de Bondt <[EMAIL PROTECTED]> wrote: > Using strings to show my point was not a good idea. You can add a field > "int number" to the struct and perform similar operations (with = > instead of strcpy). I believe Andrew's right and the strcpy case is valid, but you do have a po

Re: Bug in gcc: assignment to non-lvalue

2007-09-24 Thread Jonathan Wakely
On 24/09/2007, Jonathan Adamczewski <[EMAIL PROTECTED]> wrote: > > What about something like the following? > > struct proxy { > T& t; > proxy(T& t_) : t(t_) {} > proxy& operator=(const T& r) { foo(t, r); return *this; } > }; > > struct B { proxy get() { return proxy(bar); } }; > > int

Re: Removal of pre-ISO C++ items from include/backwards

2007-10-25 Thread Jonathan Wakely
On 25/10/2007, Gerald Pfeifer <[EMAIL PROTECTED]> wrote: > On Thu, 25 Oct 2007, Andrew Pinski wrote: > > Well technically these headers have been deprecated since at least 3.2 > > (maybe even back in 3.0) with them producing a warning. So I don't > > know if we should move them or not but we have

Re: Removal of pre-ISO C++ items from include/backwards

2007-10-26 Thread Jonathan Wakely
On 26/10/2007, skaller <[EMAIL PROTECTED]> wrote: > On Thu, 2007-10-25 at 22:56 +0100, Jonathan Wakely wrote: > > The plan is to also move auto_ptr and the old bind1st/bind2nd function > > binders to backward, if/when they are deprecated in C++0x, which would > > g

Re: Optimization of conditional access to globals: thread-unsafe?

2007-10-26 Thread Jonathan Wakely
On 26 Oct 2007 15:20:01 -0700, Ian Lance Taylor <[EMAIL PROTECTED]> wrote: > > It appears that the draft C++0x memory model prohibits speculative > stores. > > Therefore I now think we should aim toward prohibiting them > unconditionally. That memory model is just a draft. But I think we > should

Re: Would you like to give me advice about how to compile gcc?

2007-10-27 Thread Jonathan Wakely
On 27/10/2007, L.Yan <[EMAIL PROTECTED]> wrote: > > I want to build the source of gcc and make '-msoft-float' available. But > I don't know how to build the source code. I just do it as the following > steps: Hi Peter, this list is for discussing the development of gcc. To get help building and u

Re: Fw: error: array type has incomplete element type ??

2007-11-07 Thread Jonathan Wakely
On 07/11/2007, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > This is a part of the code : > -- > extern struct dummy temp[]; > error: array type has incomplete element type > -

Re: dynamic_cast problem

2007-11-13 Thread Jonathan Wakely
On 13/11/2007, ganesh subramonian <[EMAIL PROTECTED]> wrote: > > Can someone tell me why the cast2 fails but cast1 > works? What effect does the cstyle cast have? It makes the program incorrect. This mailing list is for discussion of GCC development, for help using GCC use the gcc-help list. For

Re: Bootstrap failure on i386-pc-solaris2.10

2007-11-17 Thread Jonathan Wakely
On 09/11/2007, Andreas Tobler <[EMAIL PROTECTED]> wrote: > > > > Builds today fail during stage2 when compiling 'reg-stack.c' > > > > $ make bootstrap-lean ... > > { ... lots of stuff snipped ... } > > cc1: warnings being treated as errors > > /export/home/arth/gnu/gcc.git/gcc/reg-stack.c: In funct

Re: Bootstrap failure on i386-pc-solaris2.10

2007-11-17 Thread Jonathan Wakely
On 17/11/2007, Eric Botcazou <[EMAIL PROTECTED]> wrote: > > I'm still seeing the same failure on x86_64-unknown-linux-gnu, is this > > going to get fixed? > > You're not supposed to configure the compiler with --disable-checking as this > disables the internal assertions, use --enable-checking=rele

Re: why are stl template classes not mangled as other classes andtemplates

2007-11-28 Thread Jonathan Wakely
On 28/11/2007, Stephane Hockenhull <[EMAIL PROTECTED]> wrote: > On Wednesday 28 November 2007 14:01, 'Daniel Jacobowitz' wrote: > > On Wed, Nov 28, 2007 at 01:56:58PM -0500, Stephane Hockenhull wrote: > > > hence my question: where is it? > > > > In libstdc++. You have to link with libstdc++ to us

Re: [RFC] WHOPR - A whole program optimizer framework for GCC

2007-12-12 Thread Jonathan Wakely
On 12/12/2007, J.C. Pizarro <[EMAIL PROTECTED]> wrote: > > * The googlish user says > "i'm using the massive googlecc compiler that uses a lot of tons > of libraries > distributed in all the world!" > > * google shutdown => googlecc compiler doesn't work, ended history, byebye. Yet agai

Re: Compiling GCC using an older sysroot

2020-03-11 Thread Jonathan Wakely via Gcc
On Mon, 9 Mar 2020 at 21:56, Paul Smith wrote: > The tricky bit is that although both the host and target are always > x86_64/i686 GNU/Linux systems, I need the generated compiler to run on > much older systems than the one I build it on. > > I have a sysroot I've created (downloading RPMs from old

Re: Compiling GCC using an older sysroot

2020-03-11 Thread Jonathan Wakely via Gcc
On Wed, 11 Mar 2020 at 16:46, Paul Smith wrote: > > On Wed, 2020-03-11 at 14:17 +, Jonathan Wakely wrote: > > On Mon, 9 Mar 2020 at 21:56, Paul Smith wrote: > > > The tricky bit is that although both the host and target are always > > > x86_64/i686 GNU/Linux

Re: Not usable email content encoding

2020-03-16 Thread Jonathan Wakely via Gcc
On Mon, 16 Mar 2020 at 14:13, Martin Liška wrote: > > On 3/16/20 2:54 PM, Alexander Monakov wrote: > > Are you trying to copy from the raw message representation? > > Exactly. That's never been reliable.

Re: Integrating GCC with oss-fuzz

2020-03-17 Thread Jonathan Wakely via Gcc
On Mon, 16 Mar 2020 at 21:15, David Korczynski wrote: > > Hi! > > My name is David Korczynski and I have been doing some work on > integrating fuzzing by way of OSS-Fuzz into the gcc project. This came > out of fuzzing libiberty within the binutils project where we found > several bugs within libib

Re: Not usable email content encoding

2020-03-18 Thread Jonathan Wakely via Gcc
On Wed, 18 Mar 2020 at 21:54, Jim Wilson wrote: > > I'm one of the old timers that likes our current work flow, but even I > think that we are risking our future by staying with antiquated tools. > One of the first things I need to teach new people is now to use email > "properly". It is a barrier

Re: Not usable email content encoding

2020-03-18 Thread Jonathan Wakely via Gcc
N.B. the CC list has got too big and is causing posts to this thread to be held for moderator approval.

Re: Not usable email content encoding

2020-03-18 Thread Jonathan Wakely via Gcc
On Wed, 18 Mar 2020 at 22:45, Joseph Myers wrote: > > On Wed, 18 Mar 2020, Jonathan Wakely via Gcc wrote: > > > > Some git based projects are using gerrit. > > > > Which I looked into previously and decided I didn't like it. If I > > recall correctly, gerri

Re: printf-like function.

2020-03-20 Thread Jonathan Wakely via Gcc
On Fri, 20 Mar 2020 at 07:16, jf wrote: > > Hi all, > > I'm a printf-like function lover. I always found that better than doing > something like out << "blabla : " << var1 << ", blabla" << etc. > > Now, I use a lot of different platforms and to be portable, I'm supposed > to use PRIxxx constants fo

Re: Want to contribute in open source project

2020-03-21 Thread Jonathan Wakely via Gcc
On Sat, 21 Mar 2020 at 15:24, PRIYANSHU ARYA via Gcc wrote: > > Dear Sir/ma'am: > > I'm a new learner wanted to contribute in your open source project so i > want to know how to start contributing in your open source projects and > want to know all the requirements for contributing in your organiz

Re: Can we please have the old mailing list back

2020-03-25 Thread Jonathan Wakely via Gcc
On Wed, 25 Mar 2020 at 04:48, Bernd Edlinger wrote: > > Hi, > > I do not want to start a flame war. > > I just am curious what was the reason why > the old system cannot be used any more? The software it ran on hasn't been maintained for years. > Would there be a possibility to get the old look-a

Re: Changes dueto server migration

2020-03-25 Thread Jonathan Wakely via Gcc
On Wed, 25 Mar 2020 at 05:51, Fangrui Song wrote: > It is really difficult for a non-subscriber to comment now. > There are no To: or Cc: fields on Pipermail. Yes, that's a pain. You can click on the sender's address at the top of the archived mail (or use https://gitlab.com/miscripts/miscripts/-/

Re: Can we please have the old mailing list back

2020-03-25 Thread Jonathan Wakely via Gcc
On Wed, 25 Mar 2020 at 20:29, Bernd Edlinger wrote: > > -On 3/25/20 7:55 PM, Christopher Faylor wrote: > > On Wed, Mar 25, 2020 at 04:23:02PM +0700, Arseny Solokha wrote: > >> I believe the canonical place for the "Linux suff" mailing lists these > >> days is > >> lore.kernel.org, powered by publi

Re: OpenACC

2020-03-26 Thread Jonathan Wakely via Gcc
Please don't cross-post to both the gcc and gcc-help mailing lists. Either your question is about GCC development, or it's about help using GCC, not both. Pick one list. On Thu, 26 Mar 2020 at 08:44, MAHDI LOTFI via Gcc wrote: > > Hello > I am a researcher from Jam Petrochemical company I want to

<    10   11   12   13   14   15   16   17   18   19   >