Re: [LAD] LADI user question

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Linux Audio Developers <linux-audio-dev@...>
Date: Friday, November 27, 2009 - 7:39 am

--==-=-=
Content-Type: multipart/mixed; boundary="=-=-="

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Ralf Mardorf writes:

> Hi Nedko :)

Hi Ralf

> today I tried to compile LADI, but it failed for openSuse 11.2 x86_64

[snip configuring and compiling ladish stuff]

> [ 4/41] cc: jack_proxy.c -> build/default/jack_proxy_1.o

=D0=B2=D0=82=E2=84=A2:
used uninitialized in this function

This is an problem that I only recently got aware of. I saw it when I
switched to gentoo and shortly after, I got reports from users. It seems
to happen only for some gcc or something. You reported that it builds
fine on 64 Studio 3.0-beta3 and someone else reported that it builds
fine on Debian "lenny". Those warnings (treated as errors) are fixed in
git and I've made a patch (attached) against ladish-0.1 too.

Next preview release of ladish will not treat warnings as errors.

[snip configuring and compiling flowcanvas with warnings]

It looks that flowcanvas is incuding headers in wrong order or
something. These warnings can be ignored without any harm and as long as
it compiles and flowcanvas is maintained externally, there is no urge
for me to fix them.

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment; filename=fixwarnings.patch
Content-Transfer-Encoding: quoted-printable

diff -ru ladish-0.1.orig/daemon/studio.c ladish-0.1/daemon/studio.c
=2D-- ladish-0.1.orig/daemon/studio.c 2009-08-31 04:17:50.000000000 +0300
+++ ladish-0.1/daemon/studio.c 2009-11-20 01:59:08.000000000 +0200
@@ -872,7 +872,7 @@
char * p;
const char * src;
char * filename_ptr;
=2D char * backup_filename_ptr;
+ char * backup_filename_ptr =3D NULL;
=20
len_dir =3D strlen(g_studios_dir);
=20
Only in ladish-0.1/daemon: studio.c~
diff -ru ladish-0.1.orig/jack_proxy.c ladish-0.1/jack_proxy.c
=2D-- ladish-0.1.orig/jack_proxy.c 2009-08-27 23:01:58.000000000 +0300
+++ ladish-0.1/jack_proxy.c 2009-11-20 01:58:36.000000000 +0200
@@ -585,7 +585,7 @@
value_ptr =3D &boolean;
break;
default:
=2D lash_error("Unknown jack parameter type %i", (int)type);
+ lash_error("Unknown jack parameter type %i", (int)parameter_ptr->type);
return false;
}
=20

--=-=-=
Content-Transfer-Encoding: quoted-printable

=2D-=20
Nedko Arnaudov

--=-=-=--

--==-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)

iEYEARECAAYFAksPglUACgkQ6bb4v94XFrB2mQCfTaHwVZtb45bZZjvKNVF7/hWx
66MAn22CUNa8BptFeVtw4sYWQG2sjCCW
=pI/x
-----END PGP SIGNATURE-----
--==-=-=--

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] LADI user question, Ralf Mardorf, (Thu Nov 26, 8:05 pm)
Re: [LAD] LADI user question, Nedko Arnaudov, (Fri Nov 27, 7:39 am)