Stephen Warren wrote:
 > * It certainly won't remove the warning about strdup not being prototyped
> (that's due to -ansi), which is a warning for me, but I believe an error
> on gcc-4.3 (hence why I submitted the patch for libconcord to add a bunch
> of headers to help packaging libconcord on Fedora 9 which uses gcc-4.3)

I really don't mind that warning.

> * I think that solves the varargs macro problem for me (converting it to a
> warning). I'm not 100% sure though; I'll have to check tonight. I have no
> idea about gcc-4.3 in this case yet; I need to set up a Fedora 9 machine
> (or chroot) to test with.

I can't reproduce this in with gcc 4.3...

[EMAIL PROTECTED] concordance]$ gcc --version
gcc (Debian 4.3.0-2) 4.3.1 20080321 (prerelease)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[EMAIL PROTECTED] concordance]$ make
make  all-am
make[1]: Entering directory `/home/phil/build/cvs/concordance/concordance'
gcc -DHAVE_CONFIG_H -I.    -Wall -ansi -pedantic-errors -g -O2 -MT
concordance-concordance.o -MD -MP -MF .deps/concordance-concordance.Tpo -c
-o concordance-concordance.o `test -f 'concordance.c' || echo './'`concordance.c
concordance.c: In function 'parse_options':
concordance.c:589: warning: implicit declaration of function 'strdup'
mv -f .deps/concordance-concordance.Tpo .deps/concordance-concordance.Po
/bin/sh ./libtool --tag=CC   --mode=link gcc -Wall -ansi -pedantic-errors -g
-O2 -lconcord  -o concordance concordance-concordance.o
mkdir .libs
gcc -Wall -ansi -pedantic-errors -g -O2 -o concordance
concordance-concordance.o  /usr/lib/libconcord.so
make[1]: Leaving directory `/home/phil/build/cvs/concordance/concordance'
[EMAIL PROTECTED] concordance]$


Or even 4.4:

[EMAIL PROTECTED] concordance]$ make CC=/usr/lib/gcc-snapshot/bin/gcc
make  all-am
make[1]: Entering directory `/home/phil/build/cvs/concordance/concordance'
/usr/lib/gcc-snapshot/bin/gcc -DHAVE_CONFIG_H -I.    -Wall -ansi
-pedantic-errors -g -O2 -MT concordance-concordance.o -MD -MP -MF
.deps/concordance-concordance.Tpo -c -o concordance-concordance.o `test -f
'concordance.c' || echo './'`concordance.c
concordance.c: In function 'parse_options':
concordance.c:589: warning: implicit declaration of function 'strdup'
mv -f .deps/concordance-concordance.Tpo .deps/concordance-concordance.Po
/bin/sh ./libtool --tag=CC   --mode=link /usr/lib/gcc-snapshot/bin/gcc -Wall
-ansi -pedantic-errors -g -O2 -lconcord  -o concordance
concordance-concordance.o
mkdir .libs
/usr/lib/gcc-snapshot/bin/gcc -Wall -ansi -pedantic-errors -g -O2 -o
concordance concordance-concordance.o  /usr/lib/libconcord.so
make[1]: Leaving directory `/home/phil/build/cvs/concordance/concordance'
[EMAIL PROTECTED] concordance]$ /usr/lib/gcc-snapshot/bin/gcc --version
gcc (Debian 20080323-1) 4.4.0 20080323 (experimental) [trunk revision 133461]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


-- 
Phil Dibowitz                             [EMAIL PROTECTED]
Open Source software and tech docs        Insanity Palace of Metallica
http://www.phildev.net/                   http://www.ipom.com/

"Never write it in C if you can do it in 'awk';
 Never do it in 'awk' if 'sed' can handle it;
 Never use 'sed' when 'tr' can do the job;
 Never invoke 'tr' when 'cat' is sufficient;
 Avoid using 'cat' whenever possible" -- Taylor's Laws of Programming


Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to