Hi,
Compiling SVN 3689 on my Pi, Fedora 25, these warnings:

[ 47%] Building C object src/CMakeFiles/horus_demod.dir/horus_api.c.o
/data/home/alanb/Applications/freedv/3689codec2dev/codec2-dev/src/horus_api.c: 
In function ‘extract_horus_binary’:
/data/home/alanb/Applications/freedv/3689codec2dev/codec2-
dev/src/horus_api.c:311:5: warning: dereferencing type-punned pointer will 
break strict-aliasing rules [-Wstrict-aliasing]
     crc_tx = *(uint16_t*)&payload_bytes[HORUS_BINARY_NUM_PAYLOAD_BYTES-2];
     ^
============== and ===

[ 82%] Building C object unittest/CMakeFiles/tfmfsk.dir/tfmfsk.c.o
/data/home/alanb/Applications/freedv/3689codec2dev/codec2-
dev/unittest/tfmfsk.c:31:0: warning: "MODEMPROBE_ENABLE" redefined
 #define MODEMPROBE_ENABLE
 ^
<command-line>:0:0: note: this is the location of the previous definition

============ and ============
several "printf" lines for sizeof(...
3689codec2dev/codec2-dev/unittest/fdmdv_mem.c:50:12: warning: format ‘%ld’ 
expects argument of type ‘long int'



On Thu, 14 Jun 2018 20:28:26 -0500, Steve wrote
> I tried to save memory by storing the pilots as char, and then
> converting them to float when it came time to use them.
> 
> I'll stop trying to be smarter than the compiler! ha.
> 
> On Thu, Jun 14, 2018 at 7:47 PM David Rowe <da...@rowetel.com> wrote:
> >
> > At the start of every frame are some pilot symbols, for some reason the
> > Rpi didn't like them being stored as chars.
> >
> 
> ----------------------------------------------------------------------------
--
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Freetel-codec2 mailing list
> Freetel-codec2@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freetel-codec2


Alan

Evil flourishes when good men do nothing.
Consider the Christmas child.
---------------------------------------------------------------------------
Alan Beard               Unix Support Technician from 1984 to today
70 Wedmore Rd.           Sun Solaris, AIX, HP/UX, Linux, SCO, MIPS
Emu Heights N.S.W. 2750  Routers, terminal servers, printers, terminals etc..
+61 2 47353013 (h)       Support Programming, shell scripting, "C", assembler
0414 353013 (mobile)     After uni, electronics tech


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Freetel-codec2 mailing list
Freetel-codec2@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to