On Sun, 29 Feb 2004, john doe wrote:
> > What compiler are you trying to use?!?
>
> I was using gcc 3.2.3 (mingw port) and 3.2
And they don't support -fm-extensions? I am very surprised!
> I should try others versions as well, but thats not the point here, I
> have orginally asked why wasn't the patch applied to both the kernel
> driver & the library, that wasn't quite answared yet.
I did it in the kernel because people kept complaining that it didn't
compile for them and I got bored of answering the support requests so I
did the change. For the user space code it is very different. We have
./configure which detects what compiler you are using and tells you to get
lost if your compiler doesn't support -fms-extensions. And that's fine
with me. Unnamed structs and unions are damn nice C feature and I can't
understand why the gcc mob don't just support them straight out. They are
IMO incredibly useful in making code look nice and simple and give some
inteligence to the compiler. I personally really, really like them.
That's why they are there and I would really like them to stay there but
if you have a good reason why they don't work for you then I am willing to
have them removed like I did in the kernel. I still don't understand why
you have a problem with the unnamed structs and unions considering your
gcc should support them... Could you explain?
> I am willing to take the job, once you choose the naming format.
Cool. How about you do the first part using the same naming format as in
the kernel for a start? I am not convinced I want the existing code
modified to use abstractions beyond that otherwise the kernel code would
look completely different to the utilities and I _hate_ those
functions/macros that hide structures in them and considering I am really
the only person working on the kernel driver I am not going to start using
something I hate there... (-;
Best regards,
Anton
--
Anton Altaparmakov <aia21 at cam.ac.uk> (replace at with @)
Unix Support, Computing Service, University of Cambridge, CB2 3QH, UK
Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
|