lkml.org 
[lkml]   [1996]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: SCSI device numbering (was: Re: Ideas for v2.1
Date
From
> > : > POSIX requires dev_t to be an arithmetic type (so it cannot be a struct),
>
> > : One word of warning --- this will break POSIX. "gcc -ansi
> > : -pedantic-errors" will not compile code with long long declarations.
> > : Any truly, strictly ANSI environment won't be able to compile programs
> > : referencing a 64-bit dev_t.
>
> > Yes, but that can be repaired just by changing an include file.
>
> No, not easily. "gcc -ansi -pedantic-errors" will NOT give you any
> way of declaring a 64-bit arithmetic type on Intel.

I _DO_ like the idea of all future GCC versions having 'long' = 64-bits.
This should be fairly easy to do since we already have a 'linux' version
of GCC, and it would be a portable change.

This would break a minimum amount of code (which was broken to begin
with). A simple switch (example: -msmall-long or -mbig-long) could
also be added.

--
Andrew E. Mileski
mailto:aem@ott.hookup.net My home page http://www.redhat.com/~aem/
Linux Plug-and-Play Project Leader. See URL http://www.redhat.com/pnp/

Red Hat Software sponsors these pages - I have no other affilitation
with Red Hat Software, and I have never used any of their products.


\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.145 / U:1.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site