Subject: Re: cdev vs. bdev (32 bit dev_t)
To: Jason Brazile <jason@sunra.csci.unt.edu>
From: Jason Thorpe <thorpej@nas.nasa.gov>
List: tech-kern
Date: 01/13/1998 09:37:16
On Tue, 13 Jan 1998 09:47:10 -0600 (CST)
Jason Brazile <jason@sunra.csci.unt.edu> wrote:
> > (On a sidenote, is there an easy way to make a major() macro turn into an
> > error that GCC will actually display instead of just a `syntax error'?)
>
> Something like this perhaps?
>
> #error "You lose"
Unfortnately, you'll get that error when you build whether or not you
actually use major() ...
Jason R. Thorpe thorpej@nas.nasa.gov
NASA Ames Research Center Home: +1 408 866 1912
NAS: M/S 258-6 Work: +1 650 604 0935
Moffett Field, CA 94035 Pager: +1 415 428 6939