On Sun, 29 Feb 2004, Szakacsits Szabolcs wrote:
> On Sun, 29 Feb 2004, Anton Altaparmakov wrote:
> > 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
>
> No they are C++ features (check out the specs). It's a gcc bug it allows
> them in C files. Even gcc warns during compilation ... well, maybe yours
> doesn't:
>
> cc1: warning: ignoring command line option '-fms-extensions'
> cc1: warning: (it is valid for C++ but not the selected language)
>
> And I can easily imagine it will be disabled in the future for C files.
No. gcc 3.2 warns but gcc 3.3 doesn't warn, just works, so seems to be
accepted now.
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/
|