Added "-Wno-pointer-to-int-cast" to avoid error.