From: Gwenole B. <gb...@di...> - 2001-04-12 07:37:19
|
On Thu, 12 Apr 2001 ni...@in... wrote: > The one in user_strings.h is necessary for some compilers which > report the "extern user_string_def" declarations as an error. > (which it definately is - a structure name is being used as a type) A structure name is a type name in C++. No need for typedef. > The version.h one is to allow multiple files to include it. > I need this in the MacOS port, where main_MacOXS.m writes a > version number to stdout on program loading, and the "About" > window also needs a version number. In C++, a constant with no extra specificiers has file scope, by default. So, =09const int dummy =3D 10; is strictly the same as =09static const int dummy =3D 10; Therefore, if you need the "static" specifier for Objective-C++, we can't add it but it's not necessary. > 2) I have a tarball of Mac OS X source and assorted files ready to > be included. It builds cleanly against the 0.9 snapshot, autoconf > works, it has html documenting what is still to be implemented, > et cetera. Cool. Probably, we could just commit your MacOS X port into CVS ? What about the Windows version as well ? > I also have a tarball containing the executable, but have nowhere > to put it up for FTP/HTTP access. Christian, if you are willing to > add a Mac OS X section on the main B2 webpage, that would be ideal Nigel, I forgot to report it to you. The binary you sent me would not want to save the prefs and therefore, when I try to run the emulator, I get an error about the ROM that could not be found. > Would anyone object to there being stuff like: > > /* > * sysdeps.h - System dependent definitions for Unix > * > * $Id: sysdeps.h,v 1.17 2001/02/02 20:52:58 cebix Exp $ > * > * Basilisk II (C) 1997-2001 Christian Bauer > > in each file? I don't object but hey, Christian has full powers ;-) Bye, Gwenol=E9. |