Bug#108663: funky bug

2001-10-02 Thread Daniel Jacobowitz
On Tue, Oct 02, 2001 at 11:14:48AM -0700, Bruce A. Mah wrote: > So it's: > > #if defined(__linux__) && defined(__GLIBC__) && !defined(__FAVOR_BSD) > > /* defines go in here */ > > #endif > > Is that right? What happens on a non-Linux system running glibc? (Or > is this not

Bug#108663: funky bug

2001-10-02 Thread Bruce A. Mah
If memory serves me right, Daniel Jacobowitz wrote: > On Fri, Sep 28, 2001 at 06:40:22PM -0400, Matt Zimmerman wrote: > > I believe Linux is the OS that pchar woks on that uses different names for > > the members of struct udphdr. Until now, _BSD_SOURCE has provided a way to > > have things "just

Bug#108663: funky bug

2001-09-28 Thread Daniel Jacobowitz
On Fri, Sep 28, 2001 at 06:40:22PM -0400, Matt Zimmerman wrote: > (Bruce: see http://bugs.debian.org/108663 for background) > > On Wed, Sep 26, 2001 at 02:18:42PM -0400, Daniel Jacobowitz wrote: > > > -D_GNU_SOURCE is absolutely necessary to use libstdc++ v3.0. Thus, G++ > > 3.0 automatically de

Bug#108663: funky bug

2001-09-28 Thread Matt Zimmerman
(Bruce: see http://bugs.debian.org/108663 for background) On Wed, Sep 26, 2001 at 02:18:42PM -0400, Daniel Jacobowitz wrote: > -D_GNU_SOURCE is absolutely necessary to use libstdc++ v3.0. Thus, G++ > 3.0 automatically defines it. > > You're not going to be able to do anything about that :) I r

Bug#108663: funky bug

2001-09-26 Thread Daniel Jacobowitz
On Wed, Sep 26, 2001 at 01:20:05PM -0400, Matt Zimmerman wrote: > > If I do > > > > g++ -E -c -D_BSD_SOURCE /usr/include/netinet/udp.h > > > > then I can see the BSD definitions (uh_sport etc), both on i386 and hppa. > > But if I do > > > > g++-3.0 -E -c udphdrtest.c > > > > then I see the non-

Bug#108663: funky bug

2001-09-26 Thread Matt Zimmerman
On Wed, Sep 26, 2001 at 10:59:12PM +1000, Hamish Moffatt wrote: > This is a pretty funky bug. I've been experimenting with it, as I have > an hppa machine of my own. I have all the latest sid updates installed. > > The difference seems to be g++ 3.0 on hppa. You can replicate it on > i386 (etc) w