@ssolie
Quote:
Be sure to turn on and fix any and all compiler warnings. At a minimum use -Wall -Wwrite-strings -Werror.
Done that, surely though wouldn't -Wall suffuices as the 'all' part looks to me as if it would include the other two ?
Do I need to recompile all files with these warnings enabled or just the troublesome one ?
I get no compiler warnings at all, but get a crash when running the code.
Using an object file compiled using the previous GCC works perfectly. No crashes at all, yet the code is exactly the same. Something in the new GCC is giving me an "alignment" crash type which the older version didn't.
It looks as if I may have to go back to using the older version of GCC.
Bill.