|
|
Subscribe / Log in / New account

Would you like signs with those chars?

Would you like signs with those chars?

Posted Oct 25, 2022 16:20 UTC (Tue) by khim (subscriber, #9252)
In reply to: Would you like signs with those chars? by pbonzini
Parent article: Would you like signs with those chars?

> I suspect most x86 developers have never heard of Lattice C. :)

They may not have heard about it, but they definitely know its properties. Lattice C is maiden name of Microsoft C and I doubt x86 developers who have never heard about Microsoft C exist.

P.S. Yes, Microsoft C 3.0 is independent rewrite but it had to be compatible with Microsoft C 1.x and 2.x and thus it had to be compatible with Lattice C, too.


to post comments

Would you like signs with those chars?

Posted Oct 26, 2022 14:29 UTC (Wed) by eru (subscriber, #2753) [Link]

I recall Microsoft C switched to signed characters in that rewrite, probably to be compatible with most Unix compilers. Xenix used Microsoft C as its system compiler, so compatibility helped porting. That is when I found out about the indeterminate behaviour of char in real life.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds