C++ compatibility

Tony van der Hoff OSLib at mk-net.demon.co.uk
Mon May 29 13:29:02 BST 2000


In fontdbox_object uses the symbol |try| for the try string. This is, of
course a c++ reserved keyword, and therefore its use constitutes a bug.

There does not appear to be any backward-compatible way of fixing this,
so I intend to rename it try_string. Anyone trying to compie using the
old name will see a compile-time error, but binaries will be compatible,
so there's really no harm done.

Comments, anyone?

  
-- 
Tony van der Hoff         |  Mailto:tony at mk-net.demon.co.uk
                          |  Mailto:avanderhoff at iee.org
Buckinghamshire, England  |  http:www.mk-net.demon.co.uk



More information about the oslib-user mailing list