From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christopher Faylor To: gdb@sources.redhat.com Subject: Re: DOS/Windows-specific code: values.c Date: Wed, 09 May 2001 07:01:00 -0000 Message-id: <20010509095921.B31509@redhat.com> References: <20010503211502.21716.qmail@web6401.mail.yahoo.com> <3AF1DAA0.3060702@cygnus.com> <200105071609.TAA24129@is.elta.co.il> <200105081155.OAA06330@is.elta.co.il> <1010509065838.ZM22280@ocotillo.lan> X-SW-Source: 2001-05/msg00184.html On Tue, May 08, 2001 at 11:58:38PM -0700, Kevin Buettner wrote: >On May 8, 2:55pm, Eli Zaretskii wrote: > >> * values.c:unpack_double() >> >> /* Unsigned -- be sure we compensate for signed LONGEST. */ >> #if !defined (_MSC_VER) || (_MSC_VER > 900) >> return (ULONGEST) unpack_long (type, valaddr); >> #else >> /* FIXME!!! msvc22 doesn't support unsigned __int64 -> double */ >> return (LONGEST) unpack_long (type, valaddr); >> #endif /* _MSC_VER */ >> >> There's _got_ to be a better way to do this! > >Is this even an issue any longer? I.e, is the version of MSC being >catered to by the above ifdefs still in widespread use? It's a complete non-issue. I really don't think that gdb is compilable with MSVC of any version. I'm removing the conditionals. cgf