Yep. You actually need to put the pragma inline, rather than as a macro -
at least when using VC++6. This is one of the reasons Stallman uses to
justify use of __attribute__ rather than pragma.
-joe
On Sat, 7 Dec 2002, Anton Altaparmakov wrote:
> Hi,
>
> On Sat, 7 Dec 2002, Yuri Per wrote:
> > All this things will not work because MS compiler can change packing
> > options only with #pragma.
>
> Yes I know but why should it not work? Do pragma's get evaluated before
> defines? That would be the only reason I could see for it not working...
>
> Best regards,
>
> Anton
> --
> Anton Altaparmakov <aia21 at cantab.net> (replace at with @)
> Linux NTFS maintainer / IRC: #ntfs on irc.freenode.net
> WWW: http://linux-ntfs.sf.net/ & http://www-stu.christs.cam.ac.uk/~aia21/
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Linux-NTFS-Dev mailing list
> Lin...@li...
> https://lists.sourceforge.net/lists/listinfo/linux-ntfs-dev
>
|