Opened 9 years ago

Closed 9 years ago

#45 closed defect (invalid)

Make Error - fifo.c

Reported by: Mwesigwa Isaac Rwankoba Owned by:
Priority: major Milestone:
Component: contrib Version: tip
Keywords: Cc:
Blocked By: Blocking:


Am getting the following error while making freeDiameter on OpenSuSe?

Please assist to resolve

cd /Diameter/freeDiameter/build/libfdproto && /usr/bin/gcc -Dlibfdproto_EXPORTS -D_GNU_SOURCE -Wall -g -O0 -fPIC -I/Diameter/freeDiameter/include -I/Diameter/freeDiameter/build/include -o CMakeFiles/libfdproto.dir/fifo.c.o -c /Diameter/freeDiameter/libfdproto/fifo.c
/Diameter/freeDiameter/libfdproto/fifo.c: In function ‘fd_fifo_move’:
/Diameter/freeDiameter/libfdproto/fifo.c:223:3: warning: assignment of read-only location ‘"TODO"’ [enabled by default]
/Diameter/freeDiameter/libfdproto/fifo.c:223:3: error: incompatible types when assigning to type ‘char[5]’ from type ‘char *’
make[2]: * [libfdproto/CMakeFiles/libfdproto.dir/fifo.c.o] Error 1
make[2]: Leaving directory `/Diameter/freeDiameter/build'
* [libfdproto/CMakeFiles/libfdproto.dir/all] Error 2
make[1]: Leaving directory `/Diameter/freeDiameter/build'
make: * [all] Error 2

Change History (2)

comment:1 Changed 9 years ago by Sebastien Decugis

It looks like you have defined the ERRORS_ON_TODO in your CMake configuration. Just turn it OFF and you should be able to compile with no problem. This is only for developers who want to spot easily where the remaining TODO are located...

comment:2 Changed 9 years ago by Sebastien Decugis

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.