[postgis-devel] Memory alignment issues (was: crash(somehow)resolved)

strk at refractions.net strk at refractions.net
Fri Nov 18 01:34:54 PST 2005


On Thu, Nov 17, 2005 at 09:33:04PM -0700, Michael Fuhr wrote:
> On Thu, Nov 17, 2005 at 04:56:55PM -0700, Michael Fuhr wrote:
> > On Thu, Nov 17, 2005 at 11:51:36PM +0100, strk at refractions.net wrote:
> > > Michael, if you happen to run gcc, you might try adding
> > > the -Wcast-align flag. I haven't had an option to test
> > > it as on my architecture all cast are alignment-safe,
> > > but sounds interesting.
> > 
> > I'll add that flag on the sparc when I get a chance
> 
> I added -Wcast-align to a build of the latest HEAD and got 382 "cast
> increases required alignment" warnings (see attached file).  

Uhm... it seems -Wcast-align is too pedantic, I expect similar
warnings would be raised by postgresql build, can you confirm this ?

--srtk;



More information about the postgis-devel mailing list