Shriramana Sharma wrote: > In the LGPL ephcom library (53 KB) available from: > http://ephemeris.com/software.html do I get an error when using make or > trying to compile ephcom.c directly: > > gcc -g -O2 -c -o ephcom.o ephcom.c > ephcom.c: In function -Fʽephcom_writebinary_blockʼ:-A > ephcom.c:1418: error: conflicting types for -Fʽephcom_outdoubleʼ-A > ephcom.c:1266: error: previous declaration of -Fʽephcom_outdoubleʼ was here-A > ephcom.c: At top level: > ephcom.c:1767: warning: -Fʽephcom_chebyʼ declared inline after being called-A > ephcom.c:1767: warning: previous implicit declaration of -Fʽephcom_chebyʼ was -A > here > make: *** [ephcom.o] Error 1 > > So what shall I do to safely avert this error? (I don't want to mess up things > so I ask the experts here.) Change line 1266 from: double ephcom_outdouble(FILE *, double); to: int ephcom_outdouble(FILE *, double); And report this issue to bugs@xxxxxxxxxxxxxx The return value is never used anyhow. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> - : send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html