|
Back
Midas
Rome
Roody
Rootana
|
Midas DAQ System |
Not logged in |
|
|
26 May 2014, Clemens Sauerzopf, Forum, Running a frontend on Arduino Yun
|
26 May 2014, Konstantin Olchanski, Forum, Running a frontend on Arduino Yun
|
27 May 2014, Clemens Sauerzopf, Forum, Running a frontend on Arduino Yun
|
27 May 2014, Konstantin Olchanski, Forum, Running a frontend on Arduino Yun
|
28 May 2014, Clemens Sauerzopf, Forum, Running a frontend on Arduino Yun
|
24 Oct 2014, Clemens Sauerzopf, Forum, Running a frontend on Arduino Yun
|
24 Oct 2014, Stefan Ritt, Forum, Running a frontend on Arduino Yun
|
24 Oct 2014, Konstantin Olchanski, Forum, Running a frontend on Arduino Yun
|
02 Nov 2014, Stefan Ritt, Forum, Running a frontend on Arduino Yun
|
|
Message ID: 1036
Entry time: 02 Nov 2014
In reply to: 1035
|
Author: |
Stefan Ritt |
Topic: |
Forum |
Subject: |
Running a frontend on Arduino Yun |
|
|
> With the correct definition, you should get a compile error (type mismatch).
>
> With the wrong current definition, you should have gotten a warning about "use of uninitialized variable 'data'", but some compilers with some settings do not generate this warning.
I redefined the definition of the bk_create function to contain a void **pdate pointer, but that did not really help. Now I get a compiler error:
"Incompatible pointer type passing 'DWORD **' to parameter of type 'void **', so I need an explicit cast each time
bk_create(... (void **)&pdata);
But I think this is better than what we had before so I leave it. Please note that all front-ends using bk_create need to be modified accordingly to suppress this warning.
/Stefan |