This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: DOS/Windows-specific code: values.c


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?

Kevin


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]