Alexander Pyhalov <[email protected]> wrote:

> /usr/lib/cpp -V
> cpp: Software Generation Utilities (SGU) SunOS/SVR4
>
> $ /usr/lib/cpp /usr/include/asm/byteorder.h  >/tmp/sun.cpp
> "/usr/include/sys/isa_defs.h", line 476: undefined control
>
> $ ./build/prototype/i386/usr/lib/cpp /usr/include/asm/byteorder.h > 
> /tmp/s.cpp
>
> $ sed -i -e '/^#/d' -e '/^$/d' /tmp/sun.cpp
> $ sed -i -e '/^#/d' -e '/^$/d' /tmp/s.cpp

A hint on my tests:

I fetched your include files and checked suncpp vers my cpp and the relevant
difference is only whitspace in one line:

297c297
<       long    fds_bits[(((1024)+(( (sizeof (fds_mask) * 8))-1))/( (sizeof 
(fds_mask) * 8)))];
---
>       long    fds_bits[       (((1024)+(( (sizeof (fds_mask) * 8)     )-1))/( 
> (sizeof (fds_mask) * 8) ))];

So it seems that you either did not use my original cpp for testing or a 
different version of the suncpp.

Jörg

-- 
 EMail:[email protected]                    (home) Jörg Schilling D-13353 Berlin
       [email protected] (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.org/private/ 
http://sourceforge.net/projects/schilytools/files/'


-------------------------------------------
illumos-discuss
Archives: https://www.listbox.com/member/archive/182180/=now
RSS Feed: https://www.listbox.com/member/archive/rss/182180/21175430-2e6923be
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=21175430&id_secret=21175430-6a77cda4
Powered by Listbox: http://www.listbox.com

Reply via email to