Did you remove CMakecache.txt and re-run cmake (or if you are on 5.1 then re-running ./configure) and do a clean build? fpermissive should downgrade the errors to warnings. So, unless you have Werror set (which causes warnings to become errors again) it shouldn't fail.
@George,
Did you remove CMakecache.txt and re-run cmake (or if you are on 5.1 then re-running ./configure) and do a clean build? fpermissive should downgrade the errors to warnings. So, unless you have Werror set (which causes warnings to become errors again) it shouldn't fail.
Can you provide us logs similar to http:// buildlogs. pld-linux. org/index. php?dist= ac&arch= sparc&ok= 0&ns=&cnt= 50&off= 0&name= mysql&id= 6c312fca- 446a-4c20- a51c-fbdbc724e4 b5&action= text where it failed with fpermissive added to CXXFLAGS (don't add it to CFLAGS)?