Hi all, I found a workaround for this problem. I do not know whether the reason is a bug in gcc or whatever.
trying to get to the bottom of the problem I decided to compile the program from source.
I added a diagnostic message in discover_do and it works :-) when I remove the line again and recompile the bug is back 8-)
As I said, maybe a bug in gcc.
so here's the diff:
diff -u app.c app.c-franco --- app.c 2009-02-18 20:44:20.000000000 +0100 +++ app.c-franco 2009-11-30 10:15:01.892637432 +0100 @@ -437,6 +437,8 @@
list = irda_discover_device(-1);
+ printf(".\n"); + if(list && list->len) { if(strncmp(discoverer_name, list->dev[0].info,
Hi all,
I found a workaround for this problem.
I do not know whether the reason is a bug in gcc or whatever.
trying to get to the bottom of the problem I decided to compile the program from source.
I added a diagnostic message in discover_do and it works :-)
when I remove the line again and recompile the bug is back 8-)
As I said, maybe a bug in gcc.
so here's the diff:
diff -u app.c app.c-franco
--- app.c 2009-02-18 20:44:20.000000000 +0100
+++ app.c-franco 2009-11-30 10:15:01.892637432 +0100
@@ -437,6 +437,8 @@
list = irda_discover_ device( -1);
+ printf(".\n"); discoverer_ name, list->dev[0].info,
+
if(list && list->len)
{
if(strncmp(