spf-discuss
[Top] [All Lists]

Re: Re: [spf-devel] [POLITICAL INFIGHTING] Difference between spf/spf2 srs/srs2

2004-07-29 06:33:44
In 
<16648(_dot_)56254(_dot_)831477(_dot_)492627(_at_)gargle(_dot_)gargle(_dot_)HOWL>
 Rob McMahon <Rob(_dot_)McMahon(_at_)warwick(_dot_)ac(_dot_)uk> writes:

 > There is *nothing* that libspf does that libspf2 doesn't, and there are
 > lots of things that libspf2 does that libspf doesn't.

Well, there is the fact that it compiles with compilers other than
GCC.

Libspf2 has been compiling on compilers other than GCC for many months
now.  MrB has been compiling it on MS's compilers for months.


(Changing the __attribute__((packed)) on a struct with bitfields whose order
was dependent on machine endianness was just too scary for me.)

The "GCCisms" can be removed via these two defines:

#define __attribute(n)
#define __inline


-wayne