Older GCC on the Mac warns for use of long double, so we use -Wno-long-double. Newer GCC on the Mac does not have this flag and gives an error. We now check for the flag before using it. See bug #7357.