Re: [gccsdk] OS_GBPB heeby jeebies

2015-09-22 Thread Gavin Wraith
Ralph

> This is the problem.

You are a genius. Thanks. That solved the problem.
I guess I had not properly appreciated what 'const'
meant.

--
Gavin Wraith (ga...@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/

___
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK


Re: [gccsdk] OS_GBPB heeby jeebies

2015-09-22 Thread Ralph Corderoy
Hi Gavin,

> You are a genius. Thanks.

I'm often told I "full of it".  ;-)
But it was not I that pointed this out, but Nick Burrett.
http://www.riscos.info/pipermail/gcc/2015-September/006473.html

> I guess I had not properly appreciated what 'const' meant.

I recommend Chris Lattner's three posts on what a C compiler can assume;
I think you may be surprised.  It starts with
http://blog.llvm.org/2011/05/what-every-c-programmer-should-know.html

Cheers, Ralph.

___
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK