public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* gcc 2.95.3-5 inline patch
@ 2002-05-06 10:18 Jason Tishler
  2002-05-06 10:44 ` gcc 2.95.3-5 inline patch [FAQ alert] Christopher Faylor
  0 siblings, 1 reply; 4+ messages in thread
From: Jason Tishler @ 2002-05-06 10:18 UTC (permalink / raw)
  To: Cygwin

[-- Attachment #1: Type: text/plain, Size: 711 bytes --]

Chris,

The attached patch eliminates warnings such as the following:

In file included from /usr/include/g++-3/set:31,
                 from ../main.cc:145:
/usr/include/g++-3/stl_tree.h: In function `int __black_count(_Rb_tree_node_base *, _Rb_tree_node_base *)':
/usr/include/g++-3/stl_tree.h:1258: warning: can't inline call to `int __black_count(_Rb_tree_node_base *, _Rb_tree_node_base *)'
/usr/include/g++-3/stl_tree.h:1266: warning: called from here

See the following for further motivation:

    http://cygwin.com/ml/cygwin-apps/2002-05/msg00126.html
    http://cygwin.com/ml/cygwin-apps/2002-05/msg00127.html

Would you be willing to accept this patch into the Cygwin gcc source tree?

Thanks,
Jason

[-- Attachment #2: stl_tree.h.diff --]
[-- Type: text/plain, Size: 331 bytes --]

--- stl_tree.h.orig	Mon May  6 10:38:33 2002
+++ stl_tree.h	Mon May  6 10:38:52 2002
@@ -1253,7 +1253,7 @@ _Rb_tree<_Key, _Value, _KoV, _Compare, _
                                              upper_bound(__k));
 }
 
-inline int 
+int 
 __black_count(_Rb_tree_node_base* __node, _Rb_tree_node_base* __root)
 {
   if (__node == 0)

[-- Attachment #3: stl_tree.h.ChangeLog --]
[-- Type: text/plain, Size: 144 bytes --]

Mon May  6 13:18:11 2002  Jason Tishler <jason@tishler.net>

	* stl/stl_tree.h (__black_count): Remove inline to eliminate compiler
	warnings.


[-- Attachment #4: Type: text/plain, Size: 214 bytes --]

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc 2.95.3-5 inline patch [FAQ alert]
  2002-05-06 10:18 gcc 2.95.3-5 inline patch Jason Tishler
@ 2002-05-06 10:44 ` Christopher Faylor
  2002-05-06 10:50   ` Gcc-3.1 and binutils under cygwin [Was: gcc 2.95.3-5 inline patch [FAQ alert]] Christian Jönsson
  2002-05-07  6:10   ` gcc 2.95.3-5 inline patch [FAQ alert] David Starks-Browning
  0 siblings, 2 replies; 4+ messages in thread
From: Christopher Faylor @ 2002-05-06 10:44 UTC (permalink / raw)
  To: cygwin

On Mon, May 06, 2002 at 01:25:58PM -0400, Jason Tishler wrote:
>Chris,
>Would you be willing to accept this patch into the Cygwin gcc source tree?

I'm not going to be issuing any new gcc releases until sometime after
3.1.

I guess this needs to be a FAQ or something.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Gcc-3.1 and binutils under cygwin [Was: gcc 2.95.3-5 inline patch [FAQ alert]]
  2002-05-06 10:44 ` gcc 2.95.3-5 inline patch [FAQ alert] Christopher Faylor
@ 2002-05-06 10:50   ` Christian Jönsson
  2002-05-07  6:10   ` gcc 2.95.3-5 inline patch [FAQ alert] David Starks-Browning
  1 sibling, 0 replies; 4+ messages in thread
From: Christian Jönsson @ 2002-05-06 10:50 UTC (permalink / raw)
  To: cygwin

Hello Chris.

Gcc-3.1 is coming out pretty well under cygwin. I'd hope for a gcc-3.1.x
cygwin package also. Even gcj/libjava/libgcj is coming out well, perhaps
in a 3.1.x release but at least pretty good on the trunk.

I'd also like to see a newer binutils on cygin once a gcc-3.1 cygwin
package is being worked on.

Cheers,

/ChJ

-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Christopher Faylor
Sent: Monday, May 06, 2002 7:45 PM
To: cygwin@cygwin.com
Subject: Re: gcc 2.95.3-5 inline patch [FAQ alert]


On Mon, May 06, 2002 at 01:25:58PM -0400, Jason Tishler wrote:
>Chris,
>Would you be willing to accept this patch into the Cygwin gcc source 
>tree?

I'm not going to be issuing any new gcc releases until sometime after
3.1.

I guess this needs to be a FAQ or something.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/




--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: gcc 2.95.3-5 inline patch [FAQ alert]
  2002-05-06 10:44 ` gcc 2.95.3-5 inline patch [FAQ alert] Christopher Faylor
  2002-05-06 10:50   ` Gcc-3.1 and binutils under cygwin [Was: gcc 2.95.3-5 inline patch [FAQ alert]] Christian Jönsson
@ 2002-05-07  6:10   ` David Starks-Browning
  1 sibling, 0 replies; 4+ messages in thread
From: David Starks-Browning @ 2002-05-07  6:10 UTC (permalink / raw)
  To: cygwin

On Monday 6 May 02, Christopher Faylor writes:
> I'm not going to be issuing any new gcc releases until sometime after
> 3.1.
> 
> I guess this needs to be a FAQ or something.

OK.

David
(Cygwin FAQ maintainer)


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-05-07 13:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-06 10:18 gcc 2.95.3-5 inline patch Jason Tishler
2002-05-06 10:44 ` gcc 2.95.3-5 inline patch [FAQ alert] Christopher Faylor
2002-05-06 10:50   ` Gcc-3.1 and binutils under cygwin [Was: gcc 2.95.3-5 inline patch [FAQ alert]] Christian Jönsson
2002-05-07  6:10   ` gcc 2.95.3-5 inline patch [FAQ alert] David Starks-Browning

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).