On Wed, 23 Mar 2011 at 15:05:51 +0100, Tamas TEVESZ wrote:
> On Wed, 23 Mar 2011, Carlos R. Mafra wrote:
> 
>  > I don't have gcc46 here on openSUSE 11.4 but I got this with gcc45 and
>  > your patch applied:
> 
> d'oh, cocked up the macros in there. what happens if you apply this 
> atop of the previous one (the diff is two underscores)?

The same: 

  CC     wmmenugen.o
In file included from wmmenugen.c:38:0:
wmmenugen.h:60:93: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.h:60:93: warning: its scope is only this definition or declaration, 
which is probably not what you want
wmmenugen.c:42:89: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.c:47:97: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.c: In function ‘main’:
wmmenugen.c:95:22: warning: assignment from incompatible pointer type
wmmenugen.c:108:5: warning: implicit declaration of function ‘nftw’
wmmenugen.c:108:37: error: ‘FTW_PHYS’ undeclared (first use in this function)
wmmenugen.c:108:37: note: each undeclared identifier is reported only once for 
each function it appears in
wmmenugen.c: At top level:
wmmenugen.c:142:89: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.c:142:12: error: conflicting types for ‘dirParseFunc’
wmmenugen.c:42:12: note: previous declaration of ‘dirParseFunc’ was here
wmmenugen.c: In function ‘dirParseFunc’:
wmmenugen.c:149:6: warning: passing argument 4 of ‘validateFilename’ from 
incompatible pointer type
wmmenugen.c:149:6: note: expected ‘struct FTW *’ but argument is of type 
‘struct FTW *’
wmmenugen.c: At top level:
wmmenugen.c:42:12: warning: ‘dirParseFunc’ used but never defined
wmmenugen.c:142:12: warning: ‘dirParseFunc’ defined but not used
make[3]: *** [wmmenugen.o] Fehler 1  CC     wmmenugen.o
In file included from wmmenugen.c:38:0:
wmmenugen.h:60:93: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.h:60:93: warning: its scope is only this definition or declaration, 
which is probably not what you want
wmmenugen.c:42:89: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.c:47:97: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.c: In function ‘main’:
wmmenugen.c:95:22: warning: assignment from incompatible pointer type
wmmenugen.c:108:5: warning: implicit declaration of function ‘nftw’
wmmenugen.c:108:37: error: ‘FTW_PHYS’ undeclared (first use in this function)
wmmenugen.c:108:37: note: each undeclared identifier is reported only once for 
each function it appears in
wmmenugen.c: At top level:
wmmenugen.c:142:89: warning: ‘struct FTW’ declared inside parameter list
wmmenugen.c:142:12: error: conflicting types for ‘dirParseFunc’
wmmenugen.c:42:12: note: previous declaration of ‘dirParseFunc’ was here
wmmenugen.c: In function ‘dirParseFunc’:
wmmenugen.c:149:6: warning: passing argument 4 of ‘validateFilename’ from 
incompatible pointer type
wmmenugen.c:149:6: note: expected ‘struct FTW *’ but argument is of type 
‘struct FTW *’
wmmenugen.c: At top level:
wmmenugen.c:42:12: warning: ‘dirParseFunc’ used but never defined
wmmenugen.c:142:12: warning: ‘dirParseFunc’ defined but not used
make[3]: *** [wmmenugen.o] Fehler 1


-- 
To unsubscribe, send mail to [email protected].

Reply via email to