Strange Behavior

2007-03-08 Thread Eric Lemings
Greetings, While writing a generic C++ algoririthm for base64 encoding, I came across some very strange behavior. If you take the following program (admittedly verbose for debugging purposes) and test it on some data, say the logo image from www.google.com, you may notice (depending on your plat

Bitfield conversion bug in 4.2?

2007-03-19 Thread Eric Lemings
Hi, The following code compiles fine in GCC 4.1. enum E { e }; struct S { E v:5; }; S s; int main() { if (!s.v) return 0; } In 4.2 (20070307), it gives the following error: test.cpp: In function 'int main()': test02.cpp:6: error:

gcc-4.0.0 build failed

2005-04-21 Thread Eric Lemings
FYI, Downloaded gcc-core-4.0.0.tar.bz and gcc-g++-4.0.0.tar.bz2. Uncompressed both and did a configure followed by a make. Got the following error from make: make[1]: *** No rule to make target `../include/ansidecl.h', needed by `regex.o'. Stop. make[1]: Leaving directory `/usr/local/src/redhat/

Re: gcc-4.0.0 build failed

2005-04-21 Thread Eric Lemings
On Thu, 2005-04-21 at 22:27 -0600, Eric Lemings wrote: ... > So again, I had to create links for install-sh and config.sub in order > to proceed with the build. Haven't run into any other errors yet but > the build is still going... > > Eric. Build was successful after that.

RE: Excluding C++ Library Code

2006-01-18 Thread Eric Lemings
> -Original Message- > From: Daniel Jacobowitz [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 18, 2006 1:17 PM > To: Eric Lemings > Cc: '[EMAIL PROTECTED]' > Subject: Re: Excluding C++ Library Code > > > On Wed, Jan 18, 2006 at 01:08:55PM -07