Suggestions

Ainsley Pereira marble at executor.karoo.co.uk
Thu Apr 27 19:33:14 BST 2000


In message <iQGB8EAQxCC5EwJr at mk-net.demon.co.uk> you wrote:

> In the RISC OS environment, the 'bug' actually only exists under G++.
> Neither C nor CFront define bool at all. How come G++ doesn't spot the
> mis-use of the bool keyword in types.h?

It does. So far I'd just #ifdef'd it out myself, and -by luck- not
actually used anything that passed a bool around.

> Next, should we change, as Jonathan suggested, |bits| and |byte| for
> consistency? Again I'd be inclined to leave them alone; they are oslib-
> specific anyway, and presently don't present a problem.

Then we'd have osbyte. That'd certainly confuse me, what with the
os_byte SWI, and me being simple an' all :-) Besides, everything I've
ever seen that defines a byte type defines it as 8 bits, so it's not
drastically incompatible like bool was.

~A.

-- 
 -----------------------------------------------------------
   / Ainsley Pereira       /   aka Marble on Snowplains   /
  /                       / telnet://snowplains.org:3456 /
 ------------------------------------------------------------



More information about the oslib-user mailing list