This patch worked well for me in FC11, thanks Jan.

Still got some other errors which hinders compilation though:
cc1: warnings being treated as errors
wavelet_gain_curve.c: In function 'print_subband_quants':
wavelet_gain_curve.c:128: error: 'c' may be used uninitialized in this
function


Christian 

On Wed, 2009-06-10 at 15:53 +0100, Jan Schmidt wrote:
> Hi all,
> 
> I made the attached patch. There might be a cleaner way, but this works
> for me.
> 
> - Jan
> 
> On Wed, 2009-05-27 at 22:18 +0300, [email protected] wrote:
> > The errors are probably due to the stricter aliasing requirements in GCC
> > 4.4 :
> > http://gcc.gnu.org/gcc-4.4/porting_to.html
> > 
> > 
> > 
> > The error :
> > 
> > cc1: warnings being treated as errors
> > schromotionest.c: In function ‘schro_encoder_bigblock_estimation’:
> > schromotionest.c:572: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:567: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:566: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:565: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:564: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:563: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:562: note: initialized from here
> > schromotionest.c:407: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:407: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:407: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:524: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:525: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:541: error: dereferencing pointer ‘mvdc’ does break
> > strict-aliasing rules
> > schromotionest.c:523: note: initialized from here
> > 
> > ------------------------------------------------------------------------------
> > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
> > is a gathering of tech-side developers & brand creativity professionals. 
> > Meet
> > the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
> > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
> > _______________________________________________
> > Schrodinger-devel mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/schrodinger-devel
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables unlimited
> royalty-free distribution of the report engine for externally facing 
> server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________ Schrodinger-devel mailing 
> list [email protected] 
> https://lists.sourceforge.net/lists/listinfo/schrodinger-devel


------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Schrodinger-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/schrodinger-devel

Reply via email to