From: Sam Roberts Date: 2004-06-10T23:30:31+09:00 Subject: Re: #include required for Opteron but not Pentium. Quoteing jim@freeze.org, on Thu, Jun 10, 2004 at 03:21:59PM +0900: > On Thursday, 10 June 2004 at 14:06:20 +0900, nobu.nokada@softhome.net wrote: > > > I'm trying to find a solution that works on both 32bit and 64bit > > > machines without code changes. And it would be best if I didn't > > > have to have it fail on a 64bit machine to find out. > > > > Why without changes? It isn't your own code? > > No, it's my code. I just find it a little disconcerting that the missing > include did not even generate a warning for the 32bit compile, but > it is required for the 64bit compile. What compiler are you using? Are you sure you have the warning levels cranked high? Default build options on many compilers won't tell you about this kind of stuff. Sam