[ #1134 ] doesn't compile with recent gcc
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Ircp Tray | Status tracked in Trunk | |||||
Trunk |
Fix Released
|
High
|
Daniele Napolitano |
Bug Description
[IMPORTED] http://
None of the 0.7.x versions of ircp-tray compile with gcc3.3, gcc3.4, gcc4.1, gcc4.2 or gcc-4.3 (haven't tried the 0.6 branch and older gcc; and nightly CVS tarball is generated badly - filenames have an ,v appended to their name).
Error when compiling 0.7.2.1 with gcc-4.3:
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I/usr/
then mv -f ".deps/app.Tpo" ".deps/app.Po"; else rm -f ".deps/app.Tpo"; exit 1; fi
app.c:138: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
app.c: In function ‘trayicon_init’:
app.c:241: error: ‘TrayToolTips’ undeclared (first use in this function)
app.c:241: error: (Each undeclared identifier is reported only once
app.c:241: error: for each function it appears in.)
app.c: In function ‘trayicon_
app.c:251: warning: incompatible implicit declaration of built-in function ‘strlen’
app.c: In function ‘config_
app.c:367: warning: incompatible implicit declaration of built-in function ‘malloc’
app.c:367: warning: incompatible implicit declaration of built-in function ‘strlen’
app.c:370: warning: assignment from incompatible pointer type
app.c:372: warning: passing argument 1 of ‘g_key_
app.c:374: warning: passing argument 1 of ‘g_key_
app.c:375: warning: passing argument 1 of ‘g_key_file_free’ from incompatible pointer type
app.c:376: warning: incompatible implicit declaration of built-in function ‘free’
app.c: In function ‘config_
app.c:389: warning: incompatible implicit declaration of built-in function ‘malloc’
app.c:389: warning: incompatible implicit declaration of built-in function ‘strlen’
app.c:392: warning: assignment from incompatible pointer type
app.c:394: warning: passing argument 1 of ‘g_key_
app.c:395: warning: passing argument 1 of ‘g_key_
app.c:396: warning: passing argument 1 of ‘g_key_
app.c:402: warning: incompatible implicit declaration of built-in function ‘free’
app.c:404: warning: passing argument 1 of ‘g_key_file_free’ from incompatible pointer type
app.c: In function ‘log_file’:
app.c:419: warning: incompatible implicit declaration of built-in function ‘malloc’
app.c:419: warning: incompatible implicit declaration of built-in function ‘strlen’
app.c:426: warning: incompatible implicit declaration of built-in function ‘free’
app.c: In function ‘discoverer_do’:
app.c:452: warning: incompatible implicit declaration of built-in function ‘strncpy’
app.c:458: error: ‘TrayToolTips’ undeclared (first use in this function)
app.c:463: warning: incompatible implicit declaration of built-in function ‘strlen’
app.c:476: warning: incompatible implicit declaration of built-in function ‘free’
app.c: In function ‘discoverer_
app.c:499: warning: incompatible implicit declaration of built-in function ‘strlen’
app.c: In function ‘show_log_file’:
app.c:650: warning: incompatible implicit declaration of built-in function ‘malloc’
app.c:650: warning: incompatible implicit declaration of built-in function ‘strlen’
app.c:657: warning: incompatible implicit declaration of built-in function ‘strcpy’
app.c:666: warning: incompatible implicit declaration of built-in function ‘free’
make[2]: *** [app.o] Error 1
description: | updated |
Changed in ircp-tray: | |
assignee: | nobody → dnax88 |
importance: | Undecided → High |
status: | New → Fix Committed |