Re: [BeOS] #ifdef in xp/... ?


Subject: Re: [BeOS] #ifdef in xp/... ?
From: sam th (sam@uchicago.edu)
Date: Mon Jul 24 2000 - 23:42:58 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 24 Jul 2000 baron.users@free.fr wrote:

> Hi all,
>
> I just wanted to see some green in Tinderbox BeOS column...
>
> BeOS does not support restartable mbtowc (and surch) nor
> does it defines m_state. I've read in the guidelines (rule #6 ?)
> that #ifdef <platform> is not allowed in cross-platform code.
>
> So my question : how to fix the build ? Should ut_mbtowc.cpp
> be platform-specific ?
>

Well, platform-specific #ifdef's wouldn't make much sense in platform
specific code (although we found #ifdef WIN32 in some Unix code a while
back). :-)

Seriously, if this rule needs to be broken (and differing system libraries
would seem to be a good case) then do what you have to do. I too want
BeOS to be green.
           
                                     sam th
                                     sam@uchicago.edu
                                http://www.abisource.com/~sam/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.1 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE5fRrVt+kM0Mq9M/wRAnizAJ9V8NN0gED6iaNsvJTOTmzseQbLegCfT3NP
kJDZdFtGnYIoESkTD6y0CgA=
=yf1+
-----END PGP SIGNATURE-----



This archive was generated by hypermail 2b25 : Mon Jul 24 2000 - 22:36:49 CDT