#61 gcc 4.4.5 compile warnings (Debian 6)

open
nobody
None
5
2011-02-26
2011-02-26
Jari Aalto
No

FYI,

You might want to check there compiler warnings for following CVS commit. The following report is from CVS source code as of 2011-02-26 17:44 UTC' on Debian 6 (testing), Gcc 4.4.5-10 with CFLAGS "-Wall -pedantic" enabled (a good measure to check code QA).

Thanks for the software,
Jari

Compiling minidlna.c
In file included from minidlna.c:74:
upnpglobalvars.h:53:26: warning: C++ style comments are not allowed in ISO C90
upnpglobalvars.h:53:26: warning: (this will be reported only once per input file)
In file included from minidlna.c:76:
upnphttp.h:112:33: warning: C++ style comments are not allowed in ISO C90
upnphttp.h:112:33: warning: (this will be reported only once per input file)
In file included from minidlna.c:87:
scanner.h:55:33: warning: C++ style comments are not allowed in ISO C90
scanner.h:55:33: warning: (this will be reported only once per input file)
In file included from minidlna.c:89:
log.h:49:42: warning: ISO C does not permit named variadic macros
minidlna.c: In function 'getfriendlyname':
minidlna.c:284: warning: ISO C90 forbids mixed declarations and code
minidlna.c:286:16: warning: C++ style comments are not allowed in ISO C90
minidlna.c:286:16: warning: (this will be reported only once per input file)
minidlna.c:313:85: warning: ISO C99 requires rest arguments to be used
....
[rest in the attached file]

Discussion