Paul Durrant writes:
 > ram vegesna wrote:
 >  >      In my iscsi driver I had a os independent code  ,  which  has
 >  > some  unions  with  name  u  which  are  not  compiling  in  solaris.
 >  > Do we have any definition
 >  >  in solaris to solve this issue.
 >  >
 > 
 > It's ugly, but I suggest you #undef u in your header file. IIRC it's 
 > defined somewhere to point at the user area of a proc structure.

Indeed, or change the code to use some other name.

FWIW, this use of 'u' in a global scope is not confined
to Solaris, and you may hit this same problem elsewhere.

Drew
_______________________________________________
driver-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/driver-discuss

Reply via email to