[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: 1.5.0-alpha1 tarballs up for testing/signing

From: Peter Samuelson <peter_at_p12n.org>
Date: Fri, 22 Feb 2008 16:26:55 -0600

[Eric Gillespie]
> subversion/bindings/swig/ruby/svn_client.c: In function '_wrap_svn_client_ctx_t_notify_func_set':
> subversion/bindings/swig/ruby/svn_client.c:5262: warning: dereferencing type-punned pointer will break strict-aliasing rules
> subversion/bindings/swig/ruby/svn_client.c: In function '_wrap_svn_client_ctx_t_log_msg_func_set':
> subversion/bindings/swig/ruby/svn_client.c:5367: warning: dereferencing type-punned pointer will break strict-aliasing rules

As an aside: there's been lots of that in the ruby swig bindings for a
rather long time. Might I recommend adding -fno-strict-aliasing:

  svn cat svn://svn.debian.org/pkg-subversion/trunk/debian/patches/ruby-no-strict-aliasing

As I say in the patch header, any of the 1323 warnings might turn out
to be a real bug. -fno-strict-aliasing avoids that class of bugs.

> /bin/sh /home/epg/work/svn/subversion-1.5.0-alpha1/libtool --tag=CC --silent --mode=compile gcc -Wall -g -O2 -fPIC -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -g -Wall --std=c89 -g -pthread -D_LARGEFILE64_SOURCE -DNE_LFS -Wpointer-arith -Wwrite-strings -Wshadow -DSVN_DEBUG -DAP_DEBUG -I/home/epg/work/svn/subversion-1.5.0-alpha1/subversion/include -I/home/epg/work/svn/subversion-1.5.0-alpha1/subversion/bindings/swig -I/home/epg/work/svn/subversion-1.5.0-alpha1/subversion/bindings/swig/include -I/home/epg/work/svn/subversion-1.5.0-alpha1/subversion/bindings/swig/proxy -I/home/epg/work/svn/subversion-1.5.0-alpha1/subversion/bindings/swig/proxy -I/opt/httpd/include -I/opt/httpd/include -I. -I/usr/lib/ruby/1.8/i486-linux -I/home/epg/work/svn/subversion-1.5.0-alpha1/subversion/bindings/swig/ruby/libsvn_swig_ruby -I./subversion/include -I./subversion -I/usr/include/neon -I/opt/httpd/include -I/opt/httpd/include -o subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.lo -c /home/epg/w
ork/svn/subversion-1.5.0-alpha1/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c
> In file included from /home/epg/work/svn/subversion-1.5.0-alpha1/subversion/bindings/swig/proxy/swig_ruby_external_runtime.swg:713,
> from /home/epg/work/svn/subversion-1.5.0-alpha1/subversion/bindings/swig/ruby/libsvn_swig_ruby/swigutil_rb.c:8:
> /usr/lib/ruby/1.8/i486-linux/ruby.h:631: error: syntax error before 'VALUE'
> /usr/lib/ruby/1.8/i486-linux/ruby.h:648: error: syntax error before 'int'
> /usr/lib/ruby/1.8/i486-linux/ruby.h:665: error: syntax error before 'int'

No idea about that, though.

-- 
Peter Samuelson | org-tld!p12n!peter | http://p12n.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-02-22 23:27:10 CET

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.