Rockbox

Tasklist

FS#12764 - bdf2bmp fails to compile

Attached to Project: Rockbox
Opened by Jonas Häggqvist (rasher) - Sunday, 14 October 2012, 00:22 GMT
Last edited by Bertrik Sikken (bertrik) - Sunday, 14 October 2012, 10:29 GMT
Task Type Bugs
Category Utils
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Low
Reported Version Release 3.10
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

$ make bdf2bmp
cc -O -g -W -Wall -Wshadow -pedantic -g bdf2bmp.c -o bdf2bmp
bdf2bmp.c:100:5: error: conflicting types for ‘getline’
In file included from bdf2bmp.c:49:0:
/usr/include/stdio.h:671:20: note: previous declaration of ‘getline’ was here
bdf2bmp.c:457:5: error: conflicting types for ‘getline’
In file included from bdf2bmp.c:49:0:
/usr/include/stdio.h:671:20: note: previous declaration of ‘getline’ was here

Renaming the function getline fixes this.
This task depends upon

Closed by  Bertrik Sikken (bertrik)
Sunday, 14 October 2012, 10:29 GMT
Reason for closing:  Accepted

Loading...