F5OEO / rpidatv

Digital Television Transmitter on Raspberry Pi
395 stars 77 forks source link

make problem #28

Closed b4zz4 closed 8 years ago

b4zz4 commented 8 years ago

Linux raspberrypi 4.1.19-v7+ #858 SMP Tue Mar 15 15:56:00 GMT 2016 armv7l GNU/Linux

cc -Wall -g -O2 -Wno-unused-variable -Wno-unused-function -o ../bin/rpidatv rpidatv.c rpigpio.c dvbsenco8.s fec100.c mailbox.c rpidma.c -lm -lrt -lpthread rpidatv.c: In function ‘main’: rpidatv.c:1285:15: warning: variable ‘TotalByteRead’ set but not used [-Wunused-but-set-variable] static int TotalByteRead; ^ rpidma.c: In function ‘InitDma’: rpidma.c:43:11: warning: assignment from incompatible pointer type virtbase = (uint32_t )mbox.virt_addr; ^ rpidma.c: In function ‘mem_phys_to_virt’: rpidma.c:65:18: warning: initialization makes integer from pointer without a cast uint32_t result=(uint8_t )mbox.virt_addr+offset;

ghost commented 8 years ago

These are warnings, so nothing bad, the program compiled correctly. But @F5OEO, why are there so many unused variables and pointer type incompatibility? Please fix them.

b4zz4 commented 8 years ago

El 12/08/16 a las 12:33, SopaXorzTaker escribió:

These are warnings, so nothing bad, the program compiled correctly. But @F5OEO https://github.com/F5OEO, why are there so many unused variables and pointer type incompatibility? Please fix them.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/F5OEO/rpidatv/issues/28#issuecomment-239479249, or mute the thread https://github.com/notifications/unsubscribe-auth/AAnS-SWbETWyZBj9mzvql8rm3xh6_UcVks5qfJJcgaJpZM4JhrQt.

Thanks, I thought that they were errors

http://maquinaslibres.tk http://4232.cf

F5OEO commented 8 years ago

Warnings are not errors, specially unused variables not removed because of debug.