Hallo , ich versuche in Codeblock 10.5 mit dem avr-gcc 4.3.2 die RFM12lib (http://www.das-labor.org/wiki/RFM12_library) zu compilieren und bekomme bei folgender Zeile :
1 | |
2 | |
3 | |
4 | |
5 | |
6 | |
7 | |
8 | |
9 | |
10 | |
11 | |
12 | |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | |
21 | |
22 | |
23 | |
24 | |
25 | |
26 | |
27 | |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | |
34 | |
35 | |
36 | |
37 | |
38 | |
39 | |
40 | |
41 | |
42 | |
43 | |
44 | |
45 | |
diesen Fehler : Zeile 59 und 79 sind jeweils die Function Header. Hat Jemand eine Idee ? Ich habe es natürlich auch schon ohne : _attribute_ ((noinline)) probiert ohne Erfolg. ..\Utils\RFM12lib\include\rfm12_spi.c|59|error: expected ')' before 'd'| ..\Utils\RFM12lib\include\rfm12_spi.c|79|warning: data definition has no type or storage class| ..\Utils\RFM12lib\include\rfm12_spi.c|79|warning: type defaults to 'int' in declaration of 'uint16_t'| ..\Utils\RFM12lib\include\rfm12_spi.c|79|warning: 'noinline' attribute ignored| ..\Utils\RFM12lib\include\rfm12_spi.c|79|error: expected ',' or ';' before 'rfm12_read'|