After testing this patch, I tried checking it in, but I'm getting an error:
$ svn commit src
Authentication realm: <https://svn.sourceforge.net:443> SourceForge
Password for 'astraw':
svn: Commit failed (details follow):
svn: MKACTIVITY of
svn: Your commit message was left in a temporary file:
I tried a couple of times to make sure I got the password right, but it
still didn't go. Does anyone know what's going on? This would have been
my first commit since we switched to subversion.
Anyhow, it looks like I can't apply the other patches right now, so I'm
giving up for the time being.
James Evans wrote:
When compiling with less forgiving compilers
('MSVC', 'g++ --pedantic') there are a few sections of
code that will fail. The attatched SVN diff file will
patch the code to remedy this.
The patch is as follows:
-- In several places arrays are initialized with a
variable for the length. As per Stroustrup arrays can
only be specified with constants or using 'new' .
-- in strict forms of C all variable declarations in a
function must be finished before any actual code is run