Re: Heapless C/C++

2011-10-08 Thread Charles Wilson
On 10/8/2011 12:59 PM, Jonathan Wakely wrote: > On 8 October 2011 17:37, Charles Wilson wrote: >> >> Not hopeless; but you have to treat C++ simply as a slightly more >> expressive version of C, follow the same rules previously outlined just >> as if you WERE using C, a

Re: Heapless C/C++

2011-10-08 Thread Charles Wilson
On 10/8/2011 6:05 AM, Jonathan Wakely wrote: > If you're using RAII consistently and correctly then the problems > associated with heap memory go away, so you don't need to avoid the > heap. If you're not using RAII correctly, your proposal won't work > anyway and you'll leak memory. So what's th

Re: Broken bootstrap on Cygwin

2011-02-07 Thread Charles Wilson
On 2/7/2011 3:50 PM, Angelo Graziosi wrote: > I do not understand the logic here: break GCC trunk for something that > hasn't been yet released. > > Often new Cygwin version was announced as imminent and the true release > delayed for months.. Never happened. Even the interminable 1.7.0 release

Re: Broken bootstrap on Cygwin

2011-02-07 Thread Charles Wilson
On 2/7/2011 1:41 PM, Angelo Graziosi wrote: > Current trunk, rev. 169888, fails to bootstrap on Cygwin with this error: > > [...] > /tmp/gcc-4.6-r169888/libgcc/config/libbid/bid_decimal_globals.c:47:18: > fatal error: fenv.h: No such file or directory > compilation terminated. > make[2]: *** [bid_

Re: dg-error vs. i18n?

2009-10-24 Thread Charles Wilson
Andreas Schwab wrote: > Dave Korn writes: > >> I'll check. Joseph's suggestion sounds likely: I think Cygwin just >> switched >> to use lots of UTF-8 internally, so I might well need to specify an encoding >> as well. (Sorry for not being as well educated in this field as I really >> ought to

Re: dg-error vs. i18n?

2009-10-23 Thread Charles Wilson
[cross-posted to cygwin list] Background for cygwin list: Dave discovered a problem running some of the gcc tests. The tests were run in the "C" locale, but in so doing they assumed an ascii encoding (specifically, that "'" would match ' in test patterns -- but the program actually emitted those

Re: [cygwin] Can't boostrap current gcc trunk with libjava: ../../../gcc/libjava/classpath/native/fdlibm/mprec.h:297:1: error: "_EXFUN" redefined

2007-04-16 Thread Charles Wilson
Tom Tromey wrote: > That is new to me, but then I don't build on Cygwin. > Where does /usr/include/_ansi.h come from? > > Anyway, try adding a "#undef _EXFUN" in the appropriate place in > mprec.h. If that works for you, send it to me and I will check it in. Are you sure forcibly redefining _EXF

Re: libgfortran Makefile question (using latest libtool)

2007-03-21 Thread Charles Wilson
On Wed, 21 Mar 2007 14:49:43 -0700 (PDT), "Steve Ellcey" said > > From: Charles Wilson <[EMAIL PROTECTED]> ^ fix your mailer > > The --tag option is added by automake-1.9 or automake-1.10, but no

Re: libgfortran Makefile question (using latest libtool)

2007-03-21 Thread Charles Wilson
It does not look like this is the default. I don't see any use of --tag in the libtool config output (nor do I see where the -MD, -MP, -MF flags are coming from). Steve Ellcey [EMAIL PROTECTED] % ./libtool --config | grep -e LT -e CC -e tag LTCC="/proj/opensrc/sje/svn.libtool/build-ia64-hp-

Re: AC_LIBTOOL_WIN32_DLL for libgfortran [also Re: Updating libtool in GCC and srctree]

2007-03-18 Thread Charles Wilson
> For example, this AC_LIBTOOL_WIN32_DLL macro was > removed/deprecated from libtool three years ago. What should be used with a recent libtool? And where is it documented? There is no need for any special consideration to create a DLL with modern libtool. One just needs --enable-shared at con