Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4899] Arhh!!!!

Date2004-07-08 22:04
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4899] Arhh!!!!
I understand.  When the first constant is created the constant pool is
created, and the first value in the pool is the magic SSTRCOD.  If
there are no constants, then it is not created.  So the tests for a
string constant fails.

  Nasty!  Too late tonight to fix; maybe tomorrow morning

==John ffitch

Date2004-07-09 10:32
Fromjpff@codemist.co.uk
Subject[CSOUND-DEV:4901] Re: Arhh!!!!
I have fixed the string error matt noted.  Also in csound4 on the CVS
==John ffitch

Date2004-07-09 15:07
Fromramsdell@mitre.org (John D. Ramsdell)
Subject[CSOUND-DEV:4904] Csound 4 API graphics bug fixed
After releasing csound-4.23f12gbs.0, I discovered a bug in libcsound
that manifests itself on Cygwin when Csound is compiled so that it
does not use Cygwin libraries--in other words, when configured with:

    $ ./configure --enable-cygwin=no

This is the configuration used to produce a DLL.  With this
configuration, FLTK and X11 are not found, so the system is built with
WINDOWS not defined.  This is good, because, when FLTK is detected,
libstdc++ and other libraries are added to link command, and because
of Cygwin problems with these libraries, an attempt to build a csound
DLL fails.

The trouble with the DLL produced when WINDOWS is not defined occurs
in the graphics routine available via the Csound API.  They are
disabled even when one is building libcsound.

I changed csound/windows.c so that graphics support is included when

#if defined WINDOWS || defined BUILDING_LIBCSOUND

instead of 

#ifdef WINDOWS

The fix is in the repository, but has not been released.  If anyone
using the Cygwin Csound DLL needs graphics I'll release this fix, and
also if the string error Matt noted is deemed important.

jpff@codemist.co.uk writes:

> I have fixed the string error matt noted.  Also in csound4 on the CVS
> ==John ffitch

I fixed your change log entry for this, so please cvs up before you
make more changes.

John