"bool" redefined warning in my build, but what part of the toolchain is causing it?

View: New views
1 Messages — Rating Filter:   Alert me  

"bool" redefined warning in my build, but what part of the toolchain is causing it?

by Fred Moyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm guessing this is an issue with the OS X toolchain since I'm not
seeing it on Linux, but any confirmation would be helpful.  It's not
like this output is easy on the eyes to parse :)



cp FilterRec.bs ../../../blib/arch/auto/Apache2/FilterRec/FilterRec.bs
chmod 644 ../../../blib/arch/auto/Apache2/FilterRec/FilterRec.bs
cp FilterRec.pm ../../../blib/lib/Apache2/FilterRec.pm
In file included from
/Users/phred/dev/perl/lib/5.8.8/darwin-2level/CORE/perl.h:2120,
                  from
/Users/phred/dev/svn/modperl/mod_perl-2.0/src/modules/perl/modperl_perl_includes.h:65,
                  from
/Users/phred/dev/svn/modperl/mod_perl-2.0/src/modules/perl/modperl_common_includes.h:24,
                  from
/Users/phred/dev/svn/modperl/mod_perl-2.0/src/modules/perl/mod_perl.h:21,
                  from FilterRec.xs:18:
/Users/phred/dev/perl/lib/5.8.8/darwin-2level/CORE/handy.h:85:1:


warning: "bool" redefined



In file included from /usr/include/mach-o/dyld.h:29,
                  from
/Users/phred/dev/sl/httpd2/include/apr_portable.h:166,
                  from
/Users/phred/dev/sl/httpd2/include/http_protocol.h:31,
                  from
/Users/phred/dev/svn/modperl/mod_perl-2.0/src/modules/perl/modperl_apache_includes.h:30,
                  from
/Users/phred/dev/svn/modperl/mod_perl-2.0/src/modules/perl/mod_perl.h:20,
                  from FilterRec.xs:18:
/usr/lib/gcc/i686-apple-darwin9/4.0.1/include/stdbool.h:36:1: warning:
this is the location of the previous definition
rm -f ../../../blib/arch/auto/Apache2/FilterRec/FilterRec.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup
-L/usr/local/lib -L/opt/local/lib FilterRec.o -L/usr/local/lib
-L/opt/local/lib -o
../../../blib/arch/auto/Apache2/FilterRec/FilterRec.bundle     \
                 \

chmod 755 ../../../blib/arch/auto/Apache2/FilterRec/FilterRec.bundle
/Users/phred/dev/perl/bin/perl
/Users/phred/dev/perl/lib/5.8.8/ExtUtils/xsubpp  -typemap
/Users/phred/dev/per

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@...
For additional commands, e-mail: dev-help@...

LightInTheBox - Buy quality products at wholesale price!